public class ServletRequestDataBinderFactory
extends org.springframework.web.method.annotation.InitBinderDataBinderFactory
ServletRequestDataBinder
.Constructor and Description |
---|
ServletRequestDataBinderFactory(java.util.List<org.springframework.web.method.support.InvocableHandlerMethod> binderMethods,
org.springframework.web.bind.support.WebBindingInitializer initializer)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.bind.ServletRequestDataBinder |
createBinderInstance(java.lang.Object target,
java.lang.String objectName,
org.springframework.web.context.request.NativeWebRequest request)
Returns an instance of
ExtendedServletRequestDataBinder . |
initBinder, isBinderMethodApplicable
public ServletRequestDataBinderFactory(@Nullable java.util.List<org.springframework.web.method.support.InvocableHandlerMethod> binderMethods, @Nullable org.springframework.web.bind.support.WebBindingInitializer initializer)
binderMethods
- one or more @InitBinder
methodsinitializer
- provides global data binder initializationprotected org.springframework.web.bind.ServletRequestDataBinder createBinderInstance(@Nullable java.lang.Object target, java.lang.String objectName, org.springframework.web.context.request.NativeWebRequest request) throws java.lang.Exception
ExtendedServletRequestDataBinder
.createBinderInstance
in class org.springframework.web.bind.support.DefaultDataBinderFactory
java.lang.Exception