Package akka.http.javadsl.model
Class RemoteAddress
java.lang.Object
akka.http.javadsl.model.RemoteAddress
- Direct Known Subclasses:
RemoteAddress
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteAddress
create
(byte[] address) static RemoteAddress
create
(InetAddress address) static RemoteAddress
create
(InetSocketAddress address) abstract Optional<InetAddress>
abstract int
getPort()
Returns a port if defined or 0 otherwise.abstract boolean
-
Constructor Details
-
RemoteAddress
public RemoteAddress()
-
-
Method Details
-
isUnknown
public abstract boolean isUnknown() -
getAddress
-
getPort
public abstract int getPort()Returns a port if defined or 0 otherwise. -
create
-
create
-
create
-