Annotation Type Default

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      The default value to use as a fallback when the request parameter is not provided or has an empty value.
    • Element Detail

      • value

        String value
        The default value to use as a fallback when the request parameter is not provided or has an empty value. When Default annotation exists but value() is not specified, null value would be set if the parameter is not present in the request. Default annotation is not allowed for a path variable. If a user uses Default annotation on a path variable, IllegalArgumentException would be raised.
        Default:
        "\n\t\t\n\t\t\n\u0000\u0001\u0002\n\t\t\t\t\n"