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 - 
Constructor Summary
ConstructorsConstructorDescriptionProxyTunnelInitHandler(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 TypeMethodDescriptionvoidchannelInactive(io.netty.channel.ChannelHandlerContext ctx) voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) voidhandlerRemoved(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read, writeMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
isSharable 
- 
Field Details
- 
log
 
 - 
 - 
Constructor Details
- 
ProxyTunnelInitHandler
 - 
ProxyTunnelInitHandler
public ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool, URI remoteHost, io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)  - 
ProxyTunnelInitHandler
 
 - 
 - 
Method Details
- 
handlerAdded
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
 handlerAddedin interfaceio.netty.channel.ChannelHandler- Overrides:
 handlerAddedin classio.netty.channel.ChannelHandlerAdapter
 - 
handlerRemoved
public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
 handlerRemovedin interfaceio.netty.channel.ChannelHandler- Overrides:
 handlerRemovedin classio.netty.channel.ChannelHandlerAdapter
 - 
channelRead
- Specified by:
 channelReadin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
 channelReadin classio.netty.channel.ChannelInboundHandlerAdapter
 - 
channelInactive
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
 channelInactivein interfaceio.netty.channel.ChannelInboundHandler- Overrides:
 channelInactivein classio.netty.channel.ChannelInboundHandlerAdapter
 - 
exceptionCaught
- Specified by:
 exceptionCaughtin interfaceio.netty.channel.ChannelHandler- Specified by:
 exceptionCaughtin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
 exceptionCaughtin classio.netty.channel.ChannelInboundHandlerAdapter
 
 -