Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
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.
|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
Modifier and Type | Class and Description |
---|---|
private static class |
ByteBufUtil.IndexOfProcessor |
Modifier and Type | Field and Description |
---|---|
static ByteBufProcessor |
ByteBufProcessor.FIND_CR
Aborts on a
CR ('\r') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_CRLF
Aborts on a
CR ('\r') or a LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_LF
Aborts on a
LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_LINEAR_WHITESPACE
Aborts on a linear whitespace (a (
' ' or a '\t' ). |
private static ByteBufProcessor |
ByteBufUtil.FIND_NON_ASCII
Aborts on a byte which is not a valid ASCII character.
|
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_CR
Aborts on a non-
CR ('\r') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_CRLF
Aborts on a byte which is neither a
CR ('\r') nor a LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_LF
Aborts on a non-
LF ('\n') . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_LINEAR_WHITESPACE
Aborts on a byte which is not a linear whitespace (neither
' ' nor '\t' ). |
static ByteBufProcessor |
ByteBufProcessor.FIND_NON_NUL
Aborts on a non-
NUL (0x00) . |
static ByteBufProcessor |
ByteBufProcessor.FIND_NUL
Aborts on a
NUL (0x00) . |
Modifier and Type | Method and Description |
---|---|
abstract int |
ByteBuf.forEachByte(ByteBufProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in ascending order. |
int |
SwappedByteBuf.forEachByte(ByteBufProcessor processor) |
int |
AbstractByteBuf.forEachByte(ByteBufProcessor processor) |
int |
AdvancedLeakAwareByteBuf.forEachByte(ByteBufProcessor processor) |
int |
WrappedCompositeByteBuf.forEachByte(ByteBufProcessor processor) |
int |
EmptyByteBuf.forEachByte(ByteBufProcessor processor) |
int |
AdvancedLeakAwareCompositeByteBuf.forEachByte(ByteBufProcessor processor) |
int |
WrappedByteBuf.forEachByte(ByteBufProcessor processor) |
int |
DuplicatedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
abstract int |
ByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in ascending order. |
int |
SwappedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
AbstractByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
AdvancedLeakAwareByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
ReadOnlyByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
int |
WrappedCompositeByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
EmptyByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
SlicedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
int |
AdvancedLeakAwareCompositeByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
WrappedByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
private int |
AbstractByteBuf.forEachByteAsc0(int start,
int end,
ByteBufProcessor processor) |
abstract int |
ByteBuf.forEachByteDesc(ByteBufProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in descending order. |
int |
SwappedByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
AbstractByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
AdvancedLeakAwareByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
WrappedCompositeByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
EmptyByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
AdvancedLeakAwareCompositeByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
WrappedByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
DuplicatedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
abstract int |
ByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in descending order. |
int |
SwappedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
AbstractByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
AdvancedLeakAwareByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
ReadOnlyByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
int |
WrappedCompositeByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
EmptyByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
SlicedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor)
Deprecated.
|
int |
AdvancedLeakAwareCompositeByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
int |
WrappedByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
private int |
AbstractByteBuf.forEachByteDesc0(int rStart,
int rEnd,
ByteBufProcessor processor) |
Modifier and Type | Method and Description |
---|---|
int |
ReplayingDecoderByteBuf.forEachByte(ByteBufProcessor processor) |
int |
ReplayingDecoderByteBuf.forEachByte(int index,
int length,
ByteBufProcessor processor) |
int |
ReplayingDecoderByteBuf.forEachByteDesc(ByteBufProcessor processor) |
int |
ReplayingDecoderByteBuf.forEachByteDesc(int index,
int length,
ByteBufProcessor processor) |
Modifier and Type | Class and Description |
---|---|
private static class |
HttpObjectDecoder.HeaderParser |
private static class |
HttpObjectDecoder.LineParser |
Modifier and Type | Class and Description |
---|---|
(package private) class |
Utf8Validator
Checks UTF8 bytes for validity
|