@Target(PARAMETER) @Retention(RUNTIME) public @interface DefaultValue
Supplies a default raw value when the caller omits this argument.

The value is parsed by the same ArgumentResolver that would normally handle the parameter type.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details