Package akka.http.scaladsl.model
Class RemoteAddress.IP
- java.lang.Object
-
- akka.http.javadsl.model.RemoteAddress
-
- akka.http.scaladsl.model.RemoteAddress
-
- akka.http.scaladsl.model.RemoteAddress.IP
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- RemoteAddress
public static final class RemoteAddress.IP extends RemoteAddress implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.RemoteAddress
RemoteAddress.IP, RemoteAddress.IP$, RemoteAddress.Unknown$
-
-
Constructor Summary
Constructors Constructor Description IP(java.net.InetAddress ip, scala.Option<java.lang.Object> port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddress
ip()
boolean
isUnknown()
scala.Option<java.lang.Object>
port()
<R extends Rendering>
Renderingrender(R r)
scala.Some<RemoteAddress.IP>
toIP()
scala.Option<java.net.InetAddress>
toOption()
-
Methods inherited from class akka.http.scaladsl.model.RemoteAddress
apply, apply, apply, getAddress, getPort, renderWithoutPort
-
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 scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
-
-
-
Method Detail
-
ip
public java.net.InetAddress ip()
-
port
public scala.Option<java.lang.Object> port()
-
toOption
public scala.Option<java.net.InetAddress> toOption()
- Specified by:
toOption
in classRemoteAddress
-
toIP
public scala.Some<RemoteAddress.IP> toIP()
- Specified by:
toIP
in classRemoteAddress
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
isUnknown
public boolean isUnknown()
- Specified by:
isUnknown
in classRemoteAddress
-
-