public final class RequestContext extends Object
Constructor and Description |
---|
RequestContext(SdkChannelPool channelPool,
io.netty.channel.EventLoopGroup eventLoopGroup,
AsyncExecuteRequest executeRequest,
NettyConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
SdkChannelPool |
channelPool() |
NettyConfiguration |
configuration() |
io.netty.channel.EventLoopGroup |
eventLoopGroup() |
AsyncExecuteRequest |
executeRequest() |
SdkAsyncHttpResponseHandler |
handler()
Convenience method to retrieve the
SdkAsyncHttpResponseHandler contained in the AsyncExecuteRequest
returned by executeRequest . |
MetricCollector |
metricCollector() |
public RequestContext(SdkChannelPool channelPool, io.netty.channel.EventLoopGroup eventLoopGroup, AsyncExecuteRequest executeRequest, NettyConfiguration configuration)
public SdkChannelPool channelPool()
public io.netty.channel.EventLoopGroup eventLoopGroup()
public AsyncExecuteRequest executeRequest()
public SdkAsyncHttpResponseHandler handler()
SdkAsyncHttpResponseHandler
contained in the AsyncExecuteRequest
returned by executeRequest
.public NettyConfiguration configuration()
public MetricCollector metricCollector()
Copyright © 2023. All rights reserved.