| java.lang.Object org.springframework.beans.MutablePropertyValues org.springframework.web.portlet.bind.PortletRequestParameterPropertyValues
PortletRequestParameterPropertyValues | public class PortletRequestParameterPropertyValues extends MutablePropertyValues (Code) | | PropertyValues implementation created from parameters in a PortletRequest.
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: Juergen Hoeller author: John A. Lewis since: 2.0 See Also: org.springframework.web.portlet.util.PortletUtils.getParametersStartingWith |
Constructor Summary | |
public | PortletRequestParameterPropertyValues(PortletRequest request) Create new PortletRequestPropertyValues using no prefix
(and hence, no prefix separator). | public | PortletRequestParameterPropertyValues(PortletRequest request, String prefix) Create new PortletRequestPropertyValues using the given prefix and
the default prefix separator (the underscore character "_"). | public | PortletRequestParameterPropertyValues(PortletRequest request, String prefix, String prefixSeparator) Create new PortletRequestPropertyValues supplying both prefix and
prefix separator.
Parameters: request - portlet request Parameters: prefix - the prefix for parameters (the full prefix willconsist of this plus the separator) Parameters: prefixSeparator - separator delimiting prefix (e.g. |
DEFAULT_PREFIX_SEPARATOR | final public static String DEFAULT_PREFIX_SEPARATOR(Code) | | Default prefix separator
|
PortletRequestParameterPropertyValues | public PortletRequestParameterPropertyValues(PortletRequest request)(Code) | | Create new PortletRequestPropertyValues using no prefix
(and hence, no prefix separator).
Parameters: request - portlet request |
PortletRequestParameterPropertyValues | public PortletRequestParameterPropertyValues(PortletRequest request, String prefix)(Code) | | Create new PortletRequestPropertyValues using the given prefix and
the default prefix separator (the underscore character "_").
Parameters: request - portlet request Parameters: prefix - the prefix for parameters (the full prefix willconsist of this plus the separator) See Also: PortletRequestParameterPropertyValues.DEFAULT_PREFIX_SEPARATOR |
PortletRequestParameterPropertyValues | public PortletRequestParameterPropertyValues(PortletRequest request, String prefix, String prefixSeparator)(Code) | | Create new PortletRequestPropertyValues supplying both prefix and
prefix separator.
Parameters: request - portlet request Parameters: prefix - the prefix for parameters (the full prefix willconsist of this plus the separator) Parameters: prefixSeparator - separator delimiting prefix (e.g. "spring")and the rest of the parameter name ("param1", "param2") |
|
|