Annotation Interface UTF8QueryParam
Annotation used for the query parameter, that requires to be parsed with UTF8 charset
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe default value to use as a fallback when the request parameter value is not provided or empty.booleanWhether 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:
trueif the parameter is required;falsefor 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:
- ""
-