Annotation Interface FirstRequestQueryParam
Get the first value of the associated query key. The value passed to the associated parameter is
String. This
annotation can be combined with @Optional to mark the parameter as optional.- Since:
- 4.0
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
Get the key of the first query parameter to retrieve.- Returns:
- the key of the first query parameter to retrieve.
-
-
-
def
Gets the default value to inject if no query parameter with the specified key is given and the parameter marked as optional. This defaults to__NULL__which will inject null for the parameter.- Returns:
- the default value to inject if this query parameter is not present.
- Default:
- "__NULL__"
-