Class ProxyTunnelInitHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
software.amazon.awssdk.http.nio.netty.internal.ProxyTunnelInitHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

public final class ProxyTunnelInitHandler extends io.netty.channel.ChannelDuplexHandler
Handler that initializes the HTTP tunnel.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NettyClientLogger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool, String proxyUsername, String proxyPassword, URI remoteHost, io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)
     
    ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool, String prosyUsername, String proxyPassword, URI remoteHost, io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise, Supplier<io.netty.handler.codec.http.HttpClientCodec> httpCodecSupplier)
     
    ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool, URI remoteHost, io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    channelInactive(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
     
    void
    exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
     
    void
    handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
     

    Methods inherited from class io.netty.channel.ChannelDuplexHandler

    bind, close, connect, deregister, disconnect, flush, read, write

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    isSharable

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ProxyTunnelInitHandler

      public ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool, String proxyUsername, String proxyPassword, URI remoteHost, io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)
    • ProxyTunnelInitHandler

      public ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool, URI remoteHost, io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)
    • ProxyTunnelInitHandler

      public ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool, String prosyUsername, String proxyPassword, URI remoteHost, io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise, Supplier<io.netty.handler.codec.http.HttpClientCodec> httpCodecSupplier)
  • Method Details

    • handlerAdded

      public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
      Specified by:
      handlerAdded in interface io.netty.channel.ChannelHandler
      Overrides:
      handlerAdded in class io.netty.channel.ChannelHandlerAdapter
    • handlerRemoved

      public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
      Specified by:
      handlerRemoved in interface io.netty.channel.ChannelHandler
      Overrides:
      handlerRemoved in class io.netty.channel.ChannelHandlerAdapter
    • channelRead

      public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
      Specified by:
      channelRead in interface io.netty.channel.ChannelInboundHandler
      Overrides:
      channelRead in class io.netty.channel.ChannelInboundHandlerAdapter
    • channelInactive

      public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
      Specified by:
      channelInactive in interface io.netty.channel.ChannelInboundHandler
      Overrides:
      channelInactive in class io.netty.channel.ChannelInboundHandlerAdapter
    • exceptionCaught

      public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
      Specified by:
      exceptionCaught in interface io.netty.channel.ChannelHandler
      Specified by:
      exceptionCaught in interface io.netty.channel.ChannelInboundHandler
      Overrides:
      exceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapter