Class RESTTestServiceResource


  • @Path("/test")
    @Consumes("application/json")
    @Produces({"application/json","application/xml"})
    public class RESTTestServiceResource
    extends java.lang.Object
    Very very basic implementation of a REST resource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getResource()
      RESTTestService#getResource()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RESTTestServiceResource

        public RESTTestServiceResource()
    • Method Detail

      • getResource

        @GET
        @Produces("text/plain")
        public javax.ws.rs.core.Response getResource()
        RESTTestService#getResource()