Package akka.http.scaladsl.model
Class RemoteAddress
java.lang.Object
akka.http.javadsl.model.RemoteAddress
akka.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 class
static class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteAddress
apply
(byte[] bytes) static RemoteAddress.IP
apply
(InetAddress a, scala.Option<Object> port) static RemoteAddress.IP
Java APIint
getPort()
Java APIabstract boolean
static Object
abstract scala.Option<RemoteAddress.IP>
toIP()
abstract scala.Option<InetAddress>
toOption()
Methods inherited from class akka.http.javadsl.model.RemoteAddress
create, create, create
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface akka.http.impl.util.Renderable
render
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
Methods inherited from interface akka.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:
isUnknown
in classRemoteAddress
-
getAddress
Java API- Specified by:
getAddress
in classRemoteAddress
-
getPort
public int getPort()Java API- Specified by:
getPort
in classRemoteAddress
-