java.lang.Object | |
↳ | org.springframework.web.bind.support.ConfigurableWebBindingInitializer |
Convenient WebBindingInitializer
for declarative configuration
in a Spring application context. Allows for reusing pre-configured
initializers with multiple controller/handlers.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the strategy to use for processing binding errors.
| |||||||||||
Return the ConversionService which will apply to every DataBinder.
| |||||||||||
Return the strategy to use for resolving errors into message codes.
| |||||||||||
Return the PropertyEditorRegistrars to be applied to every DataBinder.
| |||||||||||
Return the Validator to apply after each binding step, if any.
| |||||||||||
Initialize the given DataBinder for the given request.
| |||||||||||
Set the strategy to use for processing binding errors, that is,
required field errors and
PropertyAccessException s. | |||||||||||
Specify a ConversionService which will apply to every DataBinder.
| |||||||||||
Set whether to use direct field access instead of bean property access.
| |||||||||||
Set the strategy to use for resolving errors into message codes.
| |||||||||||
Specify a single PropertyEditorRegistrar to be applied to every DataBinder.
| |||||||||||
Specify multiple PropertyEditorRegistrars to be applied to every DataBinder.
| |||||||||||
Set the Validator to apply after each binding step.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.web.bind.support.WebBindingInitializer
|
Return the strategy to use for processing binding errors.
Return the ConversionService which will apply to every DataBinder.
Return the strategy to use for resolving errors into message codes.
Return the PropertyEditorRegistrars to be applied to every DataBinder.
Return the Validator to apply after each binding step, if any.
Initialize the given DataBinder for the given request.
binder | the DataBinder to initialize |
---|---|
request | the web request that the data binding happens within |
Set the strategy to use for processing binding errors, that is,
required field errors and PropertyAccessException
s.
Default is null
, that is, using the default strategy
of the data binder.
Specify a ConversionService which will apply to every DataBinder.
Set whether to use direct field access instead of bean property access.
Default is false
, using bean property access.
Switch this to true
for enforcing direct field access.
Set the strategy to use for resolving errors into message codes. Applies the given strategy to all data binders used by this controller.
Default is null
, i.e. using the default strategy of
the data binder.
Specify a single PropertyEditorRegistrar to be applied to every DataBinder.
Specify multiple PropertyEditorRegistrars to be applied to every DataBinder.
Set the Validator to apply after each binding step.