Class HttpProxyHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

    public final class HttpProxyHandler
    extends ProxyHandler
    Handler that establishes a blind forwarding proxy tunnel using HTTP/1.1 CONNECT request. It can be used to establish plaintext or secure tunnels.

    HTTP users who need to connect to a message-forwarding HTTP proxy agent instead of a tunneling proxy should not use this handler.

    • Constructor Detail

      • HttpProxyHandler

        public HttpProxyHandler​(SocketAddress proxyAddress)
      • HttpProxyHandler

        public HttpProxyHandler​(SocketAddress proxyAddress,
                                io.netty.handler.codec.http.HttpHeaders headers)
      • HttpProxyHandler

        public HttpProxyHandler​(SocketAddress proxyAddress,
                                io.netty.handler.codec.http.HttpHeaders headers,
                                boolean ignoreDefaultPortsInConnectHostHeader)
      • HttpProxyHandler

        public HttpProxyHandler​(SocketAddress proxyAddress,
                                String username,
                                String password,
                                io.netty.handler.codec.http.HttpHeaders headers)
      • HttpProxyHandler

        public HttpProxyHandler​(SocketAddress proxyAddress,
                                String username,
                                String password,
                                io.netty.handler.codec.http.HttpHeaders headers,
                                boolean ignoreDefaultPortsInConnectHostHeader)