Package | Description |
---|---|
io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
Modifier and Type | Field and Description |
---|---|
static ByteToMessageDecoder.Cumulator |
ByteToMessageDecoder.COMPOSITE_CUMULATOR
Cumulate
ByteBuf s by add them to a CompositeByteBuf and so do no memory copy whenever possible. |
static ByteToMessageDecoder.Cumulator |
ByteToMessageDecoder.MERGE_CUMULATOR
Cumulate
ByteBuf s by merge them into one ByteBuf 's, using memory copies. |
Modifier and Type | Method and Description |
---|---|
void |
ByteToMessageDecoder.setCumulator(ByteToMessageDecoder.Cumulator cumulator)
Set the
ByteToMessageDecoder.Cumulator to use for cumulate the received ByteBuf s. |
Copyright © 2008–2019 The Netty Project. All rights reserved.