Class Uri.Host
java.lang.Object
org.apache.pekko.http.javadsl.model.Host
org.apache.pekko.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 Stringaddress()Returns a String representation of the address.abstract booleanequalsIgnoreCase(Uri.Host other) Java APIabstract scala.collection.immutable.Seq<InetAddress>abstract booleanisEmpty()booleanisIPv4()booleanisIPv6()booleanabstract scala.Option<Uri.NonEmptyHost>toOption()toString()
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
address
Description copied from class:HostReturns a String representation of the address. -
isEmpty
public abstract boolean isEmpty() -
toOption
-
inetAddresses
-
equalsIgnoreCase
-
toString
-
isNamedHost
public boolean isNamedHost()- Specified by:
isNamedHostin classHost
-
isIPv6
public boolean isIPv6() -
isIPv4
public boolean isIPv4() -
getInetAddresses
Java API- Specified by:
getInetAddressesin classHost
-