public class DelegatingHttpExecutionContext extends java.lang.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()
Return the
BufferAllocator that can be used to allocate Buffer s if needed. |
HttpExecutionStrategy |
executionStrategy()
Returns the
HttpExecutionStrategy associated with this context. |
Executor |
executor()
Get the
Executor that is used to create any asynchronous sources. |
IoExecutor |
ioExecutor()
Get the
IoExecutor that is used to handle the IO. |
public DelegatingHttpExecutionContext(HttpExecutionContext delegate)
delegate
- HttpExecutionContext
to delegate all calls.public HttpExecutionStrategy executionStrategy()
HttpExecutionContext
HttpExecutionStrategy
associated with this context.executionStrategy
in interface HttpExecutionContext
executionStrategy
in interface ExecutionContext
HttpExecutionStrategy
associated with this context.public BufferAllocator bufferAllocator()
ExecutionContext
BufferAllocator
that can be used to allocate Buffer
s if needed.bufferAllocator
in interface ExecutionContext
BufferAllocator
to usepublic IoExecutor ioExecutor()
ExecutionContext
IoExecutor
that is used to handle the IO.ioExecutor
in interface ExecutionContext
IoExecutor
that is used to handle the.public Executor executor()
ExecutionContext
Executor
that is used to create any asynchronous sources.executor
in interface ExecutionContext
Executor
that is used to create any asynchronous sources.