This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
bean-validator v0.3
Pre-release
Pre-release
·
301 commits
to main
since this release
New features
The net package provides constraints for network related validations:
@Domain
checks whether a String is a valid domain name.@IP
checks whether a String is a valid Internet Protocol address. Thecom.github.britter.beanvalidators.net.IPType
enum allows for customization of the validation, i.e. only IPv4, only IPv6 or both (default).@Port
checks Strings, ints and Integers are represent valid port numbers.
Changes
- Enum constant
com.github.britter.beanvalidators.strings.ISBNType.BOTH
has been renamed tocom.github.britter.beanvalidators.strings.ISBNType.ALL