Package io.micronaut.http.annotation
Annotation Interface QueryValue
@Documented
@Retention(RUNTIME)
@Target({FIELD,PARAMETER,ANNOTATION_TYPE})
@Bindable
@Inherited
public @interface QueryValue
Indicates that the parameter to a method should be bound from a value in the query string or path of the URI.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Optional Element Summary
-
Element Details
-
value
- Returns:
- The name of the parameter
- Default:
- ""
-
defaultValue
- Returns:
- The default value
- See Also:
- Default:
- ""
-