public class ServletRequestDataBinderFactory
extends org.springframework.web.method.annotation.InitBinderDataBinderFactory
ServletRequestDataBinder
.Constructor and Description |
---|
ServletRequestDataBinderFactory(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(Object target,
String objectName,
org.springframework.web.context.request.NativeWebRequest request)
Returns an instance of
ExtendedServletRequestDataBinder . |
initBinder, isBinderMethodApplicable
public ServletRequestDataBinderFactory(@Nullable 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 Object target, String objectName, org.springframework.web.context.request.NativeWebRequest request) throws Exception
ExtendedServletRequestDataBinder
.createBinderInstance
in class org.springframework.web.bind.support.DefaultDataBinderFactory
Exception