Class RemoteAddress
java.lang.Object
org.apache.pekko.http.javadsl.model.RemoteAddress
- Direct Known Subclasses:
- RemoteAddress
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic RemoteAddresscreate(byte[] address) static RemoteAddresscreate(InetAddress address) static RemoteAddresscreate(InetSocketAddress address) abstract Optional<InetAddress>abstract intgetPort()Returns a port if defined or 0 otherwise.abstract boolean
- 
Constructor Details- 
RemoteAddresspublic RemoteAddress()
 
- 
- 
Method Details- 
isUnknownpublic abstract boolean isUnknown()
- 
getAddress
- 
getPortpublic abstract int getPort()Returns a port if defined or 0 otherwise.
- 
create
- 
create
- 
create
 
-