Class Uri.IPv4Host

  • All Implemented Interfaces:, scala.Equals, scala.Product
    Enclosing class:

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

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

    • Constructor Summary

      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<> 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()
        isIPv4 in class Uri.Host
      • inetAddresses

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