Class Http1TunnelConnectionPool
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.Http1TunnelConnectionPool
- All Implemented Interfaces:
 io.netty.channel.pool.ChannelPool,Closeable,AutoCloseable
Connection pool that knows how to establish a tunnel using the HTTP CONNECT method.
- 
Constructor Summary
ConstructorsConstructorDescriptionHttp1TunnelConnectionPool(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 Summary
Modifier 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
- 
Http1TunnelConnectionPool
public 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)  - 
Http1TunnelConnectionPool
public 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
- 
acquire
public io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire()- Specified by:
 acquirein interfaceio.netty.channel.pool.ChannelPool
 - 
acquire
public io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire(io.netty.util.concurrent.Promise<io.netty.channel.Channel> promise) - Specified by:
 acquirein interfaceio.netty.channel.pool.ChannelPool
 - 
release
- Specified by:
 releasein interfaceio.netty.channel.pool.ChannelPool
 - 
release
public io.netty.util.concurrent.Future<Void> release(io.netty.channel.Channel channel, io.netty.util.concurrent.Promise<Void> promise) - Specified by:
 releasein interfaceio.netty.channel.pool.ChannelPool
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceio.netty.channel.pool.ChannelPool- Specified by:
 closein interfaceCloseable
 
 -