Uses of Interface
org.springframework.validation.MessageCodesResolver
Package
Description
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
Support classes for web data binding.
Spring WebFlux configuration infrastructure.
Annotation-based setup for Spring MVC.
-
Uses of MessageCodesResolver in org.springframework.validation
Modifier and TypeClassDescriptionclass
Default implementation of theMessageCodesResolver
interface.Modifier and TypeMethodDescriptionAbstractBindingResult.getMessageCodesResolver()
Return the strategy to use for resolving errors into message codes.Modifier and TypeMethodDescriptionvoid
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. -
Uses of MessageCodesResolver in org.springframework.validation.beanvalidation
Modifier and TypeMethodDescriptionMethodValidationAdapter.getMessageCodesResolver()
Return theconfigured
MessageCodesResolver
.Modifier and TypeMethodDescriptionvoid
MethodValidationAdapter.setMessageCodesResolver
(MessageCodesResolver messageCodesResolver) Set the strategy to use to determine message codes for violations. -
Uses of MessageCodesResolver in org.springframework.web.bind.support
Modifier and TypeMethodDescriptionfinal MessageCodesResolver
ConfigurableWebBindingInitializer.getMessageCodesResolver()
Return the strategy to use for resolving errors into message codes.Modifier and TypeMethodDescriptionfinal void
ConfigurableWebBindingInitializer.setMessageCodesResolver
(MessageCodesResolver messageCodesResolver) Set the strategy to use for resolving errors into message codes. -
Uses of MessageCodesResolver in org.springframework.web.reactive.config
Modifier and TypeMethodDescriptionprotected MessageCodesResolver
DelegatingWebFluxConfiguration.getMessageCodesResolver()
protected MessageCodesResolver
WebFluxConfigurationSupport.getMessageCodesResolver()
Override this method to provide a customMessageCodesResolver
.default MessageCodesResolver
WebFluxConfigurer.getMessageCodesResolver()
Provide a customMessageCodesResolver
to use for data binding in annotated controller method arguments instead of the one created by default inDataBinder
.WebFluxConfigurerComposite.getMessageCodesResolver()
-
Uses of MessageCodesResolver in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionprotected MessageCodesResolver
DelegatingWebMvcConfiguration.getMessageCodesResolver()
protected MessageCodesResolver
WebMvcConfigurationSupport.getMessageCodesResolver()
Override this method to provide a customMessageCodesResolver
.default MessageCodesResolver
WebMvcConfigurer.getMessageCodesResolver()
Provide a customMessageCodesResolver
for building message codes from data binding and validation error codes.