Class Http1TunnelConnectionPool
- java.lang.Object
-
- software.amazon.awssdk.http.nio.netty.internal.Http1TunnelConnectionPool
-
- All Implemented Interfaces:
io.netty.channel.pool.ChannelPool
,Closeable
,AutoCloseable
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 Summary
Constructors Constructor Description 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(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.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)
void
close()
io.netty.util.concurrent.Future<Void>
release(io.netty.channel.Channel channel)
io.netty.util.concurrent.Future<Void>
release(io.netty.channel.Channel channel, io.netty.util.concurrent.Promise<Void> promise)
-
-
-
Constructor Detail
-
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 Detail
-
acquire
public io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire()
- Specified by:
acquire
in 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:
acquire
in interfaceio.netty.channel.pool.ChannelPool
-
release
public io.netty.util.concurrent.Future<Void> release(io.netty.channel.Channel channel)
- Specified by:
release
in 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:
release
in interfaceio.netty.channel.pool.ChannelPool
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceio.netty.channel.pool.ChannelPool
- Specified by:
close
in interfaceCloseable
-
-