public static final class Http.ServerBinding
extends java.lang.Object
implements scala.Product, scala.Serializable
param: localAddress The local address of the endpoint bound by the materialization of the connections
Source
Constructor and Description |
---|
ServerBinding(java.net.InetSocketAddress localAddress,
scala.Function0<scala.concurrent.Future<scala.runtime.BoxedUnit>> unbindAction) |
Modifier and Type | Method and Description |
---|---|
java.net.InetSocketAddress |
localAddress() |
scala.concurrent.Future<scala.runtime.BoxedUnit> |
unbind()
Asynchronously triggers the unbinding of the port that was bound by the materialization of the
connections
Source |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ServerBinding(java.net.InetSocketAddress localAddress, scala.Function0<scala.concurrent.Future<scala.runtime.BoxedUnit>> unbindAction)
public java.net.InetSocketAddress localAddress()
public scala.concurrent.Future<scala.runtime.BoxedUnit> unbind()
connections
Source
The produced Future
is fulfilled when the unbinding has been completed.