public final class ProxyTunnelInitHandler
extends io.netty.channel.ChannelDuplexHandler
| Modifier and Type | Field and Description |
|---|---|
static NettyClientLogger |
log |
| Constructor and 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) |
| Modifier and Type | Method and 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) |
bind, close, connect, deregister, disconnect, flush, read, writepublic static final NettyClientLogger log
public ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool,
String proxyUsername,
String proxyPassword,
URI remoteHost,
io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)
public ProxyTunnelInitHandler(io.netty.channel.pool.ChannelPool sourcePool,
URI remoteHost,
io.netty.util.concurrent.Promise<io.netty.channel.Channel> initPromise)
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)
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.ChannelInboundHandlerAdapterpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2023. All rights reserved.