public final class ProxyTunnelInitHandler
extends io.netty.channel.ChannelDuplexHandler
| Constructor and Description |
|---|
ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool,
URI remoteHost,
io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise) |
ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool,
URI remoteHost,
io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise,
Supplier<io.netty.handler.codec.http.HttpClientCodec> httpCodecSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
void |
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) |
bind, close, connect, deregister, disconnect, flush, read, writechannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredpublic ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool,
URI remoteHost,
io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
handlerAdded in interface io.netty.channel.ChannelHandlerhandlerAdded in class io.netty.channel.ChannelHandlerAdapterpublic void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
handlerRemoved in interface io.netty.channel.ChannelHandlerhandlerRemoved in class io.netty.channel.ChannelHandlerAdapterpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2020. All rights reserved.