ip-validation

Contains validation constraints for IP addresses

License

License

GroupId

GroupId

com.github.robtimus
ArtifactId

ArtifactId

ip-validation
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

ip-validation
Contains validation constraints for IP addresses
Project URL

Project URL

https://robtimus.github.io/ip-validation/
Source Code Management

Source Code Management

https://github.com/robtimus/ip-validation

Download ip-validation

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.robtimus/ip-validation/ -->
<dependency>
    <groupId>com.github.robtimus</groupId>
    <artifactId>ip-validation</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.robtimus/ip-validation/
implementation 'com.github.robtimus:ip-validation:1.0.2'
// https://jarcasting.com/artifacts/com.github.robtimus/ip-validation/
implementation ("com.github.robtimus:ip-validation:1.0.2")
'com.github.robtimus:ip-validation:jar:1.0.2'
<dependency org="com.github.robtimus" name="ip-validation" rev="1.0.2">
  <artifact name="ip-validation" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.robtimus', module='ip-validation', version='1.0.2')
)
libraryDependencies += "com.github.robtimus" % "ip-validation" % "1.0.2"
[com.github.robtimus/ip-validation "1.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
com.github.robtimus : ip-utils jar 1.3

provided (1)

Group / Artifact Type Version
javax.validation : validation-api jar 1.1.0.Final

test (6)

Group / Artifact Type Version
org.hibernate : hibernate-validator jar 5.4.3.Final
javax.el : javax.el-api jar 3.0.0
com.sun.el : el-ri jar 1.0
org.junit.jupiter : junit-jupiter jar 5.7.0
org.hamcrest : hamcrest jar 2.2
org.mockito : mockito-core jar 3.5.13

Project Modules

There are no modules declared in this project.

ip-validation

Provides validation constraints that work on both CharSequence and IPAddress. These not only allow you to validate that a value is a valid IP address, but also that the IP address is contained in a specific IP range or subnet.

Bean Validation API support

This library has been written for Bean Validation 1.1. However, it has also been tested with Bean Validation 2.0. The javax.validation:validation-api dependency is a provided dependency, allowing you to provide your own version without any conflicts.

Versions

Version
1.0.2
1.0.1
1.0