Skip to content

tomhermann/spring-validation-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Validation Example

See: MethodConstraintControllerTest

This project shows how to use a method constraint validator with Spring.

The ConformingMethodConstraintController uses a parameter object that contains a method named isValidDateRange, which conforms to the JavaBean spec.

The NonConformingMethodConstraintController uses a parameter object that contains a method named shouldBeValidDateRange, which does not conform to the JavaBean spec.

About

Demonstrates the impact of naming on method contraint validation

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages