Class RequestContext
- java.lang.Object
-
- software.amazon.awssdk.http.nio.netty.internal.RequestContext
-
public final class RequestContext extends Object
-
-
Constructor Summary
Constructors Constructor Description RequestContext(SdkChannelPool channelPool, io.netty.channel.EventLoopGroup eventLoopGroup, AsyncExecuteRequest executeRequest, NettyConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SdkChannelPoolchannelPool()NettyConfigurationconfiguration()io.netty.channel.EventLoopGroupeventLoopGroup()AsyncExecuteRequestexecuteRequest()SdkAsyncHttpResponseHandlerhandler()Convenience method to retrieve theSdkAsyncHttpResponseHandlercontained in theAsyncExecuteRequestreturned byexecuteRequest.MetricCollectormetricCollector()
-
-
-
Constructor Detail
-
RequestContext
public RequestContext(SdkChannelPool channelPool, io.netty.channel.EventLoopGroup eventLoopGroup, AsyncExecuteRequest executeRequest, NettyConfiguration configuration)
-
-
Method Detail
-
channelPool
public SdkChannelPool channelPool()
-
eventLoopGroup
public io.netty.channel.EventLoopGroup eventLoopGroup()
-
executeRequest
public AsyncExecuteRequest executeRequest()
-
handler
public SdkAsyncHttpResponseHandler handler()
Convenience method to retrieve theSdkAsyncHttpResponseHandlercontained in theAsyncExecuteRequestreturned byexecuteRequest.- Returns:
- The response handler for this request.
-
configuration
public NettyConfiguration configuration()
-
metricCollector
public MetricCollector metricCollector()
-
-