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.Stringaddress()Returns a String representation of the address.booleanequalsIgnoreCase(Uri.Host other)scala.collection.immutable.List<java.net.InetAddress>inetAddresses()booleanisNamedHost()-
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:HostReturns a String representation of the address.
-
equalsIgnoreCase
public boolean equalsIgnoreCase(Uri.Host other)
- Specified by:
equalsIgnoreCasein classUri.Host
-
isNamedHost
public boolean isNamedHost()
- Overrides:
isNamedHostin classUri.Host
-
inetAddresses
public scala.collection.immutable.List<java.net.InetAddress> inetAddresses()
- Specified by:
inetAddressesin classUri.Host
-
-