Package io.servicetalk.http.api
Class DefaultHttpExecutionContext
java.lang.Object
io.servicetalk.transport.api.DefaultExecutionContext<HttpExecutionStrategy>
io.servicetalk.http.api.DefaultHttpExecutionContext
- All Implemented Interfaces:
HttpExecutionContext
,ExecutionContext<HttpExecutionStrategy>
public final class DefaultHttpExecutionContext
extends DefaultExecutionContext<HttpExecutionStrategy>
implements HttpExecutionContext
Default implementation of
HttpExecutionContext
.-
Constructor Summary
ConstructorDescriptionDefaultHttpExecutionContext
(BufferAllocator bufferAllocator, IoExecutor ioExecutor, Executor executor, HttpExecutionStrategy executionStrategy) Create a new instance. -
Method Summary
Methods inherited from class io.servicetalk.transport.api.DefaultExecutionContext
bufferAllocator, equals, executionStrategy, executor, hashCode, ioExecutor
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.servicetalk.transport.api.ExecutionContext
bufferAllocator, executor, ioExecutor
Methods inherited from interface io.servicetalk.http.api.HttpExecutionContext
executionStrategy
-
Constructor Details
-
DefaultHttpExecutionContext
public DefaultHttpExecutionContext(BufferAllocator bufferAllocator, IoExecutor ioExecutor, Executor executor, HttpExecutionStrategy executionStrategy) Create a new instance.- Parameters:
bufferAllocator
- TheBufferAllocator
to use forDefaultExecutionContext.bufferAllocator()
.ioExecutor
- TheIoExecutor
to use forDefaultExecutionContext.ioExecutor()
.executor
- TheExecutor
to use forDefaultExecutionContext.executor()
.executionStrategy
-HttpExecutionStrategy
to use forDefaultExecutionContext.executionStrategy()
.
-