public class ProxyRemoteHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.handler.codec.http.FullHttpRequest |
currentRequest |
protected io.netty.channel.Channel |
remoteChannel |
| Constructor and Description |
|---|
ProxyRemoteHandler(ProxyContext proxyContext,
ProxyClientHandler clientHandler,
io.netty.handler.codec.http.FullHttpRequest initialRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpResponse response) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
protected void |
send(io.netty.handler.codec.http.FullHttpRequest request) |
String |
toString() |
acceptInboundMessage, channelReadchannelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected io.netty.channel.Channel remoteChannel
protected io.netty.handler.codec.http.FullHttpRequest currentRequest
public ProxyRemoteHandler(ProxyContext proxyContext, ProxyClientHandler clientHandler, io.netty.handler.codec.http.FullHttpRequest initialRequest)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpResponse response)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>Exceptionprotected void send(io.netty.handler.codec.http.FullHttpRequest request)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive 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 © 2020. All rights reserved.