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 |
|---|---|
Completable |
closeAsync() |
Completable |
closeAsyncGracefully() |
HttpExecutionContext |
executionContext() |
SocketAddress |
localAddress() |
Completable |
onClose() |
HttpProtocolVersion |
protocol() |
SocketAddress |
remoteAddress() |
<T> T |
socketOption(SocketOption<T> option) |
SSLSession |
sslSession() |
blockingStreamingResponseFactory, headersFactory, responseFactory, streamingResponseFactorypublic DelegatingHttpServiceContext(HttpServiceContext other)
other - HttpServiceContext to delegate all calls.public SocketAddress localAddress()
public SocketAddress remoteAddress()
@Nullable public SSLSession sslSession()
public HttpExecutionContext executionContext()
@Nullable public <T> T socketOption(SocketOption<T> option)
public HttpProtocolVersion protocol()
public Completable onClose()
public Completable closeAsync()
public Completable closeAsyncGracefully()