Class RemoteAddress.IP
java.lang.Object
org.apache.pekko.http.javadsl.model.RemoteAddress
org.apache.pekko.http.scaladsl.model.RemoteAddress
org.apache.pekko.http.scaladsl.model.RemoteAddress.IP
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ValueRenderable,scala.Equals,scala.Product
- Enclosing class:
- RemoteAddress
public static final class RemoteAddress.IP
extends RemoteAddress
implements scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.RemoteAddress
RemoteAddress.IP, RemoteAddress.IP$, RemoteAddress.Unknown$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionip()booleanscala.Option<Object>port()render(R r) scala.Some<RemoteAddress.IP>toIP()scala.Option<InetAddress>toOption()Methods inherited from class org.apache.pekko.http.scaladsl.model.RemoteAddress
apply, apply, apply, getAddress, getPort, renderWithoutPortMethods 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 scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderable
value
-
Constructor Details
-
IP
-
-
Method Details
-
ip
-
port
-
toOption
- Specified by:
toOptionin classRemoteAddress
-
toIP
- Specified by:
toIPin classRemoteAddress
-
render
- Specified by:
renderin interfaceRenderable
-
isUnknown
public boolean isUnknown()- Specified by:
isUnknownin classRemoteAddress
-