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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
address()
Returns a String representation of the address.abstract boolean
equalsIgnoreCase
(Uri.Host other) Java APIabstract scala.collection.immutable.Seq<InetAddress>
abstract boolean
isEmpty()
boolean
isIPv4()
boolean
isIPv6()
boolean
abstract scala.Option<Uri.NonEmptyHost>
toOption()
toString()
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
address
Description copied from class:Host
Returns a String representation of the address. -
isEmpty
public abstract boolean isEmpty() -
toOption
-
inetAddresses
-
equalsIgnoreCase
-
toString
-
isNamedHost
public boolean isNamedHost()- Specified by:
isNamedHost
in classHost
-
isIPv6
public boolean isIPv6() -
isIPv4
public boolean isIPv4() -
getInetAddresses
Java API- Specified by:
getInetAddresses
in classHost
-