public final class Delimiters
extends java.lang.Object
DelimiterBasedFrameDecoder
.限定符和类型 | 方法和说明 |
---|---|
static ByteBuf[] |
lineDelimiter()
Returns
CR ('\r') and LF ('\n') delimiters, which could
be used for text-based line protocols. |
static ByteBuf[] |
nulDelimiter()
Returns a
NUL (0x00) delimiter, which could be used for
Flash XML socket or any similar protocols. |
public static ByteBuf[] nulDelimiter()
NUL (0x00)
delimiter, which could be used for
Flash XML socket or any similar protocols.public static ByteBuf[] lineDelimiter()
CR ('\r')
and LF ('\n')
delimiters, which could
be used for text-based line protocols.