ip4s-core
ip4s-core
com.comcast
com.comcast.ip4s
ip4s-core
/
com.comcast.ip4s
/
IpAddress$
IpAddress
object
IpAddress
extends
IpAddressCompanionPlatform
Companion
class
Graph
Super types
trait
IpAddressCompanionPlatform
class
Object
trait
Matchable
class
Any
Value members
Implicits
Value members
Methods
def
fromString
(value:
String
):
Option
[
IpAddress
]
Parses an IP address from a string, either in dotted decimal notation or in RFC4291 notation.
def
fromBytes
(bytes:
Array
[
Byte
]):
Option
[
IpAddress
]
Constructs an IP address from either a 4-element byte array or a 16-element byte array. Any other size array results in a
None
.
Inherited methods
def
fromInetAddress
(address:
InetAddress
):
IpAddress
Converts the supplied
InetAddress
to an
IpAddress
.
Inhertied from
IpAddressCompanionPlatform
def
loopback
[F <: ([_$1] =>>
Any
)](F:
Dns
[
F
]):
F
[
IpAddress
]
Gets an IP address repesenting the loopback interface.
Inhertied from
IpAddressCompanionPlatform
Implicits
Implicits
implicit
def
order
[A <:
IpAddress
]:
Order
[
A
]
implicit
def
ordering
[A <:
IpAddress
]:
Ordering
[
A
]