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(@Nullable List<InvocableHandlerMethod> binderMethods, @Nullable WebBindingInitializer initializer)
binderMethods
- one or more @InitBinder
methodsinitializer
- provides global data binder initializationprotected ServletRequestDataBinder createBinderInstance(@Nullable Object target, String objectName, NativeWebRequest request) throws Exception
ExtendedServletRequestDataBinder
.createBinderInstance
in class DefaultDataBinderFactory
target
- the binding target or null
for type conversion onlyobjectName
- the binding target object namerequest
- the current requestException
- in case of invalid state or arguments