Package eu.cloudhopper.mc.annotations
Annotation Interface QueryParam
Binds a method parameter to a query string parameter. The value is converted
from its string form to the parameter's declared type.
Usage:
public String search(@QueryParam("q") String query) { ... }
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe name of the query parameter to bind. When left blank, the method parameter's own name is used.- Returns:
- the query parameter name, or
""to use the parameter name
- Default:
""
-