Annotation Interface UTF8QueryParam


@Target({PARAMETER,FIELD}) @Retention(RUNTIME) public @interface UTF8QueryParam
Annotation used for the query parameter, that requires to be parsed with UTF8 charset
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The 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 value
      The name of the request parameter to bind to.
      Returns:
      the parameter name.
      Default:
      ""
    • required

      boolean required
      Whether the parameter is required.
      Returns:
      true if the parameter is required; false for otherwise.
      Default:
      true
    • defaultValue

      String defaultValue
      The default value to use as a fallback when the request parameter value is not provided or empty. Supplying a default value implicitly sets required() to false.
      Returns:
      the default value.
      Default:
      ""