public class PassthroughHandler extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>
| Modifier and Type | Field and Description |
|---|---|
protected HttpApiHandler |
api |
| Constructor and Description |
|---|
PassthroughHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeResponse(String requestUri,
io.netty.handler.codec.http.FullHttpRequest request,
Response resp,
Map<String,List<String>> headerFields) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected final HttpApiHandler api
public PassthroughHandler()
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>protected void beforeResponse(String requestUri, io.netty.handler.codec.http.FullHttpRequest request, Response resp, Map<String,List<String>> headerFields)
public 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.ChannelInboundHandlerAdapter1.1.14-SNAPSHOT - Copyright © 2018 Talend Component Kit Documentation