Class AbstractNamedValueArgumentResolver.NamedValueInfo

java.lang.Object
org.springframework.web.service.invoker.AbstractNamedValueArgumentResolver.NamedValueInfo
Enclosing class:
AbstractNamedValueArgumentResolver

protected static class AbstractNamedValueArgumentResolver.NamedValueInfo extends Object
Info about a request value, typically extracted from a method parameter annotation.
  • Constructor Details

    • NamedValueInfo

      public NamedValueInfo(String name, boolean required, @Nullable String defaultValue, String label, boolean multiValued)
      Create an instance.
      Parameters:
      name - the name to use, possibly empty if not specified
      required - whether it is marked as required
      defaultValue - fallback value, possibly ValueConstants.DEFAULT_NONE
      label - how it should appear in error messages, for example, "path variable", "request header"
      multiValued - whether this argument resolver supports sending multiple values; if not, then multiple values are formatted as a String value
  • Method Details