Class Uri.IPv4Host

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product
    Enclosing class:
    Uri

    public static final class Uri.IPv4Host
    extends Uri.NonEmptyHost
    implements scala.Product, java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class akka.http.javadsl.model.Host

        EMPTY
    • Constructor Summary

      Constructors 
      Constructor Description
      IPv4Host​(scala.collection.immutable.Seq<java.lang.Object> bytes, java.lang.String address)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String address()
      Returns a String representation of the address.
      scala.collection.immutable.Seq<java.lang.Object> bytes()  
      boolean equalsIgnoreCase​(Uri.Host other)  
      scala.collection.immutable.Seq<java.net.InetAddress> inetAddresses()  
      boolean isIPv4()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • IPv4Host

        public IPv4Host​(scala.collection.immutable.Seq<java.lang.Object> bytes,
                        java.lang.String address)
    • Method Detail

      • bytes

        public scala.collection.immutable.Seq<java.lang.Object> bytes()
      • address

        public java.lang.String address()
        Description copied from class: Host
        Returns a String representation of the address.
        Specified by:
        address in class Uri.Host
      • isIPv4

        public boolean isIPv4()
        Overrides:
        isIPv4 in class Uri.Host
      • inetAddresses

        public scala.collection.immutable.Seq<java.net.InetAddress> inetAddresses()
        Specified by:
        inetAddresses in class Uri.Host