Package akka.http.scaladsl.model
Class Uri.Host
- java.lang.Object
-
- akka.http.javadsl.model.Host
-
- akka.http.scaladsl.model.Uri.Host
-
- Direct Known Subclasses:
Uri.Host$.Empty$
,Uri.NonEmptyHost
- Enclosing class:
- Uri
public abstract static class Uri.Host extends Host
-
-
Constructor Summary
Constructors Constructor Description Host()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String
address()
Returns a String representation of the address.abstract boolean
equalsIgnoreCase(Uri.Host other)
java.lang.Iterable<java.net.InetAddress>
getInetAddresses()
Java APIabstract scala.collection.immutable.Seq<java.net.InetAddress>
inetAddresses()
abstract boolean
isEmpty()
boolean
isIPv4()
boolean
isIPv6()
boolean
isNamedHost()
abstract scala.Option<Uri.NonEmptyHost>
toOption()
java.lang.String
toString()
-
-
-
Method Detail
-
address
public abstract java.lang.String address()
Description copied from class:Host
Returns a String representation of the address.
-
toOption
public abstract scala.Option<Uri.NonEmptyHost> toOption()
-
inetAddresses
public abstract scala.collection.immutable.Seq<java.net.InetAddress> inetAddresses()
-
equalsIgnoreCase
public abstract boolean equalsIgnoreCase(Uri.Host other)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isNamedHost
public boolean isNamedHost()
- Specified by:
isNamedHost
in classHost
-
getInetAddresses
public java.lang.Iterable<java.net.InetAddress> getInetAddresses()
Java API- Specified by:
getInetAddresses
in classHost
-
-