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, channelReadbind, channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered, writeprotected 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.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapter1.1.12-SNAPSHOT - Copyright © 2018 Talend Component Kit Documentation