Uses of Interface
org.springframework.web.bind.support.WebDataBinderFactory
Package
Description
Support classes for web data binding.
Support classes for annotation-based handler method processing.
Generic support classes for handler method processing.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
Uses of WebDataBinderFactory in org.springframework.web.bind.support
Modifier and TypeClassDescriptionclass
Create aWebRequestDataBinder
instance and initialize it with aWebBindingInitializer
. -
Uses of WebDataBinderFactory in org.springframework.web.method.annotation
Modifier and TypeClassDescriptionclass
Adds initialization to a WebDataBinder via@InitBinder
methods.Modifier and TypeMethodDescriptionprotected Object
ModelAttributeMethodProcessor.createAttribute
(String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) Extension point to create the model attribute if not found in the model, with subsequent parameter binding through bean properties (unless suppressed).final Object
AbstractNamedValueMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) AbstractWebArgumentResolverAdapter.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Delegate to theWebArgumentResolver
instance.ErrorsMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MapMethodProcessor.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) final Object
ModelAttributeMethodProcessor.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolve the argument from the model or if not found instantiate it with its default if it is available.ModelMethodProcessor.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestHeaderMapMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestParamMapMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SessionStatusMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ModifierConstructorDescriptionModelFactory
(List<InvocableHandlerMethod> handlerMethods, WebDataBinderFactory binderFactory, SessionAttributesHandler attributeHandler) Create a new instance with the given@ModelAttribute
methods. -
Uses of WebDataBinderFactory in org.springframework.web.method.support
Modifier and TypeMethodDescriptionHandlerMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolves a method parameter into an argument value from a given request.HandlerMethodArgumentResolverComposite.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Iterate over registeredHandlerMethodArgumentResolvers
and invoke the one that supports it.void
InvocableHandlerMethod.setDataBinderFactory
(WebDataBinderFactory dataBinderFactory) Set theWebDataBinderFactory
to be passed to argument resolvers allowing them to create aWebDataBinder
for data binding and type conversion purposes. -
Uses of WebDataBinderFactory in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeClassDescriptionclass
Creates aServletRequestDataBinder
.Modifier and TypeMethodDescriptionprotected final Object
ServletModelAttributeMethodProcessor.createAttribute
(String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) Instantiate the model attribute from a URI template variable or from a request parameter if the name matches to the model attribute name and if there is an appropriate type conversion strategy.protected Object
ServletModelAttributeMethodProcessor.createAttributeFromRequestValue
(String sourceValue, String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) Create a model attribute from a String request value (e.g.ContinuationHandlerMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) HttpEntityMethodProcessor.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MatrixVariableMapMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) PathVariableMapMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Return a Map with all URI template variables or an empty map.PrincipalMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RedirectAttributesMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestPartMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) RequestResponseBodyMethodProcessor.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Throws MethodArgumentNotValidException if validation fails.ServletRequestMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ServletResponseMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SetModelAndViewContainer.setRequestHandled(boolean)
tofalse
to indicate that the method signature provides access to the response.UriComponentsBuilderMethodArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory)