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) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
protected void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request) |
acceptInboundMessage, channelRead
bind, channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered, write
protected final HttpApiHandler api
public PassthroughHandler()
protected void messageReceived(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request)
messageReceived
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 class io.netty.channel.ChannelHandlerAdapter
1.1.10-SNAPSHOT - Copyright © 2018 Talend Component Kit Documentation