org.springframework.web.portlet.bind |
Provides portlet-specific data binding functionality.
|
Java Source File Name | Type | Comment |
MissingPortletRequestParameterException.java | Class | PortletRequestBindingException subclass that indicates a missing parameter. |
PortletRequestBindingException.java | Class | Fatal binding exception, thrown when we want to
treat binding exceptions as unrecoverable.
author: Juergen Hoeller author: John A. |
PortletRequestDataBinder.java | Class | Special DataBinder to perform data binding from PortletRequest parameters
to JavaBeans.
See the DataBinder/WebDataBinder superclasses for customization options,
which include specifying allowed/required fields, and registering custom
property editors.
Used by Spring Portlet MVC's BaseCommandController.
Note that BaseCommandController and its subclasses allow for easy customization
of the binder instances that they use through overriding initBinder .
Can also be used for manual data binding in custom web controllers:
for example, in a plain Portlet Controller implementation. |
PortletRequestParameterPropertyValues.java | Class | 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. |
PortletRequestUtils.java | Class | Parameter extraction methods, for an approach distinct from data binding,
in which parameters of specific types are required.
This approach is very useful for simple submissions, where binding
request parameters to a command object would be overkill.
author: Juergen Hoeller author: Keith Donald author: John A. |