public abstract class RemoteAddress extends RemoteAddress implements ValueRenderable
Modifier and Type | Class and Description |
---|---|
static class |
RemoteAddress.IP |
static class |
RemoteAddress.IP$ |
static class |
RemoteAddress.Unknown$ |
Constructor and Description |
---|
RemoteAddress() |
Modifier and Type | Method and Description |
---|---|
static RemoteAddress |
apply(byte[] bytes) |
static RemoteAddress.IP |
apply(java.net.InetAddress a,
scala.Option<java.lang.Object> port) |
static RemoteAddress.IP |
apply(java.net.InetSocketAddress a) |
java.util.Optional<java.net.InetAddress> |
getAddress()
Java API
|
int |
getPort()
Java API
|
abstract boolean |
isUnknown() |
static java.lang.Object |
renderWithoutPort() |
abstract scala.Option<RemoteAddress.IP> |
toIP() |
abstract scala.Option<java.net.InetAddress> |
toOption() |
create, create, create
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
value
toString
render
public static RemoteAddress.IP apply(java.net.InetAddress a, scala.Option<java.lang.Object> port)
public static RemoteAddress.IP apply(java.net.InetSocketAddress a)
public static RemoteAddress apply(byte[] bytes)
public static java.lang.Object renderWithoutPort()
public abstract scala.Option<java.net.InetAddress> toOption()
public abstract scala.Option<RemoteAddress.IP> toIP()
public abstract boolean isUnknown()
isUnknown
in class RemoteAddress
public java.util.Optional<java.net.InetAddress> getAddress()
getAddress
in class RemoteAddress
public int getPort()
getPort
in class RemoteAddress