open class ServletRequestParameterPropertyValues : MutablePropertyValues
PropertyValues implementation created from parameters in a ServletRequest. Can look for all property values beginning with a certain prefix and prefix separator (default is "_").
For example, with a prefix of "spring", "spring_param1" and "spring_param2" result in a Map with "param1" and "param2" as keys.
This class is not immutable to be able to efficiently remove property values that should be ignored for binding.
Author
Rod Johnson
Author
Juergen Hoeller
See Also
org.springframework.web.util.WebUtils#getParametersStartingWith
ServletRequestParameterPropertyValues(request: ServletRequest)
Create new ServletRequestPropertyValues using no prefix (and hence, no prefix separator). ServletRequestParameterPropertyValues(request: ServletRequest, prefix: String)
Create new ServletRequestPropertyValues using the given prefix and the default prefix separator (the underscore character "_"). ServletRequestParameterPropertyValues(request: ServletRequest, prefix: String, prefixSeparator: String)
Create new ServletRequestPropertyValues supplying both prefix and prefix separator. |
static val DEFAULT_PREFIX_SEPARATOR: String
Default prefix separator |