Package org.zalando.logbook.netty
Class LogbookServerHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
org.zalando.logbook.netty.LogbookServerHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,io.netty.channel.ChannelOutboundHandler
@API(status=EXPERIMENTAL)
@NotThreadSafe
public final class LogbookServerHandler
extends io.netty.channel.ChannelDuplexHandler
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description LogbookServerHandler() -
Method Summary
Modifier and Type Method Description voidchannelRead(io.netty.channel.ChannelHandlerContext context, java.lang.Object message)voidwrite(io.netty.channel.ChannelHandlerContext context, java.lang.Object message, io.netty.channel.ChannelPromise promise)Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
Constructor Details
-
LogbookServerHandler
public LogbookServerHandler()
-
-
Method Details
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext context, java.lang.Object message)- Specified by:
channelReadin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelReadin classio.netty.channel.ChannelInboundHandlerAdapter
-
write
public void write(io.netty.channel.ChannelHandlerContext context, java.lang.Object message, io.netty.channel.ChannelPromise promise)- Specified by:
writein interfaceio.netty.channel.ChannelOutboundHandler- Overrides:
writein classio.netty.channel.ChannelDuplexHandler
-