Class InetHostMatcher.AddressMask
- java.lang.Object
-
- org.mapfish.print.processor.http.matcher.InetHostMatcher.AddressMask
-
- Enclosing class:
- InetHostMatcher
protected static class InetHostMatcher.AddressMask extends java.lang.Object
The ip addresses that are considered legal.
-
-
Constructor Summary
Constructors Constructor Description AddressMask(java.net.InetAddress address)
Guess the mask in function of the address: /8 for IPv4 loopback and full match for the rest.AddressMask(java.net.InetAddress ip, java.net.InetAddress mask)
IP and mask are given.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Constructor Detail
-
AddressMask
public AddressMask(java.net.InetAddress ip, java.net.InetAddress mask)
IP and mask are given.- Parameters:
ip
- The IP addressmask
- A null mask means match all.
-
AddressMask
public AddressMask(java.net.InetAddress address)
Guess the mask in function of the address: /8 for IPv4 loopback and full match for the rest.- Parameters:
address
- The IP address
-
-