-
- All Implemented Interfaces:
-
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,io.netty.channel.ChannelOutboundHandler
public class PlainTextHttpLoggingHandler extends ChannelDuplexHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPlainTextHttpLoggingHandler.FullHttpResponseBuilderpublic final classPlainTextHttpLoggingHandler.FullHttpRequestBuilder
-
Constructor Summary
Constructors Constructor Description PlainTextHttpLoggingHandler(HeaderStatementProvider headerStatementProvider, BodyStatementProvider bodyStatementProvider, LogStatementHandler handler)
-
Method Summary
Modifier and Type Method Description Unitwrite(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)UnitchannelRead(ChannelHandlerContext ctx, Object msg)UnitchannelInactive(ChannelHandlerContext ctx)-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, handlerRemoved, isSharable -
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered -
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PlainTextHttpLoggingHandler
PlainTextHttpLoggingHandler(HeaderStatementProvider headerStatementProvider, BodyStatementProvider bodyStatementProvider, LogStatementHandler handler)
-
-
Method Detail
-
channelRead
Unit channelRead(ChannelHandlerContext ctx, Object msg)
-
channelInactive
Unit channelInactive(ChannelHandlerContext ctx)
-
-
-
-