Uses of Interface
org.springframework.validation.BindingResult
Packages that use BindingResult
Package
Description
Support classes for working with annotated message-handling methods.
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.
Provides web-specific data binding functionality.
Support classes for web data binding.
-
Uses of BindingResult in org.springframework.messaging.handler.annotation.support
Methods in org.springframework.messaging.handler.annotation.support that return BindingResultModifier and TypeMethodDescriptionfinal BindingResultMethodArgumentNotValidException.getBindingResult()Return the BindingResult if the failure is validation-related, ornullif none.Constructors in org.springframework.messaging.handler.annotation.support with parameters of type BindingResultModifierConstructorDescriptionMethodArgumentNotValidException(Message<?> message, MethodParameter parameter, BindingResult bindingResult) Create a new instance with the invalidMethodParameterand aBindingResult. -
Uses of BindingResult in org.springframework.validation
Classes in org.springframework.validation that implement BindingResultModifier and TypeClassDescriptionclassAbstract implementation of theBindingResultinterface and its super-interfaceErrors.classAbstract base class forBindingResultimplementations that work with Spring'sPropertyAccessormechanism.classDefault implementation of theErrorsandBindingResultinterfaces, for the registration and evaluation of binding errors on JavaBean objects.classThrown when binding errors are considered fatal.classSpecial implementation of the Errors and BindingResult interfaces, supporting registration and evaluation of binding errors on value objects.classMap-based implementation of the BindingResult interface, supporting registration and evaluation of binding errors on Map attributes.Methods in org.springframework.validation that return BindingResultModifier and TypeMethodDescriptionfinal BindingResultBindException.getBindingResult()Return the BindingResult that this BindException wraps.static BindingResultBindingResultUtils.getBindingResult(Map<?, ?> model, String name) Find the BindingResult for the given name in the given model.DataBinder.getBindingResult()Return the BindingResult instance created by this DataBinder.static BindingResultBindingResultUtils.getRequiredBindingResult(Map<?, ?> model, String name) Find a required BindingResult for the given name in the given model.Methods in org.springframework.validation with parameters of type BindingResultModifier and TypeMethodDescriptionvoidBindingErrorProcessor.processMissingFieldError(String missingField, BindingResult bindingResult) Apply the missing field error to the given BindException.voidDefaultBindingErrorProcessor.processMissingFieldError(String missingField, BindingResult bindingResult) voidBindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex, BindingResult bindingResult) Translate the givenPropertyAccessExceptionto an appropriate error registered on the givenErrorsinstance.voidDefaultBindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex, BindingResult bindingResult) Constructors in org.springframework.validation with parameters of type BindingResultModifierConstructorDescriptionBindException(BindingResult bindingResult) Create a new BindException instance for a BindingResult. -
Uses of BindingResult in org.springframework.validation.beanvalidation
Methods in org.springframework.validation.beanvalidation with parameters of type BindingResultModifier and TypeMethodDescriptionprotected ObjectSpringValidatorAdapter.getRejectedValue(String field, ConstraintViolation<Object> violation, BindingResult bindingResult) Extract the rejected value behind the given constraint violation, for exposure through the Spring errors representation. -
Uses of BindingResult in org.springframework.web.bind
Classes in org.springframework.web.bind that implement BindingResultModifier and TypeClassDescriptionclassException to be thrown when validation on an argument annotated with@Validfails.Constructors in org.springframework.web.bind with parameters of type BindingResultModifierConstructorDescriptionMethodArgumentNotValidException(MethodParameter parameter, BindingResult bindingResult) Constructor forMethodArgumentNotValidException. -
Uses of BindingResult in org.springframework.web.bind.support
Classes in org.springframework.web.bind.support that implement BindingResultModifier and TypeClassDescriptionclassServerWebInputExceptionsubclass that indicates a data binding or validation failure.Methods in org.springframework.web.bind.support that return BindingResultModifier and TypeMethodDescriptionfinal BindingResultWebExchangeBindException.getBindingResult()Return the BindingResult that this BindException wraps.Constructors in org.springframework.web.bind.support with parameters of type BindingResultModifierConstructorDescriptionWebExchangeBindException(MethodParameter parameter, BindingResult bindingResult)