Class Uri.NamedHost

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

    public static final class Uri.NamedHost
    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
      NamedHost​(java.lang.String address)  
    • Constructor Detail

      • NamedHost

        public NamedHost​(java.lang.String address)
    • Method Detail

      • 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
      • inetAddresses

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