public class ServletRequestDataBinderFactory extends InitBinderDataBinderFactory
ServletRequestDataBinder
.Constructor and Description |
---|
ServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods,
WebBindingInitializer initializer)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected ServletRequestDataBinder |
createBinderInstance(Object target,
String objectName,
NativeWebRequest request)
Returns an instance of
ExtendedServletRequestDataBinder . |
initBinder, isBinderMethodApplicable
createBinder
public ServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer)
binderMethods
- one or more @InitBinder
methodsinitializer
- provides global data binder initializationprotected ServletRequestDataBinder createBinderInstance(Object target, String objectName, NativeWebRequest request)
ExtendedServletRequestDataBinder
.createBinderInstance
in class DefaultDataBinderFactory
target
- the binding target or null
for type conversion onlyobjectName
- the binding target object namerequest
- the current request