public final class Delimiters extends Object
DelimiterBasedFrameDecoder
.Modifier and Type | Method and Description |
---|---|
static io.netty.buffer.ByteBuf[] |
lineDelimiter()
Returns
CR ('\r') and LF ('\n') delimiters, which could
be used for text-based line protocols. |
static io.netty.buffer.ByteBuf[] |
nulDelimiter()
Returns a
NUL (0x00) delimiter, which could be used for
Flash XML socket or any similar protocols. |
public static io.netty.buffer.ByteBuf[] nulDelimiter()
NUL (0x00)
delimiter, which could be used for
Flash XML socket or any similar protocols.public static io.netty.buffer.ByteBuf[] lineDelimiter()
CR ('\r')
and LF ('\n')
delimiters, which could
be used for text-based line protocols.Copyright © 2008–2019 The Netty Project. All rights reserved.