Class Inet

java.lang.Object
io.ebean.types.Inet
All Implemented Interfaces:
Serializable, Cloneable

public class Inet extends Object implements Serializable, Cloneable
An Inet address or IP address range.

The value is intentionally not validated allowing use with IpV6 internet address ranges. That is, we can use this for not only IpV4 and IpV6 internet addresses but ranges as well.

See Also:
  • Constructor Details

    • Inet

      public Inet(String address)
      Create with a given address.

      The address can contain anything with the intention of supporting ip address ranges and the like. For example, 2001:4f8:3:ba::/64 and 2001:4f8:3:ba:2e0:81ff:fe22:d1f1/128

  • Method Details