Uses of Interface
org.springframework.validation.BindingResult
Package
Description
Support classes for working with annotated message-handling methods.
Testing support for validation.
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
Modifier and TypeMethodDescriptionfinal BindingResult
MethodArgumentNotValidException.getBindingResult()
Return the BindingResult if the failure is validation-related, ornull
if none.ModifierConstructorDescriptionMethodArgumentNotValidException
(Message<?> message, MethodParameter parameter, BindingResult bindingResult) Create a new instance with the invalidMethodParameter
and aBindingResult
. -
Uses of BindingResult in org.springframework.test.validation
ModifierConstructorDescriptionprotected
AbstractBindingResultAssert
(String name, BindingResult bindingResult, Class<?> selfType) -
Uses of BindingResult in org.springframework.validation
Modifier 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.Modifier 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.Modifier 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) ModifierConstructorDescriptionBindException
(BindingResult bindingResult) Create a new BindException instance for a BindingResult. -
Uses of BindingResult in org.springframework.validation.beanvalidation
Modifier 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
Modifier and TypeClassDescriptionclass
Exception to be thrown when validation on an argument annotated with@Valid
fails.ModifierConstructorDescriptionMethodArgumentNotValidException
(MethodParameter parameter, BindingResult bindingResult) Constructor forMethodArgumentNotValidException
. -
Uses of BindingResult in org.springframework.web.bind.support
Modifier and TypeClassDescriptionclass
ServerWebInputException
subclass that indicates a data binding or validation failure.Modifier and TypeMethodDescriptionfinal BindingResult
WebExchangeBindException.getBindingResult()
Return the BindingResult that this BindException wraps.ModifierConstructorDescriptionWebExchangeBindException
(MethodParameter parameter, BindingResult bindingResult)