public class DelegatingHttpConnectionContext extends DelegatingConnectionContext implements HttpConnectionContext
HttpConnectionContext implementation that delegates all calls to a provided HttpConnectionContext.
Any of the methods can be overridden by implementations to change the behavior.HttpConnectionContext.HttpProtocol| Constructor and Description |
|---|
DelegatingHttpConnectionContext(HttpConnectionContext delegate)
New instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected HttpConnectionContext |
delegate()
Get the
HttpConnectionContext that this class delegates to. |
HttpExecutionContext |
executionContext() |
HttpConnectionContext.HttpProtocol |
protocol() |
closeAsync, closeAsyncGracefully, localAddress, onClose, remoteAddress, socketOption, sslSession, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DelegatingHttpConnectionContext(HttpConnectionContext delegate)
delegate - HttpConnectionContext to delegate all calls.protected final HttpConnectionContext delegate()
HttpConnectionContext that this class delegates to.delegate in class DelegatingConnectionContextHttpConnectionContext that this class delegates to.public HttpExecutionContext executionContext()
executionContext in interface HttpConnectionContextexecutionContext in interface ConnectionInfoexecutionContext in class DelegatingConnectionContextpublic HttpConnectionContext.HttpProtocol protocol()
protocol in interface HttpConnectionContextprotocol in interface ConnectionInfoprotocol in class DelegatingConnectionContext