public final class Delimiters extends Object
DelimiterBasedFrameDecoder
.Modifier and Type | Method and Description |
---|---|
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.Copyright © 2008–2017 The Netty Project. All rights reserved.