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, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
protected 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.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
1.1.14-SNAPSHOT - Copyright © 2018 Talend Component Kit Documentation