Package | Description |
---|---|
org.springframework.validation |
Provides data binding and validation functionality,
for usage in business and/or UI layers.
|
org.springframework.web.bind.support |
Support classes for web data binding.
|
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMessageCodesResolver
Default implementation of the
MessageCodesResolver interface. |
Modifier and Type | Method and Description |
---|---|
MessageCodesResolver |
AbstractBindingResult.getMessageCodesResolver()
Return the strategy to use for resolving errors into message codes.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBindingResult.setMessageCodesResolver(MessageCodesResolver messageCodesResolver)
Set the strategy to use for resolving errors into message codes.
|
void |
DataBinder.setMessageCodesResolver(MessageCodesResolver messageCodesResolver)
Set the strategy to use for resolving errors into message codes.
|
Modifier and Type | Method and Description |
---|---|
MessageCodesResolver |
ConfigurableWebBindingInitializer.getMessageCodesResolver()
Return the strategy to use for resolving errors into message codes.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableWebBindingInitializer.setMessageCodesResolver(MessageCodesResolver messageCodesResolver)
Set the strategy to use for resolving errors into message codes.
|
Modifier and Type | Method and Description |
---|---|
MessageCodesResolver |
WebFluxConfigurerComposite.getMessageCodesResolver() |
default MessageCodesResolver |
WebFluxConfigurer.getMessageCodesResolver()
Provide a custom
MessageCodesResolver to use for data binding in
annotated controller method arguments instead of the one created by
default in DataBinder . |
protected MessageCodesResolver |
DelegatingWebFluxConfiguration.getMessageCodesResolver() |
protected MessageCodesResolver |
WebFluxConfigurationSupport.getMessageCodesResolver()
Override this method to provide a custom
MessageCodesResolver . |
Modifier and Type | Method and Description |
---|---|
MessageCodesResolver |
WebMvcConfigurerAdapter.getMessageCodesResolver()
Deprecated.
Provide a custom
MessageCodesResolver for building message codes
from data binding and validation error codes. |
protected MessageCodesResolver |
DelegatingWebMvcConfiguration.getMessageCodesResolver() |
protected MessageCodesResolver |
WebMvcConfigurationSupport.getMessageCodesResolver()
Override this method to provide a custom
MessageCodesResolver . |
default MessageCodesResolver |
WebMvcConfigurer.getMessageCodesResolver()
Provide a custom
MessageCodesResolver for building message codes
from data binding and validation error codes. |