Class Sample


  • @Path("/")
    public class Sample
    extends Object
    • Constructor Detail

      • Sample

        public Sample()
    • Method Detail

      • greet

        @GET
        @Produces("text/plain")
        public javax.ws.rs.core.Response greet​(@DefaultValue("World") @QueryParam("greeting")
                                               String msg)
      • forward

        @GET
        @Path("/forward")
        public javax.ws.rs.core.Response forward​(@Context
                                                 javax.ws.rs.core.UriInfo uriInfo,
                                                 @QueryParam("q")
                                                 String queryParam,
                                                 @Context
                                                 javax.ws.rs.core.HttpHeaders headers)