public class DelegatingHttpExecutionContext extends Object implements HttpExecutionContext
HttpExecutionContext that delegates all method calls to another
HttpExecutionContext.| Constructor and Description |
|---|
DelegatingHttpExecutionContext(HttpExecutionContext delegate)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BufferAllocator |
bufferAllocator() |
protected HttpExecutionContext |
delegate()
Get the
HttpExecutionContext that this class delegates to. |
HttpExecutionStrategy |
executionStrategy()
Returns the
HttpExecutionStrategy associated with this context. |
Executor |
executor() |
IoExecutor |
ioExecutor() |
public DelegatingHttpExecutionContext(HttpExecutionContext delegate)
delegate - HttpExecutionContext to delegate all calls.protected final HttpExecutionContext delegate()
HttpExecutionContext that this class delegates to.HttpExecutionContext that this class delegates to.public HttpExecutionStrategy executionStrategy()
HttpExecutionContextHttpExecutionStrategy associated with this context.executionStrategy in interface HttpExecutionContextexecutionStrategy in interface ExecutionContext<HttpExecutionStrategy>HttpExecutionStrategy associated with this context.public BufferAllocator bufferAllocator()
bufferAllocator in interface ExecutionContext<HttpExecutionStrategy>public IoExecutor ioExecutor()
ioExecutor in interface ExecutionContext<HttpExecutionStrategy>public Executor executor()
executor in interface ExecutionContext<HttpExecutionStrategy>