|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={PARAMETER,METHOD})
@Retention(value=RUNTIME)
public @interface QueryParamUsed to map a REST method parameter to a query parameter on the HTTP request
See the following example:
..@GET@Path("test") public String testOperation(@QueryParam("param1") String value) { return null; }
The parameter value will be bound to the query "param1" parameter sent to the server.
| Required Element Summary | |
|---|---|
String |
value
Defines the name of the HTTP query parameter whose value will be used to initialize the value of the annotated method argument, class field or bean property. |
| Element Detail |
|---|
public abstract String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||