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 SdkChannelPool
channelPool()
NettyConfiguration
configuration()
io.netty.channel.EventLoopGroup
eventLoopGroup()
AsyncExecuteRequest
executeRequest()
SdkAsyncHttpResponseHandler
handler()
Convenience method to retrieve theSdkAsyncHttpResponseHandler
contained in theAsyncExecuteRequest
returned byexecuteRequest
.MetricCollector
metricCollector()
-
-
-
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 theSdkAsyncHttpResponseHandler
contained in theAsyncExecuteRequest
returned byexecuteRequest
.- Returns:
- The response handler for this request.
-
configuration
public NettyConfiguration configuration()
-
metricCollector
public MetricCollector metricCollector()
-
-