| Modifier and Type | Field and Description |
|---|---|
static String |
CLICHED_MESSAGE |
| Constructor and Description |
|---|
HelloWorldResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHello() |
String |
getQueryParameter(String test1,
String test2) |
String |
postQueryParameter(String test1,
String test2,
String entity) |
public static final String CLICHED_MESSAGE
@GET @Path(value="query1") @Produces(value="text/plain") public String getQueryParameter(@DefaultValue(value="error1") @QueryParam(value="test1") String test1, @DefaultValue(value="error2") @QueryParam(value="test2") String test2)
@POST @Path(value="query2") @Consumes(value="text/plain") @Produces(value="text/plain") public String postQueryParameter(@DefaultValue(value="error1") @QueryParam(value="test1") String test1, @DefaultValue(value="error2") @QueryParam(value="test2") String test2, String entity)
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.