Uses of Class
org.springframework.web.bind.WebDataBinder
Packages that use WebDataBinder
Package
Description
Mock objects for the functional web framework.
Provides web-specific data binding functionality.
Support classes for web data binding.
Support classes for annotation-based handler method processing.
Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.Provides the types that make up Spring's functional web framework for Servlet environments.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
Uses of WebDataBinder in org.springframework.mock.web.reactive.function.server
Method parameters in org.springframework.mock.web.reactive.function.server with type arguments of type WebDataBinderModifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T>
MockServerRequest.bind
(Class<T> bindType, Consumer<WebDataBinder> dataBinderCustomizer) -
Uses of WebDataBinder in org.springframework.web.bind
Subclasses of WebDataBinder in org.springframework.web.bindModifier and TypeClassDescriptionclass
SpecialDataBinder
to perform data binding from servlet request parameters to JavaBeans, including support for multipart files.Methods in org.springframework.web.bind with parameters of type WebDataBinderModifier and TypeMethodDescriptionstatic DataBinder.ValueResolver
ServletRequestDataBinder.valueResolver
(ServletRequest request, WebDataBinder binder) Return aServletRequest
DataBinder.ValueResolver
.Constructors in org.springframework.web.bind with parameters of type WebDataBinderModifierConstructorDescriptionprotected
ServletRequestValueResolver
(ServletRequest request, WebDataBinder dataBinder) -
Uses of WebDataBinder in org.springframework.web.bind.support
Subclasses of WebDataBinder in org.springframework.web.bind.supportModifier and TypeClassDescriptionclass
SpecializedDataBinder
to perform data binding from URL query parameters or form data in the request data to Java objects.class
SpecialDataBinder
to perform data binding from web request parameters to JavaBeans, including support for multipart files.Methods in org.springframework.web.bind.support that return WebDataBinderModifier and TypeMethodDescriptionfinal WebDataBinder
DefaultDataBinderFactory.createBinder
(NativeWebRequest webRequest, Object target, String objectName) Create a newWebDataBinder
for the given target object and initialize it through aWebBindingInitializer
.final WebDataBinder
DefaultDataBinderFactory.createBinder
(NativeWebRequest webRequest, Object target, String objectName, ResolvableType type) Variant ofWebDataBinderFactory.createBinder(NativeWebRequest, Object, String)
with aResolvableType
for which theDataBinder
is created.WebDataBinderFactory.createBinder
(NativeWebRequest webRequest, Object target, String objectName) Create aWebDataBinder
for the given object.default WebDataBinder
WebDataBinderFactory.createBinder
(NativeWebRequest webRequest, Object target, String objectName, ResolvableType targetType) Variant ofWebDataBinderFactory.createBinder(NativeWebRequest, Object, String)
with aResolvableType
for which theDataBinder
is created.protected WebDataBinder
DefaultDataBinderFactory.createBinderInstance
(Object target, String objectName, NativeWebRequest webRequest) Extension point to create the WebDataBinder instance.Methods in org.springframework.web.bind.support with parameters of type WebDataBinderModifier and TypeMethodDescriptionvoid
ConfigurableWebBindingInitializer.initBinder
(WebDataBinder binder) protected void
DefaultDataBinderFactory.initBinder
(WebDataBinder dataBinder, NativeWebRequest webRequest) Extension point to further initialize the created data binder instance (e.g.void
WebBindingInitializer.initBinder
(WebDataBinder binder) Initialize the given DataBinder. -
Uses of WebDataBinder in org.springframework.web.method.annotation
Methods in org.springframework.web.method.annotation with parameters of type WebDataBinderModifier and TypeMethodDescriptionprotected void
ModelAttributeMethodProcessor.bindRequestParameters
(WebDataBinder binder, NativeWebRequest request) Extension point to bind the request to the target object via setters/fields.protected void
ModelAttributeMethodProcessor.constructAttribute
(WebDataBinder binder, NativeWebRequest request) Extension point to create the attribute, binding the request to constructor args.void
InitBinderDataBinderFactory.initBinder
(WebDataBinder dataBinder, NativeWebRequest request) Initialize a WebDataBinder with@InitBinder
methods.protected boolean
InitBinderDataBinderFactory.isBinderMethodApplicable
(HandlerMethod initBinderMethod, WebDataBinder dataBinder) Determine whether the given@InitBinder
method should be used to initialize the givenWebDataBinder
instance.protected boolean
ModelAttributeMethodProcessor.isBindExceptionRequired
(WebDataBinder binder, MethodParameter parameter) Whether to raise a fatal bind exception on validation errors.protected void
ModelAttributeMethodProcessor.validateIfApplicable
(WebDataBinder binder, MethodParameter parameter) Validate the model attribute if applicable. -
Uses of WebDataBinder in org.springframework.web.reactive.function.server
Method parameters in org.springframework.web.reactive.function.server with type arguments of type WebDataBinderModifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T>
ServerRequest.bind
(Class<T> bindType, Consumer<WebDataBinder> dataBinderCustomizer) Bind to this request and return an instance of the given type. -
Uses of WebDataBinder in org.springframework.web.reactive.function.server.support
Method parameters in org.springframework.web.reactive.function.server.support with type arguments of type WebDataBinderModifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T>
ServerRequestWrapper.bind
(Class<T> bindType, Consumer<WebDataBinder> dataBinderCustomizer) -
Uses of WebDataBinder in org.springframework.web.servlet.function
Method parameters in org.springframework.web.servlet.function with type arguments of type WebDataBinderModifier and TypeMethodDescription<T> T
ServerRequest.bind
(Class<T> bindType, Consumer<WebDataBinder> dataBinderCustomizer) Bind to this request and return an instance of the given type. -
Uses of WebDataBinder in org.springframework.web.servlet.mvc.method.annotation
Subclasses of WebDataBinder in org.springframework.web.servlet.mvc.method.annotationModifier and TypeClassDescriptionclass
Subclass ofServletRequestDataBinder
that adds URI template variables to the values used for data binding.Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type WebDataBinderModifier and TypeMethodDescriptionprotected void
ServletModelAttributeMethodProcessor.bindRequestParameters
(WebDataBinder binder, NativeWebRequest request) Downcast toServletRequestDataBinder
to invokebind(ServletRequest)
.protected void
ServletModelAttributeMethodProcessor.constructAttribute
(WebDataBinder binder, NativeWebRequest request) Downcast toServletRequestDataBinder
to invokeconstructTarget(ServletRequest)
.protected boolean
AbstractMessageConverterMethodArgumentResolver.isBindExceptionRequired
(WebDataBinder binder, MethodParameter parameter) Whether to raise a fatal bind exception on validation errors.protected void
AbstractMessageConverterMethodArgumentResolver.validateIfApplicable
(WebDataBinder binder, MethodParameter parameter) Validate the binding target if applicable.