public class StringLineDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
ByteBufs into a list of strings delimited by a new line.| Constructor and Description |
|---|
StringLineDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
handlerRemoved0(io.netty.channel.ChannelHandlerContext ctx) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtprotected void handlerRemoved0(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
handlerRemoved0 in class io.netty.handler.codec.ByteToMessageDecoderjava.lang.Exceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderjava.lang.Exception