public class DelegatingHttpServiceContext extends HttpServiceContext
HttpServiceContext that delegates all calls to a provided HttpServiceContext.
Any method can be overridden to change this default behavior.| Constructor and Description |
|---|
DelegatingHttpServiceContext(HttpServiceContext other)
New instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptConnections(boolean accept) |
Completable |
closeAsync() |
Completable |
closeAsyncGracefully() |
HttpServiceContext |
delegate()
Returns the delegate
HttpServiceContext. |
HttpExecutionContext |
executionContext() |
SocketAddress |
localAddress() |
Completable |
onClose() |
ConnectionContext |
parent() |
HttpProtocolVersion |
protocol() |
SocketAddress |
remoteAddress() |
<T> T |
socketOption(SocketOption<T> option) |
SslConfig |
sslConfig() |
SSLSession |
sslSession() |
String |
toString() |
blockingStreamingResponseFactory, headersFactory, responseFactory, streamingResponseFactorypublic DelegatingHttpServiceContext(HttpServiceContext other)
other - HttpServiceContext to delegate all calls.public HttpServiceContext delegate()
HttpServiceContext.HttpServiceContext.public String toString()
toString in class Objectpublic SocketAddress localAddress()
public SocketAddress remoteAddress()
@Nullable public SslConfig sslConfig()
@Nullable public SSLSession sslSession()
public HttpExecutionContext executionContext()
@Nullable public <T> T socketOption(SocketOption<T> option)
public HttpProtocolVersion protocol()
@Nullable public ConnectionContext parent()
public Completable onClose()
public Completable closeAsync()
public Completable closeAsyncGracefully()
public void acceptConnections(boolean accept)