Package akka.http.scaladsl.model
Class Uri.IPv4Host
- java.lang.Object
-
- akka.http.javadsl.model.Host
-
- akka.http.scaladsl.model.Uri.Host
-
- akka.http.scaladsl.model.Uri.NonEmptyHost
-
- akka.http.scaladsl.model.Uri.IPv4Host
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Uri
public static final class Uri.IPv4Host extends Uri.NonEmptyHost implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IPv4Host(scala.collection.immutable.Seq<java.lang.Object> bytes, java.lang.String address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
address()
Returns a String representation of the address.scala.collection.immutable.Seq<java.lang.Object>
bytes()
boolean
equalsIgnoreCase(Uri.Host other)
scala.collection.immutable.Seq<java.net.InetAddress>
inetAddresses()
boolean
isIPv4()
-
Methods inherited from class akka.http.scaladsl.model.Uri.NonEmptyHost
isEmpty, toOption
-
Methods inherited from class akka.http.scaladsl.model.Uri.Host
getInetAddresses, isIPv6, isNamedHost, toString
-
-
-
-
Method Detail
-
bytes
public scala.collection.immutable.Seq<java.lang.Object> bytes()
-
address
public java.lang.String address()
Description copied from class:Host
Returns a String representation of the address.
-
equalsIgnoreCase
public boolean equalsIgnoreCase(Uri.Host other)
- Specified by:
equalsIgnoreCase
in classUri.Host
-
inetAddresses
public scala.collection.immutable.Seq<java.net.InetAddress> inetAddresses()
- Specified by:
inetAddresses
in classUri.Host
-
-