程序包 org.springframework.web.bind
Provides web-specific data binding functionality.
类概要 类 说明 EscapedErrors Errors wrapper that adds automatic HTML escaping to the wrapped instance, for convenient usage in HTML views.ServletRequestDataBinder SpecialDataBinderto perform data binding from servlet request parameters to JavaBeans, including support for multipart files.ServletRequestParameterPropertyValues PropertyValues implementation created from parameters in a ServletRequest.ServletRequestUtils Parameter extraction methods, for an approach distinct from data binding, in which parameters of specific types are required.WebDataBinder SpecialDataBinderfor data binding from web request parameters to JavaBean objects.异常错误概要 异常错误 说明 MethodArgumentNotValidException Exception to be thrown when validation on an argument annotated with@Validfails.MissingPathVariableException ServletRequestBindingExceptionsubclass that indicates that a path variable expected in the method parameters of an@RequestMappingmethod is not present among the URI variables extracted from the URL.MissingServletRequestParameterException ServletRequestBindingExceptionsubclass that indicates a missing parameter.ServletRequestBindingException Fatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.UnsatisfiedServletRequestParameterException ServletRequestBindingExceptionsubclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMappingannotation at the@Controllertype level.