public final class DefaultHttpExecutionContext extends Object implements HttpExecutionContext
HttpExecutionContext.| Constructor and Description |
|---|
DefaultHttpExecutionContext(BufferAllocator bufferAllocator,
IoExecutor ioExecutor,
Executor executor,
HttpExecutionStrategy executionStrategy)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BufferAllocator |
bufferAllocator() |
HttpExecutionStrategy |
executionStrategy()
Returns the
HttpExecutionStrategy associated with this context. |
Executor |
executor() |
IoExecutor |
ioExecutor() |
public DefaultHttpExecutionContext(BufferAllocator bufferAllocator,
IoExecutor ioExecutor,
Executor executor,
HttpExecutionStrategy executionStrategy)
bufferAllocator - The BufferAllocator to use for bufferAllocator().ioExecutor - The IoExecutor to use for ioExecutor().executor - The Executor to use for executor().executionStrategy - HttpExecutionStrategy to use for executionStrategy().public BufferAllocator bufferAllocator()
bufferAllocator in interface ExecutionContextpublic IoExecutor ioExecutor()
ioExecutor in interface ExecutionContextpublic Executor executor()
executor in interface ExecutionContextpublic HttpExecutionStrategy executionStrategy()
HttpExecutionContextHttpExecutionStrategy associated with this context.executionStrategy in interface HttpExecutionContextexecutionStrategy in interface ExecutionContextHttpExecutionStrategy associated with this context.