Annotation Interface UTF8QueryParam
Annotation used for the query parameter, that requires to be parsed with UTF8 charset
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe default value to use as a fallback when the request parameter value is not provided or empty.boolean
Whether the parameter is required.The name of the request parameter to bind to.
-
Element Details
-
value
String valueThe name of the request parameter to bind to.- Returns:
- the parameter name.
- Default:
- ""
-
required
boolean requiredWhether the parameter is required.- Returns:
true
if the parameter is required;false
for otherwise.
- Default:
- true
-
defaultValue
String defaultValueThe default value to use as a fallback when the request parameter value is not provided or empty. Supplying a default value implicitly setsrequired()
to false.- Returns:
- the default value.
- Default:
- ""
-