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 |
DataBinder.setMessageCodesResolver(MessageCodesResolver messageCodesResolver)
Set the strategy to use for resolving errors into message codes.
|
void |
AbstractBindingResult.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 |
---|---|
protected MessageCodesResolver |
DelegatingWebFluxConfiguration.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 |
WebFluxConfigurationSupport.getMessageCodesResolver()
Override this method to provide a custom
MessageCodesResolver . |
MessageCodesResolver |
WebFluxConfigurerComposite.getMessageCodesResolver() |
Modifier and Type | Method and Description |
---|---|
default MessageCodesResolver |
WebMvcConfigurer.getMessageCodesResolver()
Provide a custom
MessageCodesResolver for building message codes
from data binding and validation error codes. |
protected MessageCodesResolver |
DelegatingWebMvcConfiguration.getMessageCodesResolver() |
MessageCodesResolver |
WebMvcConfigurerAdapter.getMessageCodesResolver()
Deprecated.
Provide a custom
MessageCodesResolver for building message codes
from data binding and validation error codes. |
protected MessageCodesResolver |
WebMvcConfigurationSupport.getMessageCodesResolver()
Override this method to provide a custom
MessageCodesResolver . |