Class JaxRsResource


  • @Path("/jaxrs")
    public class JaxRsResource
    extends java.lang.Object
    JAX-RS resource.
    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • JaxRsResource

        public JaxRsResource()
    • Method Detail

      • get

        @GET
        public java.lang.String get()
      • path

        @GET
        @Path("/path/{param}")
        public ResponseModel path​(@PathParam("param")
                                  java.lang.String param)
      • post

        @POST
        @Path("/update")
        @Consumes("application/json")
        @Produces("application/json")
        public ResponseModel post​(RequestModel request)