Class Uri.IPv6Host
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.IPv6Host
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing class:
- Uri
public static final class Uri.IPv6Host
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.scala.collection.immutable.Seq<Object>bytes()booleanequalsIgnoreCase(Uri.Host other) scala.collection.immutable.Seq<InetAddress>booleanisIPv6()Methods 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, isNamedHost, 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
-
IPv6Host
public IPv6Host()
-
-
Method Details
-
bytes
-
address
Description copied from class:HostReturns a String representation of the address. -
equalsIgnoreCase
- Specified by:
equalsIgnoreCasein classUri.Host
-
isIPv6
public boolean isIPv6() -
inetAddresses
- Specified by:
inetAddressesin classUri.Host
-