Class HelloWorldResource
java.lang.Object
org.glassfish.jersey.examples.helloworld.netty.HelloWorldResource
- Author:
- Jakub Podlesak
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLICHED_MESSAGE
- See Also:
-
-
Constructor Details
-
HelloWorldResource
public HelloWorldResource()
-
-
Method Details
-
getHello
-
getQueryParameter
@GET @Path("query1") @Produces("text/plain") public String getQueryParameter(@DefaultValue("error1") @QueryParam("test1") String test1, @DefaultValue("error2") @QueryParam("test2") String test2) -
postQueryParameter
@POST @Path("query2") @Consumes("text/plain") @Produces("text/plain") public String postQueryParameter(@DefaultValue("error1") @QueryParam("test1") String test1, @DefaultValue("error2") @QueryParam("test2") String test2, String entity)
-