Class RemoteAddress
java.lang.Object
org.apache.pekko.http.javadsl.model.RemoteAddress
org.apache.pekko.http.scaladsl.model.RemoteAddress
- All Implemented Interfaces:
- Renderable,- ToStringRenderable,- ValueRenderable
- Direct Known Subclasses:
- RemoteAddress.IP,- RemoteAddress.Unknown$
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic RemoteAddressapply(byte[] bytes) static RemoteAddress.IPapply(InetAddress a, scala.Option<Object> port) static RemoteAddress.IPJava APIintgetPort()Java APIabstract booleanstatic Objectabstract scala.Option<RemoteAddress.IP>toIP()abstract scala.Option<InetAddress>toOption()Methods inherited from class org.apache.pekko.http.javadsl.model.RemoteAddresscreate, create, createMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.RenderablerenderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderablevalue
- 
Constructor Details- 
RemoteAddresspublic RemoteAddress()
 
- 
- 
Method Details- 
apply
- 
apply
- 
apply
- 
renderWithoutPort
- 
toOption
- 
toIP
- 
isUnknownpublic abstract boolean isUnknown()- Specified by:
- isUnknownin class- RemoteAddress
 
- 
getAddressJava API- Specified by:
- getAddressin class- RemoteAddress
 
- 
getPortpublic int getPort()Java API- Specified by:
- getPortin class- RemoteAddress
 
 
-