程序包 org.springframework.web.bind.support
Support classes for web data binding.
接口概要 接口 说明 SessionAttributeStore Strategy interface for storing model attributes in a backend session.SessionStatus Simple interface that can be injected into handler methods, allowing them to signal that their session processing is complete.WebArgumentResolver SPI for resolving custom arguments for a specific handler method parameter.WebBindingInitializer Callback interface for initializing aWebDataBinderfor performing data binding in the context of a specific web request.WebDataBinderFactory A factory for creating aWebDataBinderinstance for a named target object.类概要 类 说明 ConfigurableWebBindingInitializer ConvenientWebBindingInitializerfor declarative configuration in a Spring application context.DefaultDataBinderFactory Create aWebRequestDataBinderinstance and initialize it with aWebBindingInitializer.DefaultSessionAttributeStore Default implementation of theSessionAttributeStoreinterface, storing the attributes in the WebRequest session (i.e.SimpleSessionStatus Simple implementation of theSessionStatusinterface, keeping thecompleteflag as an instance variable.SpringWebConstraintValidatorFactory JSR-303ConstraintValidatorFactoryimplementation that delegates to the current SpringWebApplicationContextfor creating autowiredConstraintValidatorinstances.WebExchangeDataBinder SpecializedDataBinderto perform data binding from URL query params or form data in the request data to Java objects.WebRequestDataBinder SpecialDataBinderto perform data binding from web request parameters to JavaBeans, including support for multipart files.异常错误概要 异常错误 说明 WebExchangeBindException A specialization ofServerWebInputExceptionthrown when after data binding and validation failure.