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
ConstructorsConstructorDescriptionDefaultHttpExecutionContext(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, ioExecutorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.servicetalk.transport.api.ExecutionContext
bufferAllocator, executor, ioExecutorMethods 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- TheBufferAllocatorto use forDefaultExecutionContext.bufferAllocator().ioExecutor- TheIoExecutorto use forDefaultExecutionContext.ioExecutor().executor- TheExecutorto use forDefaultExecutionContext.executor().executionStrategy-HttpExecutionStrategyto use forDefaultExecutionContext.executionStrategy().
-