org.springframework.web.bind |
Provides web-specific data binding functionality.
|
Java Source File Name | Type | Comment |
EscapedErrors.java | Class | Errors wrapper that adds automatic HTML escaping to the wrapped instance,
for convenient usage in HTML views. |
MissingServletRequestParameterException.java | Class | ServletRequestBindingException subclass that indicates a missing parameter. |
RequestUtils.java | Class | Parameter extraction methods, for an approach distinct from data binding,
in which parameters of specific types are required. |
ServletRequestBindingException.java | Class | Fatal binding exception, thrown when we want to
treat binding exceptions as unrecoverable. |
ServletRequestDataBinder.java | Class | Special DataBinder to perform data binding from servlet request parameters
to JavaBeans, including support for multipart files.
See the DataBinder/WebDataBinder superclasses for customization options,
which include specifying allowed/required fields, and registering custom
property editors.
Used by Spring web MVC's BaseCommandController and MultiActionController.
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 Controller implementation or in a MultiActionController
handler method. |
ServletRequestParameterPropertyValues.java | Class | PropertyValues implementation created from parameters in a ServletRequest. |
ServletRequestUtils.java | Class | Parameter extraction methods, for an approach distinct from data binding,
in which parameters of specific types are required. |
WebDataBinder.java | Class | Special
DataBinder for data binding from web request parameters
to JavaBean objects. |