Class Http1TunnelConnectionPool
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.Http1TunnelConnectionPool
- All Implemented Interfaces:
- io.netty.channel.pool.ChannelPool,- Closeable,- AutoCloseable
@SdkInternalApi
public class Http1TunnelConnectionPool
extends Object
implements io.netty.channel.pool.ChannelPool
Connection pool that knows how to establish a tunnel using the HTTP CONNECT method.
- 
Constructor SummaryConstructorsConstructorDescriptionHttp1TunnelConnectionPool(io.netty.channel.EventLoop eventLoop, io.netty.channel.pool.ChannelPool delegate, io.netty.handler.ssl.SslContext sslContext, URI proxyAddress, String proxyUsername, String proxyPassword, URI remoteAddress, io.netty.channel.pool.ChannelPoolHandler handler, NettyConfiguration nettyConfiguration) Http1TunnelConnectionPool(io.netty.channel.EventLoop eventLoop, io.netty.channel.pool.ChannelPool delegate, io.netty.handler.ssl.SslContext sslContext, URI proxyAddress, URI remoteAddress, io.netty.channel.pool.ChannelPoolHandler handler, NettyConfiguration nettyConfiguration) 
- 
Method SummaryModifier and TypeMethodDescriptionio.netty.util.concurrent.Future<io.netty.channel.Channel> acquire()io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire(io.netty.util.concurrent.Promise<io.netty.channel.Channel> promise) voidclose()io.netty.util.concurrent.Future<Void> release(io.netty.channel.Channel channel) io.netty.util.concurrent.Future<Void> 
- 
Constructor Details- 
Http1TunnelConnectionPoolpublic Http1TunnelConnectionPool(io.netty.channel.EventLoop eventLoop, io.netty.channel.pool.ChannelPool delegate, io.netty.handler.ssl.SslContext sslContext, URI proxyAddress, String proxyUsername, String proxyPassword, URI remoteAddress, io.netty.channel.pool.ChannelPoolHandler handler, NettyConfiguration nettyConfiguration) 
- 
Http1TunnelConnectionPoolpublic Http1TunnelConnectionPool(io.netty.channel.EventLoop eventLoop, io.netty.channel.pool.ChannelPool delegate, io.netty.handler.ssl.SslContext sslContext, URI proxyAddress, URI remoteAddress, io.netty.channel.pool.ChannelPoolHandler handler, NettyConfiguration nettyConfiguration) 
 
- 
- 
Method Details- 
acquirepublic io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire()- Specified by:
- acquirein interface- io.netty.channel.pool.ChannelPool
 
- 
acquirepublic io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire(io.netty.util.concurrent.Promise<io.netty.channel.Channel> promise) - Specified by:
- acquirein interface- io.netty.channel.pool.ChannelPool
 
- 
release- Specified by:
- releasein interface- io.netty.channel.pool.ChannelPool
 
- 
release
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- io.netty.channel.pool.ChannelPool
- Specified by:
- closein interface- Closeable
 
 
-