Class InetHostMatcher.AddressMask

java.lang.Object
org.mapfish.print.processor.http.matcher.InetHostMatcher.AddressMask
Enclosing class:
InetHostMatcher

protected static class InetHostMatcher.AddressMask extends Object
The ip addresses that are considered legal.
  • Constructor Details

    • AddressMask

      public AddressMask(InetAddress ip, InetAddress mask)
      IP and mask are given.
      Parameters:
      ip - The IP address
      mask - A null mask means match all.
    • AddressMask

      public AddressMask(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
  • Method Details

    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object