public class ChunkedFramingMechanismEncoder
extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CHUNK_SIZE |
static int |
MAX_CHUNK_SIZE |
static int |
MIN_CHUNK_SIZE |
| Constructor and Description |
|---|
ChunkedFramingMechanismEncoder() |
ChunkedFramingMechanismEncoder(int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg,
io.netty.buffer.ByteBuf out) |
int |
getChunkSize() |
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final int DEFAULT_CHUNK_SIZE
public static final int MIN_CHUNK_SIZE
public static final int MAX_CHUNK_SIZE
Copyright © 2017 OpenDaylight. All rights reserved.