Package akka.http.scaladsl.model
Class Uri.NamedHost
- java.lang.Object
-
- akka.http.javadsl.model.Host
-
- akka.http.scaladsl.model.Uri.Host
-
- akka.http.scaladsl.model.Uri.NonEmptyHost
-
- akka.http.scaladsl.model.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
-
-
Constructor Summary
Constructors Constructor Description NamedHost(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.boolean
equalsIgnoreCase(Uri.Host other)
scala.collection.immutable.List<java.net.InetAddress>
inetAddresses()
boolean
isNamedHost()
-
Methods inherited from class akka.http.scaladsl.model.Uri.NonEmptyHost
isEmpty, toOption
-
Methods inherited from class akka.http.scaladsl.model.Uri.Host
getInetAddresses, isIPv4, isIPv6, toString
-
-
-
-
Method Detail
-
address
public java.lang.String address()
Description copied from class:Host
Returns a String representation of the address.
-
equalsIgnoreCase
public boolean equalsIgnoreCase(Uri.Host other)
- Specified by:
equalsIgnoreCase
in classUri.Host
-
isNamedHost
public boolean isNamedHost()
- Overrides:
isNamedHost
in classUri.Host
-
inetAddresses
public scala.collection.immutable.List<java.net.InetAddress> inetAddresses()
- Specified by:
inetAddresses
in classUri.Host
-
-