Top Description Interfaces Classes
module spring.context

Package org.springframework.validation.method

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Abstractions and support classes for method validation, independent of the underlying validation library.

The main abstractions:

Interface Summary

Modifier and TypeInterface and Description
public interface
MethodValidationResult

Container for method validation results with validation errors from the underlying library adapted to MessageSourceResolvables and grouped by method parameter as ParameterValidationResult.

public interface
MethodValidator

Contract to apply method validation and handle the results.

Class Summary

Modifier and TypeClass and Description
pack-priv class
DefaultMethodValidationResult

Default MethodValidationResult implementation as a simple container.

pack-priv class
public class
public class
ParameterErrors

Extension of ParameterValidationResult created for Object method parameters or return values with nested errors on their properties.

public class
ParameterValidationResult

Store and expose the results of method validation for a method parameter.