spring-framework / org.springframework.web.bind / ServletRequestParameterPropertyValues / <init>

<init>

ServletRequestParameterPropertyValues(request: ServletRequest)

Create new ServletRequestPropertyValues using no prefix (and hence, no prefix separator).

Parameters

request - HTTP request

ServletRequestParameterPropertyValues(request: ServletRequest, @Nullable prefix: String)

Create new ServletRequestPropertyValues using the given prefix and the default prefix separator (the underscore character "_").

Parameters

request - HTTP request

prefix - the prefix for parameters (the full prefix will consist of this plus the separator)

See Also
#DEFAULT_PREFIX_SEPARATOR

ServletRequestParameterPropertyValues(request: ServletRequest, @Nullable prefix: String, @Nullable prefixSeparator: String)

Create new ServletRequestPropertyValues supplying both prefix and prefix separator.

Parameters

request - HTTP request

prefix - the prefix for parameters (the full prefix will consist of this plus the separator)

prefixSeparator - separator delimiting prefix (e.g. "spring") and the rest of the parameter name ("param1", "param2")