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 BindingResult
MethodArgumentNotValidException.getBindingResult()
Return the BindingResult if the failure is validation-related, ornull
if 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 invalidMethodParameter
and aBindingResult
. -
Uses of BindingResult in org.springframework.validation
Classes in org.springframework.validation that implement BindingResultModifier and TypeClassDescriptionclass
Abstract implementation of theBindingResult
interface and its super-interfaceErrors
.class
Abstract base class forBindingResult
implementations that work with Spring'sPropertyAccessor
mechanism.class
Default implementation of theErrors
andBindingResult
interfaces, for the registration and evaluation of binding errors on JavaBean objects.class
Thrown when binding errors are considered fatal.class
Special implementation of the Errors and BindingResult interfaces, supporting registration and evaluation of binding errors on value objects.class
Map-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 BindingResult
BindException.getBindingResult()
Return the BindingResult that this BindException wraps.static BindingResult
BindingResultUtils.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 BindingResult
BindingResultUtils.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 TypeMethodDescriptionvoid
BindingErrorProcessor.processMissingFieldError
(String missingField, BindingResult bindingResult) Apply the missing field error to the given BindException.void
DefaultBindingErrorProcessor.processMissingFieldError
(String missingField, BindingResult bindingResult) void
BindingErrorProcessor.processPropertyAccessException
(PropertyAccessException ex, BindingResult bindingResult) Translate the givenPropertyAccessException
to an appropriate error registered on the givenErrors
instance.void
DefaultBindingErrorProcessor.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 Object
SpringValidatorAdapter.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 TypeClassDescriptionclass
Exception to be thrown when validation on an argument annotated with@Valid
fails.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 TypeClassDescriptionclass
ServerWebInputException
subclass that indicates a data binding or validation failure.Methods in org.springframework.web.bind.support that return BindingResultModifier and TypeMethodDescriptionfinal BindingResult
WebExchangeBindException.getBindingResult()
Return the BindingResult that this BindException wraps.Constructors in org.springframework.web.bind.support with parameters of type BindingResultModifierConstructorDescriptionWebExchangeBindException
(MethodParameter parameter, BindingResult bindingResult)