Class 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)  
    • 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 interface io.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 interface io.netty.channel.pool.ChannelPool
      • release

        public io.netty.util.concurrent.Future<Void> release​(io.netty.channel.Channel channel)
        Specified by:
        release in interface io.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 interface io.netty.channel.pool.ChannelPool
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface io.netty.channel.pool.ChannelPool
        Specified by:
        close in interface Closeable