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.HttpProtocolConnectionContext.Protocol| 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()
Get the
ExecutionContext for this ConnectionContext. |
HttpConnectionContext.HttpProtocol |
protocol()
Get the
ConnectionContext.Protocol for this ConnectionContext. |
closeAsync, closeAsyncGracefully, localAddress, onClose, remoteAddress, socketOption, sslSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlocalAddress, remoteAddress, socketOption, sslSessiononClosecloseAsync, closeAsyncGracefullypublic 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()
ConnectionContextExecutionContext for this ConnectionContext.
The ExecutionContext.ioExecutor() will represent the thread responsible for IO for this
ConnectionContext. Note that this maybe different that what was used to create this object because
at this time a specific IoExecutor has been selected.
executionContext in interface HttpConnectionContextexecutionContext in interface ConnectionContextexecutionContext in class DelegatingConnectionContextExecutionContext for this ConnectionContext.public HttpConnectionContext.HttpProtocol protocol()
ConnectionContextConnectionContext.Protocol for this ConnectionContext.protocol in interface HttpConnectionContextprotocol in interface ConnectionContextprotocol in class DelegatingConnectionContextConnectionContext.Protocol for this ConnectionContext.