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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier 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.RemoteAddress
create, create, createMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.Renderable
renderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderable
value
-
Constructor Details
-
RemoteAddress
public RemoteAddress()
-
-
Method Details
-
apply
-
apply
-
apply
-
renderWithoutPort
-
toOption
-
toIP
-
isUnknown
public abstract boolean isUnknown()- Specified by:
isUnknownin classRemoteAddress
-
getAddress
Java API- Specified by:
getAddressin classRemoteAddress
-
getPort
public int getPort()Java API- Specified by:
getPortin classRemoteAddress
-