Uses of Interface
org.springframework.validation.MessageCodesResolver
Packages that use 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
Classes in org.springframework.validation that implement MessageCodesResolverModifier and TypeClassDescriptionclass
Default implementation of theMessageCodesResolver
interface.Methods in org.springframework.validation that return MessageCodesResolverModifier and TypeMethodDescriptionAbstractBindingResult.getMessageCodesResolver()
Return the strategy to use for resolving errors into message codes.Methods in org.springframework.validation with parameters of type MessageCodesResolverModifier and TypeMethodDescriptionvoid
AbstractBindingResult.setMessageCodesResolver
(MessageCodesResolver messageCodesResolver) Set the strategy to use for resolving errors into message codes.void
DataBinder.setMessageCodesResolver
(@Nullable MessageCodesResolver messageCodesResolver) Set the strategy to use for resolving errors into message codes. -
Uses of MessageCodesResolver in org.springframework.validation.beanvalidation
Methods in org.springframework.validation.beanvalidation that return MessageCodesResolverModifier and TypeMethodDescriptionMethodValidationAdapter.getMessageCodesResolver()
Return theconfigured
MessageCodesResolver
.Methods in org.springframework.validation.beanvalidation with parameters of type MessageCodesResolverModifier 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
Methods in org.springframework.web.bind.support that return MessageCodesResolverModifier and TypeMethodDescriptionConfigurableWebBindingInitializer.getMessageCodesResolver()
Return the strategy to use for resolving errors into message codes.Methods in org.springframework.web.bind.support with parameters of type MessageCodesResolverModifier and TypeMethodDescriptionfinal void
ConfigurableWebBindingInitializer.setMessageCodesResolver
(@Nullable MessageCodesResolver messageCodesResolver) Set the strategy to use for resolving errors into message codes. -
Uses of MessageCodesResolver in org.springframework.web.reactive.config
Methods in org.springframework.web.reactive.config that return MessageCodesResolverModifier and TypeMethodDescriptionprotected @Nullable MessageCodesResolver
DelegatingWebFluxConfiguration.getMessageCodesResolver()
protected @Nullable MessageCodesResolver
WebFluxConfigurationSupport.getMessageCodesResolver()
Override this method to provide a customMessageCodesResolver
.default @Nullable 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
Methods in org.springframework.web.servlet.config.annotation that return MessageCodesResolverModifier and TypeMethodDescriptionprotected @Nullable MessageCodesResolver
DelegatingWebMvcConfiguration.getMessageCodesResolver()
protected @Nullable MessageCodesResolver
WebMvcConfigurationSupport.getMessageCodesResolver()
Override this method to provide a customMessageCodesResolver
.default @Nullable MessageCodesResolver
WebMvcConfigurer.getMessageCodesResolver()
Provide a customMessageCodesResolver
for building message codes from data binding and validation error codes.