Class Uri.NamedHost
java.lang.Object
org.apache.pekko.http.javadsl.model.Host
org.apache.pekko.http.scaladsl.model.Uri.Host
org.apache.pekko.http.scaladsl.model.Uri.NonEmptyHost
org.apache.pekko.http.scaladsl.model.Uri.NamedHost
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing class:
- Uri
public static final class Uri.NamedHost
extends Uri.NonEmptyHost
implements scala.Product, Serializable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns a String representation of the address.booleanequalsIgnoreCase(Uri.Host other) scala.collection.immutable.List<InetAddress>booleanMethods inherited from class org.apache.pekko.http.scaladsl.model.Uri.NonEmptyHost
isEmpty, toOptionMethods inherited from class org.apache.pekko.http.scaladsl.model.Uri.Host
getInetAddresses, isIPv4, isIPv6, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
NamedHost
-
-
Method Details
-
address
Description copied from class:HostReturns a String representation of the address. -
equalsIgnoreCase
- Specified by:
equalsIgnoreCasein classUri.Host
-
isNamedHost
public boolean isNamedHost()- Overrides:
isNamedHostin classUri.Host
-
inetAddresses
- Specified by:
inetAddressesin classUri.Host
-