程序包 | 说明 |
---|---|
io.netty.buffer |
Benchmarks for
io.netty.buffer . |
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.oio |
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.udt |
UDT Transport.
|
io.netty.channel.udt.nio |
UDT Transport for NIO Channels.
|
io.netty.channel.unix |
Unix specific transport.
|
io.netty.example.factorial | |
io.netty.example.http.websocketx.benchmarkserver |
This package contains a benchmark application for websockets.
|
io.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
io.netty.example.http2 | |
io.netty.example.http2.helloworld.server | |
io.netty.example.http2.tiles | |
io.netty.example.portunification | |
io.netty.example.stomp.websocket | |
io.netty.example.udt.echo.bytes |
Examples show how to use UDT Byte Streams.
|
io.netty.example.udt.echo.rendezvousBytes |
Examples show how to use UDT Byte Streams Rendezvous.
|
io.netty.handler.codec |
Benchmarks for
io.netty.handler.codec . |
io.netty.handler.codec.base64 | |
io.netty.handler.codec.bytes |
Encoder and decoder which transform an array of bytes into a
ByteBuf and vice versa. |
io.netty.handler.codec.compression | |
io.netty.handler.codec.dns |
DNS codec.
|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
io.netty.handler.codec.http |
Benchmarks for
io.netty.handler.codec.http . |
io.netty.handler.codec.http.multipart |
Benchmarks for
io.netty.handler.codec.http.multipart . |
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
io.netty.handler.codec.json |
JSON specific codecs.
|
io.netty.handler.codec.marshalling |
Decoder and Encoder which uses JBoss Marshalling.
|
io.netty.handler.codec.memcache |
Common superset of ascii and binary classes.
|
io.netty.handler.codec.memcache.binary |
Implementations and Interfaces for the Memcache Binary protocol.
|
io.netty.handler.codec.mqtt |
Benchmarks for
io.netty.handler.codec.mqtt . |
io.netty.handler.codec.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
com.google.protobuf.Message and com.google.protobuf.nano.MessageNano into a
ByteBuf and vice versa. |
io.netty.handler.codec.redis |
Encoder, decoder for Redis.
|
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
io.netty.handler.codec.sctp |
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
|
io.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
io.netty.handler.codec.smtp |
SMTP codec.
|
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
io.netty.handler.codec.socksx |
Encoder, decoder and their related message types for SOCKS protocol.
|
io.netty.handler.codec.socksx.v4 |
Encoder, decoder and their related message types for SOCKSv4 protocol.
|
io.netty.handler.codec.socksx.v5 |
Encoder, decoder and their related message types for SOCKSv5 protocol.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.codec.stomp |
STOMP codec
|
io.netty.handler.codec.string |
Encoder and decoder which transform a
String into a
ByteBuf and vice versa. |
io.netty.handler.codec.xml |
XML codec provides asynchronous and non-blocking XML parser based on the
Aalto XML parser.
|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
io.netty.handler.stream |
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError . |
io.netty.testsuite.http2 |
This package is intended to test the http2 implementation against the specification
using h2spec
|
io.netty.testsuite.transport.socket |
Test suite classes for socket
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractByteBuf
A skeletal implementation of a buffer.
|
class |
AbstractDerivedByteBuf
已过时。
Do not use.
|
class |
AbstractReferenceCountedByteBuf
Abstract base class for
ByteBuf implementations that count references. |
class |
CompositeByteBuf
A virtual buffer which shows multiple buffers as a single merged buffer.
|
class |
DuplicatedByteBuf
已过时。
Do not use.
|
class |
EmptyByteBuf
An empty
ByteBuf whose capacity and maximum capacity are all 0 . |
class |
ReadOnlyByteBuf
已过时。
Do not use.
|
class |
SlicedByteBuf
已过时。
Do not use.
|
class |
SwappedByteBuf
已过时。
use the Little Endian accessors, e.g.
getShortLE , getIntLE
instead. |
class |
UnpooledDirectByteBuf
A NIO
ByteBuffer based buffer. |
class |
UnpooledHeapByteBuf
Big endian Java heap buffer implementation.
|
class |
UnpooledUnsafeDirectByteBuf
A NIO
ByteBuffer based buffer. |
class |
UnpooledUnsafeHeapByteBuf
Big endian Java heap buffer implementation.
|
限定符和类型 | 字段和说明 |
---|---|
static ByteBuf |
Unpooled.EMPTY_BUFFER
A buffer whose capacity is
0 . |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
ByteBufConvertible.asByteBuf()
Turn this object into a
ByteBuf . |
ByteBuf |
ByteBuf.asByteBuf()
A
ByteBuf can turn into itself. |
ByteBuf |
SwappedByteBuf.asReadOnly()
已过时。
|
ByteBuf |
ReadOnlyByteBuf.asReadOnly()
已过时。
|
ByteBuf |
EmptyByteBuf.asReadOnly() |
abstract ByteBuf |
ByteBuf.asReadOnly()
Returns a read-only version of this buffer.
|
ByteBuf |
AbstractByteBuf.asReadOnly() |
static ByteBuf |
Unpooled.buffer()
Creates a new big-endian Java heap buffer with reasonably small initial capacity, which
expands its capacity boundlessly on demand.
|
ByteBuf |
ByteBufOutputStream.buffer()
Returns the buffer where this stream is writing data.
|
ByteBuf |
ByteBufAllocator.buffer()
Allocate a
ByteBuf . |
ByteBuf |
AbstractByteBufAllocator.buffer() |
static ByteBuf |
Unpooled.buffer(int initialCapacity)
Creates a new big-endian Java heap buffer with the specified
capacity , which
expands its capacity boundlessly on demand. |
ByteBuf |
ByteBufAllocator.buffer(int initialCapacity)
Allocate a
ByteBuf with the given initial capacity. |
ByteBuf |
AbstractByteBufAllocator.buffer(int initialCapacity) |
static ByteBuf |
Unpooled.buffer(int initialCapacity,
int maxCapacity)
Creates a new big-endian Java heap buffer with the specified
initialCapacity , that may grow up to maxCapacity
The new buffer's readerIndex and writerIndex are
0 . |
ByteBuf |
ByteBufAllocator.buffer(int initialCapacity,
int maxCapacity)
Allocate a
ByteBuf with the given initial capacity and the given
maximal capacity. |
ByteBuf |
AbstractByteBufAllocator.buffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
UnpooledHeapByteBuf.capacity(int newCapacity) |
ByteBuf |
UnpooledDirectByteBuf.capacity(int newCapacity) |
ByteBuf |
SwappedByteBuf.capacity(int newCapacity)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.capacity(int newCapacity)
已过时。
|
ByteBuf |
EmptyByteBuf.capacity(int newCapacity) |
ByteBuf |
DuplicatedByteBuf.capacity(int newCapacity)
已过时。
|
abstract ByteBuf |
ByteBuf.capacity(int newCapacity)
Adjusts the capacity of this buffer.
|
ByteBuf |
SwappedByteBuf.clear()
已过时。
|
ByteBuf |
EmptyByteBuf.clear() |
abstract ByteBuf |
ByteBuf.clear()
Sets the
readerIndex and writerIndex of this buffer to
0 . |
ByteBuf |
AbstractByteBuf.clear() |
ByteBuf |
CompositeByteBuf.component(int cIndex)
Return the
ByteBuf on the specified index |
ByteBuf |
CompositeByteBuf.componentAtOffset(int offset)
Return the
ByteBuf on the specified index |
ByteBuf |
DefaultByteBufHolder.content() |
ByteBuf |
ByteBufHolder.content()
Return the data which is held by this
ByteBufHolder . |
static ByteBuf |
Unpooled.copiedBuffer(byte[]... arrays)
Creates a new big-endian buffer whose content is a merged copy of
the specified
arrays . |
static ByteBuf |
Unpooled.copiedBuffer(byte[] array)
Creates a new big-endian buffer whose content is a copy of the
specified
array . |
static ByteBuf |
Unpooled.copiedBuffer(byte[] array,
int offset,
int length)
Creates a new big-endian buffer whose content is a copy of the
specified
array 's sub-region. |
static ByteBuf |
Unpooled.copiedBuffer(ByteBuf... buffers)
Creates a new buffer whose content is a merged copy of the specified
buffers ' readable bytes. |
static ByteBuf |
Unpooled.copiedBuffer(ByteBuf buffer)
Creates a new buffer whose content is a copy of the specified
buffer 's readable bytes. |
static ByteBuf |
Unpooled.copiedBuffer(java.nio.ByteBuffer... buffers)
Creates a new buffer whose content is a merged copy of the specified
buffers ' slices. |
static ByteBuf |
Unpooled.copiedBuffer(java.nio.ByteBuffer buffer)
Creates a new buffer whose content is a copy of the specified
buffer 's current slice. |
static ByteBuf |
Unpooled.copiedBuffer(char[] array,
java.nio.charset.Charset charset)
Creates a new big-endian buffer whose content is the specified
array encoded in the specified charset . |
static ByteBuf |
Unpooled.copiedBuffer(char[] array,
int offset,
int length,
java.nio.charset.Charset charset)
Creates a new big-endian buffer whose content is a subregion of
the specified
array encoded in the specified charset . |
static ByteBuf |
Unpooled.copiedBuffer(java.lang.CharSequence string,
java.nio.charset.Charset charset)
Creates a new big-endian buffer whose content is the specified
string encoded in the specified charset . |
static ByteBuf |
Unpooled.copiedBuffer(java.lang.CharSequence string,
int offset,
int length,
java.nio.charset.Charset charset)
Creates a new big-endian buffer whose content is a subregion of
the specified
string encoded in the specified charset . |
ByteBuf |
SwappedByteBuf.copy()
已过时。
|
ByteBuf |
EmptyByteBuf.copy() |
abstract ByteBuf |
ByteBuf.copy()
Returns a copy of this buffer's readable bytes.
|
ByteBuf |
AbstractByteBuf.copy() |
ByteBuf |
UnpooledUnsafeDirectByteBuf.copy(int index,
int length) |
ByteBuf |
UnpooledHeapByteBuf.copy(int index,
int length) |
ByteBuf |
UnpooledDirectByteBuf.copy(int index,
int length) |
ByteBuf |
SwappedByteBuf.copy(int index,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.copy(int index,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.copy(int index,
int length) |
ByteBuf |
DuplicatedByteBuf.copy(int index,
int length)
已过时。
|
ByteBuf |
CompositeByteBuf.copy(int index,
int length) |
abstract ByteBuf |
ByteBuf.copy(int index,
int length)
Returns a copy of this buffer's sub-region.
|
static ByteBuf |
Unpooled.copyBoolean(boolean... values)
Create a new big-endian buffer that holds a sequence of the specified boolean values.
|
static ByteBuf |
Unpooled.copyBoolean(boolean value)
Creates a new single-byte big-endian buffer that holds the specified boolean value.
|
static ByteBuf |
Unpooled.copyDouble(double... values)
Create a new big-endian buffer that holds a sequence of the specified 64-bit floating point numbers.
|
static ByteBuf |
Unpooled.copyDouble(double value)
Creates a new 8-byte big-endian buffer that holds the specified 64-bit floating point number.
|
static ByteBuf |
Unpooled.copyFloat(float... values)
Create a new big-endian buffer that holds a sequence of the specified 32-bit floating point numbers.
|
static ByteBuf |
Unpooled.copyFloat(float value)
Creates a new 4-byte big-endian buffer that holds the specified 32-bit floating point number.
|
static ByteBuf |
Unpooled.copyInt(int... values)
Create a big-endian buffer that holds a sequence of the specified 32-bit integers.
|
static ByteBuf |
Unpooled.copyInt(int value)
Creates a new 4-byte big-endian buffer that holds the specified 32-bit integer.
|
static ByteBuf |
Unpooled.copyLong(long... values)
Create a new big-endian buffer that holds a sequence of the specified 64-bit integers.
|
static ByteBuf |
Unpooled.copyLong(long value)
Creates a new 8-byte big-endian buffer that holds the specified 64-bit integer.
|
static ByteBuf |
Unpooled.copyMedium(int... values)
Create a new big-endian buffer that holds a sequence of the specified 24-bit integers.
|
static ByteBuf |
Unpooled.copyMedium(int value)
Creates a new 3-byte big-endian buffer that holds the specified 24-bit integer.
|
static ByteBuf |
Unpooled.copyShort(int... values)
Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.
|
static ByteBuf |
Unpooled.copyShort(int value)
Creates a new 2-byte big-endian buffer that holds the specified 16-bit integer.
|
static ByteBuf |
Unpooled.copyShort(short... values)
Create a new big-endian buffer that holds a sequence of the specified 16-bit integers.
|
static ByteBuf |
Unpooled.directBuffer()
Creates a new big-endian direct buffer with reasonably small initial capacity, which
expands its capacity boundlessly on demand.
|
ByteBuf |
ByteBufAllocator.directBuffer()
Allocate a direct
ByteBuf . |
ByteBuf |
AbstractByteBufAllocator.directBuffer() |
static ByteBuf |
Unpooled.directBuffer(int initialCapacity)
Creates a new big-endian direct buffer with the specified
capacity , which
expands its capacity boundlessly on demand. |
ByteBuf |
ByteBufAllocator.directBuffer(int initialCapacity)
Allocate a direct
ByteBuf with the given initial capacity. |
ByteBuf |
AbstractByteBufAllocator.directBuffer(int initialCapacity) |
static ByteBuf |
Unpooled.directBuffer(int initialCapacity,
int maxCapacity)
Creates a new big-endian direct buffer with the specified
initialCapacity , that may grow up to maxCapacity . |
ByteBuf |
ByteBufAllocator.directBuffer(int initialCapacity,
int maxCapacity)
Allocate a direct
ByteBuf with the given initial capacity and the given
maximal capacity. |
ByteBuf |
AbstractByteBufAllocator.directBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
SwappedByteBuf.discardReadBytes()
已过时。
|
ByteBuf |
ReadOnlyByteBuf.discardReadBytes()
已过时。
|
ByteBuf |
EmptyByteBuf.discardReadBytes() |
abstract ByteBuf |
ByteBuf.discardReadBytes()
Discards the bytes between the 0th index and
readerIndex . |
ByteBuf |
AbstractByteBuf.discardReadBytes() |
ByteBuf |
SwappedByteBuf.discardSomeReadBytes()
已过时。
|
ByteBuf |
EmptyByteBuf.discardSomeReadBytes() |
abstract ByteBuf |
ByteBuf.discardSomeReadBytes()
Similar to
discardReadBytes() except that this method might discard
some, all, or none of read bytes depending on its internal implementation to reduce
overall memory bandwidth consumption at the cost of potentially additional memory
consumption. |
ByteBuf |
AbstractByteBuf.discardSomeReadBytes() |
ByteBuf |
SwappedByteBuf.duplicate()
已过时。
|
ByteBuf |
ReadOnlyByteBuf.duplicate()
已过时。
|
ByteBuf |
EmptyByteBuf.duplicate() |
abstract ByteBuf |
ByteBuf.duplicate()
Returns a buffer which shares the whole region of this buffer.
|
ByteBuf |
AbstractByteBuf.duplicate() |
static ByteBuf |
ByteBufUtil.encodeString(ByteBufAllocator alloc,
java.nio.CharBuffer src,
java.nio.charset.Charset charset)
Encode the given
CharBuffer using the given Charset into a new ByteBuf which
is allocated via the ByteBufAllocator . |
static ByteBuf |
ByteBufUtil.encodeString(ByteBufAllocator alloc,
java.nio.CharBuffer src,
java.nio.charset.Charset charset,
int extraCapacity)
Encode the given
CharBuffer using the given Charset into a new ByteBuf which
is allocated via the ByteBufAllocator . |
static ByteBuf |
ByteBufUtil.ensureAccessible(ByteBuf buffer) |
ByteBuf |
SwappedByteBuf.ensureWritable(int writableBytes)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.ensureWritable(int minWritableBytes)
已过时。
|
ByteBuf |
EmptyByteBuf.ensureWritable(int minWritableBytes) |
abstract ByteBuf |
ByteBuf.ensureWritable(int minWritableBytes)
Expands the buffer
capacity() to make sure the number of
writable bytes is equal to or greater than the
specified value. |
ByteBuf |
AbstractByteBuf.ensureWritable(int minWritableBytes) |
ByteBuf |
SwappedByteBuf.getBytes(int index,
byte[] dst)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
byte[] dst) |
abstract ByteBuf |
ByteBuf.getBytes(int index,
byte[] dst)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
ByteBuf |
AbstractByteBuf.getBytes(int index,
byte[] dst) |
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
ByteBuf |
SwappedByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length)
已过时。
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst) |
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index until the destination becomes
non-writable. |
ByteBuf |
AbstractByteBuf.getBytes(int index,
ByteBuf dst) |
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
java.nio.ByteBuffer dst) |
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
java.nio.ByteBuffer dst) |
ByteBuf |
SwappedByteBuf.getBytes(int index,
java.nio.ByteBuffer dst)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
java.nio.ByteBuffer dst)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
java.nio.ByteBuffer dst) |
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
java.nio.ByteBuffer dst)
已过时。
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
java.nio.ByteBuffer dst)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index until the destination's position
reaches its limit. |
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst,
int length)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
ByteBuf |
AbstractByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
已过时。
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
java.io.OutputStream out,
int length) |
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
java.io.OutputStream out,
int length) |
ByteBuf |
SwappedByteBuf.getBytes(int index,
java.io.OutputStream out,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
java.io.OutputStream out,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
java.io.OutputStream out,
int length) |
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
java.io.OutputStream out,
int length)
已过时。
|
abstract ByteBuf |
ByteBuf.getBytes(int index,
java.io.OutputStream out,
int length)
Transfers this buffer's data to the specified stream starting at the
specified absolute
index . |
ByteBuf |
ByteBufAllocator.heapBuffer()
Allocate a heap
ByteBuf . |
ByteBuf |
AbstractByteBufAllocator.heapBuffer() |
ByteBuf |
ByteBufAllocator.heapBuffer(int initialCapacity)
Allocate a heap
ByteBuf with the given initial capacity. |
ByteBuf |
AbstractByteBufAllocator.heapBuffer(int initialCapacity) |
ByteBuf |
ByteBufAllocator.heapBuffer(int initialCapacity,
int maxCapacity)
Allocate a heap
ByteBuf with the given initial capacity and the given
maximal capacity. |
ByteBuf |
AbstractByteBufAllocator.heapBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
CompositeByteBuf.internalComponent(int cIndex)
Return the internal
ByteBuf on the specified index. |
ByteBuf |
CompositeByteBuf.internalComponentAtOffset(int offset)
Return the internal
ByteBuf on the specified offset. |
ByteBuf |
ByteBufAllocator.ioBuffer()
Allocate a
ByteBuf , preferably a direct buffer which is suitable for I/O. |
ByteBuf |
AbstractByteBufAllocator.ioBuffer() |
ByteBuf |
ByteBufAllocator.ioBuffer(int initialCapacity)
Allocate a
ByteBuf , preferably a direct buffer which is suitable for I/O. |
ByteBuf |
AbstractByteBufAllocator.ioBuffer(int initialCapacity) |
ByteBuf |
ByteBufAllocator.ioBuffer(int initialCapacity,
int maxCapacity)
Allocate a
ByteBuf , preferably a direct buffer which is suitable for I/O. |
ByteBuf |
AbstractByteBufAllocator.ioBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
SwappedByteBuf.markReaderIndex()
已过时。
|
ByteBuf |
EmptyByteBuf.markReaderIndex() |
abstract ByteBuf |
ByteBuf.markReaderIndex()
Marks the current
readerIndex in this buffer. |
ByteBuf |
AbstractByteBuf.markReaderIndex() |
ByteBuf |
SwappedByteBuf.markWriterIndex()
已过时。
|
ByteBuf |
EmptyByteBuf.markWriterIndex() |
abstract ByteBuf |
ByteBuf.markWriterIndex()
Marks the current
writerIndex in this buffer. |
ByteBuf |
AbstractByteBuf.markWriterIndex() |
protected ByteBuf |
UnpooledByteBufAllocator.newDirectBuffer(int initialCapacity,
int maxCapacity) |
protected ByteBuf |
PooledByteBufAllocator.newDirectBuffer(int initialCapacity,
int maxCapacity) |
protected abstract ByteBuf |
AbstractByteBufAllocator.newDirectBuffer(int initialCapacity,
int maxCapacity)
Create a direct
ByteBuf with the given initialCapacity and maxCapacity. |
protected ByteBuf |
UnpooledByteBufAllocator.newHeapBuffer(int initialCapacity,
int maxCapacity) |
protected ByteBuf |
PooledByteBufAllocator.newHeapBuffer(int initialCapacity,
int maxCapacity) |
protected abstract ByteBuf |
AbstractByteBufAllocator.newHeapBuffer(int initialCapacity,
int maxCapacity)
Create a heap
ByteBuf with the given initialCapacity and maxCapacity. |
ByteBuf |
SwappedByteBuf.order(java.nio.ByteOrder endianness)
已过时。
|
ByteBuf |
EmptyByteBuf.order(java.nio.ByteOrder endianness) |
abstract ByteBuf |
ByteBuf.order(java.nio.ByteOrder endianness)
已过时。
use the Little Endian accessors, e.g.
getShortLE , getIntLE
instead of creating a buffer with swapped endianness . |
ByteBuf |
AbstractByteBuf.order(java.nio.ByteOrder endianness) |
ByteBuf |
SwappedByteBuf.readBytes(byte[] dst)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(byte[] dst) |
abstract ByteBuf |
ByteBuf.readBytes(byte[] dst)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= dst.length ). |
ByteBuf |
AbstractByteBuf.readBytes(byte[] dst) |
ByteBuf |
UnpooledDirectByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
ByteBuf |
SwappedByteBuf.readBytes(byte[] dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
abstract ByteBuf |
ByteBuf.readBytes(byte[] dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.readBytes(byte[] dst,
int dstIndex,
int length) |
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst) |
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex until the destination becomes
non-writable, and increases the readerIndex by the number of the
transferred bytes. |
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst) |
static ByteBuf |
ByteBufUtil.readBytes(ByteBufAllocator alloc,
ByteBuf buffer,
int length)
Read the given amount of bytes into a new
ByteBuf that is allocated from the ByteBufAllocator . |
ByteBuf |
UnpooledDirectByteBuf.readBytes(java.nio.ByteBuffer dst) |
ByteBuf |
SwappedByteBuf.readBytes(java.nio.ByteBuffer dst)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(java.nio.ByteBuffer dst) |
abstract ByteBuf |
ByteBuf.readBytes(java.nio.ByteBuffer dst)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex until the destination's position
reaches its limit, and increases the readerIndex by the
number of the transferred bytes. |
ByteBuf |
AbstractByteBuf.readBytes(java.nio.ByteBuffer dst) |
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst,
int length) |
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst,
int length)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst,
int length) |
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
SwappedByteBuf.readBytes(int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(int length) |
abstract ByteBuf |
ByteBuf.readBytes(int length)
Transfers this buffer's data to a newly created buffer starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.readBytes(int length) |
ByteBuf |
UnpooledDirectByteBuf.readBytes(java.io.OutputStream out,
int length) |
ByteBuf |
SwappedByteBuf.readBytes(java.io.OutputStream out,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(java.io.OutputStream out,
int length) |
abstract ByteBuf |
ByteBuf.readBytes(java.io.OutputStream out,
int length)
Transfers this buffer's data to the specified stream starting at the
current
readerIndex . |
ByteBuf |
AbstractByteBuf.readBytes(java.io.OutputStream out,
int length) |
ByteBuf |
SwappedByteBuf.readerIndex(int readerIndex)
已过时。
|
ByteBuf |
EmptyByteBuf.readerIndex(int readerIndex) |
abstract ByteBuf |
ByteBuf.readerIndex(int readerIndex)
Sets the
readerIndex of this buffer. |
ByteBuf |
AbstractByteBuf.readerIndex(int readerIndex) |
ByteBuf |
SwappedByteBuf.readRetainedSlice(int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readRetainedSlice(int length) |
abstract ByteBuf |
ByteBuf.readRetainedSlice(int length)
Returns a new retained slice of this buffer's sub-region starting at the current
readerIndex and increases the readerIndex by the size
of the new slice (= length ). |
ByteBuf |
AbstractByteBuf.readRetainedSlice(int length) |
ByteBuf |
SwappedByteBuf.readSlice(int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readSlice(int length) |
abstract ByteBuf |
ByteBuf.readSlice(int length)
Returns a new slice of this buffer's sub-region starting at the current
readerIndex and increases the readerIndex by the size
of the new slice (= length ). |
ByteBuf |
AbstractByteBuf.readSlice(int length) |
ByteBuf |
SwappedByteBuf.resetReaderIndex()
已过时。
|
ByteBuf |
EmptyByteBuf.resetReaderIndex() |
abstract ByteBuf |
ByteBuf.resetReaderIndex()
Repositions the current
readerIndex to the marked
readerIndex in this buffer. |
ByteBuf |
AbstractByteBuf.resetReaderIndex() |
ByteBuf |
SwappedByteBuf.resetWriterIndex()
已过时。
|
ByteBuf |
EmptyByteBuf.resetWriterIndex() |
abstract ByteBuf |
ByteBuf.resetWriterIndex()
Repositions the current
writerIndex to the marked
writerIndex in this buffer. |
ByteBuf |
AbstractByteBuf.resetWriterIndex() |
ByteBuf |
SwappedByteBuf.retain()
已过时。
|
ByteBuf |
EmptyByteBuf.retain() |
abstract ByteBuf |
ByteBuf.retain() |
ByteBuf |
AbstractReferenceCountedByteBuf.retain() |
ByteBuf |
AbstractDerivedByteBuf.retain()
已过时。
|
ByteBuf |
SwappedByteBuf.retain(int increment)
已过时。
|
ByteBuf |
EmptyByteBuf.retain(int increment) |
abstract ByteBuf |
ByteBuf.retain(int increment) |
ByteBuf |
AbstractReferenceCountedByteBuf.retain(int increment) |
ByteBuf |
AbstractDerivedByteBuf.retain(int increment)
已过时。
|
ByteBuf |
SwappedByteBuf.retainedDuplicate()
已过时。
|
ByteBuf |
EmptyByteBuf.retainedDuplicate() |
abstract ByteBuf |
ByteBuf.retainedDuplicate()
Returns a retained buffer which shares the whole region of this buffer.
|
ByteBuf |
AbstractByteBuf.retainedDuplicate() |
ByteBuf |
SwappedByteBuf.retainedSlice()
已过时。
|
ByteBuf |
EmptyByteBuf.retainedSlice() |
abstract ByteBuf |
ByteBuf.retainedSlice()
Returns a retained slice of this buffer's readable bytes.
|
ByteBuf |
AbstractByteBuf.retainedSlice() |
ByteBuf |
SwappedByteBuf.retainedSlice(int index,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.retainedSlice(int index,
int length) |
abstract ByteBuf |
ByteBuf.retainedSlice(int index,
int length)
Returns a retained slice of this buffer's sub-region.
|
ByteBuf |
AbstractByteBuf.retainedSlice(int index,
int length) |
ByteBuf |
SwappedByteBuf.setBoolean(int index,
boolean value)
已过时。
|
ByteBuf |
EmptyByteBuf.setBoolean(int index,
boolean value) |
abstract ByteBuf |
ByteBuf.setBoolean(int index,
boolean value)
Sets the specified boolean at the specified absolute
index in this
buffer. |
ByteBuf |
AbstractByteBuf.setBoolean(int index,
boolean value) |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setByte(int index,
int value) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setByte(int index,
int value) |
ByteBuf |
UnpooledHeapByteBuf.setByte(int index,
int value) |
ByteBuf |
UnpooledDirectByteBuf.setByte(int index,
int value) |
ByteBuf |
SwappedByteBuf.setByte(int index,
int value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setByte(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setByte(int index,
int value) |
ByteBuf |
DuplicatedByteBuf.setByte(int index,
int value)
已过时。
|
abstract ByteBuf |
ByteBuf.setByte(int index,
int value)
Sets the specified byte at the specified absolute
index in this
buffer. |
ByteBuf |
AbstractByteBuf.setByte(int index,
int value) |
ByteBuf |
ByteBufZeroingBenchmark.setBytes() |
ByteBuf |
SwappedByteBuf.setBytes(int index,
byte[] src)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
byte[] src) |
abstract ByteBuf |
ByteBuf.setBytes(int index,
byte[] src)
Transfers the specified source array's data to this buffer starting at
the specified absolute
index . |
ByteBuf |
AbstractByteBuf.setBytes(int index,
byte[] src) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
ByteBuf |
UnpooledHeapByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
ByteBuf |
UnpooledDirectByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
ByteBuf |
SwappedByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
ByteBuf |
DuplicatedByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length)
已过时。
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length)
Transfers the specified source array's data to this buffer starting at
the specified absolute
index . |
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src) |
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index until the source buffer becomes
unreadable. |
ByteBuf |
AbstractByteBuf.setBytes(int index,
ByteBuf src) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setBytes(int index,
java.nio.ByteBuffer src) |
ByteBuf |
UnpooledHeapByteBuf.setBytes(int index,
java.nio.ByteBuffer src) |
ByteBuf |
UnpooledDirectByteBuf.setBytes(int index,
java.nio.ByteBuffer src) |
ByteBuf |
SwappedByteBuf.setBytes(int index,
java.nio.ByteBuffer src)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setBytes(int index,
java.nio.ByteBuffer src)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
java.nio.ByteBuffer src) |
ByteBuf |
DuplicatedByteBuf.setBytes(int index,
java.nio.ByteBuffer src)
已过时。
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
java.nio.ByteBuffer src)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index until the source buffer's position
reaches its limit. |
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src,
int length) |
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index . |
ByteBuf |
AbstractByteBuf.setBytes(int index,
ByteBuf src,
int length) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
UnpooledHeapByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
UnpooledDirectByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
DuplicatedByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
已过时。
|
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index . |
ByteBuf |
SwappedByteBuf.setChar(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setChar(int index,
int value) |
abstract ByteBuf |
ByteBuf.setChar(int index,
int value)
Sets the specified 2-byte UTF-16 character at the specified absolute
index in this buffer. |
ByteBuf |
AbstractByteBuf.setChar(int index,
int value) |
ByteBuf |
SwappedByteBuf.setDouble(int index,
double value)
已过时。
|
ByteBuf |
EmptyByteBuf.setDouble(int index,
double value) |
abstract ByteBuf |
ByteBuf.setDouble(int index,
double value)
Sets the specified 64-bit floating-point number at the specified
absolute
index in this buffer. |
ByteBuf |
AbstractByteBuf.setDouble(int index,
double value) |
ByteBuf |
ByteBuf.setDoubleLE(int index,
double value)
Sets the specified 64-bit floating-point number at the specified
absolute
index in this buffer in Little Endian Byte Order. |
ByteBuf |
SwappedByteBuf.setFloat(int index,
float value)
已过时。
|
ByteBuf |
EmptyByteBuf.setFloat(int index,
float value) |
abstract ByteBuf |
ByteBuf.setFloat(int index,
float value)
Sets the specified 32-bit floating-point number at the specified
absolute
index in this buffer. |
ByteBuf |
AbstractByteBuf.setFloat(int index,
float value) |
ByteBuf |
ByteBuf.setFloatLE(int index,
float value)
Sets the specified 32-bit floating-point number at the specified
absolute
index in this buffer in Little Endian Byte Order. |
ByteBuf |
SwappedByteBuf.setIndex(int readerIndex,
int writerIndex)
已过时。
|
ByteBuf |
EmptyByteBuf.setIndex(int readerIndex,
int writerIndex) |
abstract ByteBuf |
ByteBuf.setIndex(int readerIndex,
int writerIndex)
Sets the
readerIndex and writerIndex of this buffer
in one shot. |
ByteBuf |
AbstractByteBuf.setIndex(int readerIndex,
int writerIndex) |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setInt(int index,
int value) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setInt(int index,
int value) |
ByteBuf |
UnpooledHeapByteBuf.setInt(int index,
int value) |
ByteBuf |
UnpooledDirectByteBuf.setInt(int index,
int value) |
ByteBuf |
SwappedByteBuf.setInt(int index,
int value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setInt(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setInt(int index,
int value) |
ByteBuf |
DuplicatedByteBuf.setInt(int index,
int value)
已过时。
|
abstract ByteBuf |
ByteBuf.setInt(int index,
int value)
Sets the specified 32-bit integer at the specified absolute
index in this buffer. |
ByteBuf |
AbstractByteBuf.setInt(int index,
int value) |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setIntLE(int index,
int value) |
ByteBuf |
UnpooledHeapByteBuf.setIntLE(int index,
int value) |
ByteBuf |
SwappedByteBuf.setIntLE(int index,
int value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setIntLE(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setIntLE(int index,
int value) |
ByteBuf |
DuplicatedByteBuf.setIntLE(int index,
int value)
已过时。
|
abstract ByteBuf |
ByteBuf.setIntLE(int index,
int value)
Sets the specified 32-bit integer at the specified absolute
index in this buffer with Little Endian byte order
. |
ByteBuf |
AbstractByteBuf.setIntLE(int index,
int value) |
ByteBuf |
CompositeByteBufRandomAccessBenchmark.setLong() |
ByteBuf |
ByteBufAccessBenchmark.setLong() |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setLong(int index,
long value) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setLong(int index,
long value) |
ByteBuf |
UnpooledHeapByteBuf.setLong(int index,
long value) |
ByteBuf |
UnpooledDirectByteBuf.setLong(int index,
long value) |
ByteBuf |
SwappedByteBuf.setLong(int index,
long value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setLong(int index,
long value)
已过时。
|
ByteBuf |
EmptyByteBuf.setLong(int index,
long value) |
ByteBuf |
DuplicatedByteBuf.setLong(int index,
long value)
已过时。
|
abstract ByteBuf |
ByteBuf.setLong(int index,
long value)
Sets the specified 64-bit long integer at the specified absolute
index in this buffer. |
ByteBuf |
AbstractByteBuf.setLong(int index,
long value) |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setLongLE(int index,
long value) |
ByteBuf |
UnpooledHeapByteBuf.setLongLE(int index,
long value) |
ByteBuf |
SwappedByteBuf.setLongLE(int index,
long value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setLongLE(int index,
long value)
已过时。
|
ByteBuf |
EmptyByteBuf.setLongLE(int index,
long value) |
ByteBuf |
DuplicatedByteBuf.setLongLE(int index,
long value)
已过时。
|
abstract ByteBuf |
ByteBuf.setLongLE(int index,
long value)
Sets the specified 64-bit long integer at the specified absolute
index in this buffer in Little Endian Byte Order. |
ByteBuf |
AbstractByteBuf.setLongLE(int index,
long value) |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setMedium(int index,
int value) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setMedium(int index,
int value) |
ByteBuf |
UnpooledHeapByteBuf.setMedium(int index,
int value) |
ByteBuf |
UnpooledDirectByteBuf.setMedium(int index,
int value) |
ByteBuf |
SwappedByteBuf.setMedium(int index,
int value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setMedium(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setMedium(int index,
int value) |
ByteBuf |
DuplicatedByteBuf.setMedium(int index,
int value)
已过时。
|
abstract ByteBuf |
ByteBuf.setMedium(int index,
int value)
Sets the specified 24-bit medium integer at the specified absolute
index in this buffer. |
ByteBuf |
AbstractByteBuf.setMedium(int index,
int value) |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setMediumLE(int index,
int value) |
ByteBuf |
UnpooledHeapByteBuf.setMediumLE(int index,
int value) |
ByteBuf |
SwappedByteBuf.setMediumLE(int index,
int value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setMediumLE(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setMediumLE(int index,
int value) |
ByteBuf |
DuplicatedByteBuf.setMediumLE(int index,
int value)
已过时。
|
abstract ByteBuf |
ByteBuf.setMediumLE(int index,
int value)
Sets the specified 24-bit medium integer at the specified absolute
index in this buffer in the Little Endian Byte Order. |
ByteBuf |
AbstractByteBuf.setMediumLE(int index,
int value) |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setShort(int index,
int value) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setShort(int index,
int value) |
ByteBuf |
UnpooledHeapByteBuf.setShort(int index,
int value) |
ByteBuf |
UnpooledDirectByteBuf.setShort(int index,
int value) |
ByteBuf |
SwappedByteBuf.setShort(int index,
int value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setShort(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setShort(int index,
int value) |
ByteBuf |
DuplicatedByteBuf.setShort(int index,
int value)
已过时。
|
abstract ByteBuf |
ByteBuf.setShort(int index,
int value)
Sets the specified 16-bit short integer at the specified absolute
index in this buffer. |
ByteBuf |
AbstractByteBuf.setShort(int index,
int value) |
static ByteBuf |
ByteBufUtil.setShortBE(ByteBuf buf,
int index,
int shortValue)
Sets a big-endian 16-bit short integer to the buffer.
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.setShortLE(int index,
int value) |
ByteBuf |
UnpooledHeapByteBuf.setShortLE(int index,
int value) |
ByteBuf |
SwappedByteBuf.setShortLE(int index,
int value)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setShortLE(int index,
int value)
已过时。
|
ByteBuf |
EmptyByteBuf.setShortLE(int index,
int value) |
ByteBuf |
DuplicatedByteBuf.setShortLE(int index,
int value)
已过时。
|
abstract ByteBuf |
ByteBuf.setShortLE(int index,
int value)
Sets the specified 16-bit short integer at the specified absolute
index in this buffer with the Little Endian Byte Order. |
ByteBuf |
AbstractByteBuf.setShortLE(int index,
int value) |
ByteBuf |
ByteBufZeroingBenchmark.setZero() |
ByteBuf |
UnpooledUnsafeHeapByteBuf.setZero(int index,
int length) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setZero(int index,
int length) |
ByteBuf |
SwappedByteBuf.setZero(int index,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.setZero(int index,
int length) |
abstract ByteBuf |
ByteBuf.setZero(int index,
int length)
Fills this buffer with NUL (0x00) starting at the specified
absolute
index . |
ByteBuf |
AbstractByteBuf.setZero(int index,
int length) |
ByteBuf |
SwappedByteBuf.skipBytes(int length)
已过时。
|
ByteBuf |
EmptyByteBuf.skipBytes(int length) |
abstract ByteBuf |
ByteBuf.skipBytes(int length)
Increases the current
readerIndex by the specified
length in this buffer. |
ByteBuf |
AbstractByteBuf.skipBytes(int length) |
ByteBuf |
SwappedByteBuf.slice()
已过时。
|
ByteBuf |
EmptyByteBuf.slice() |
abstract ByteBuf |
ByteBuf.slice()
Returns a slice of this buffer's readable bytes.
|
ByteBuf |
AbstractByteBuf.slice() |
ByteBuf |
SwappedByteBuf.slice(int index,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.slice(int index,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.slice(int index,
int length) |
ByteBuf |
DuplicatedByteBuf.slice(int index,
int length)
已过时。
|
abstract ByteBuf |
ByteBuf.slice(int index,
int length)
Returns a slice of this buffer's sub-region.
|
ByteBuf |
AbstractByteBuf.slice(int index,
int length) |
static ByteBuf |
ByteBufUtil.threadLocalDirectBuffer()
Returns a cached thread-local direct buffer, if available.
|
protected static ByteBuf |
AbstractByteBufAllocator.toLeakAwareBuffer(ByteBuf buf) |
ByteBuf |
SwappedByteBuf.touch()
已过时。
|
ByteBuf |
EmptyByteBuf.touch() |
abstract ByteBuf |
ByteBuf.touch() |
ByteBuf |
AbstractReferenceCountedByteBuf.touch() |
ByteBuf |
AbstractDerivedByteBuf.touch()
已过时。
|
ByteBuf |
SwappedByteBuf.touch(java.lang.Object hint)
已过时。
|
ByteBuf |
EmptyByteBuf.touch(java.lang.Object hint) |
abstract ByteBuf |
ByteBuf.touch(java.lang.Object hint) |
ByteBuf |
AbstractReferenceCountedByteBuf.touch(java.lang.Object hint) |
ByteBuf |
AbstractDerivedByteBuf.touch(java.lang.Object hint)
已过时。
|
static ByteBuf |
Unpooled.unmodifiableBuffer(ByteBuf... buffers)
|
static ByteBuf |
Unpooled.unmodifiableBuffer(ByteBuf buffer)
已过时。
Use
asReadOnly() . |
static ByteBuf |
Unpooled.unreleasableBuffer(ByteBuf buf)
Return a unreleasable view on the given
ByteBuf which will just ignore release and retain calls. |
ByteBuf |
UnpooledHeapByteBuf.unwrap() |
ByteBuf |
UnpooledDirectByteBuf.unwrap() |
ByteBuf |
SwappedByteBuf.unwrap()
已过时。
|
ByteBuf |
ReadOnlyByteBuf.unwrap()
已过时。
|
ByteBuf |
EmptyByteBuf.unwrap() |
ByteBuf |
DuplicatedByteBuf.unwrap()
已过时。
|
ByteBuf |
CompositeByteBuf.unwrap() |
abstract ByteBuf |
ByteBuf.unwrap()
Return the underlying buffer instance if this buffer is a wrapper of another buffer.
|
static ByteBuf |
Unpooled.wrappedBuffer(byte[]... arrays)
Creates a new big-endian composite buffer which wraps the specified
arrays without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(byte[] array)
Creates a new big-endian buffer which wraps the specified
array . |
static ByteBuf |
Unpooled.wrappedBuffer(byte[] array,
int offset,
int length)
Creates a new big-endian buffer which wraps the sub-region of the
specified
array . |
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuf... buffers)
Creates a new big-endian composite buffer which wraps the readable bytes of the
specified buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuf buffer)
Creates a new buffer which wraps the specified buffer's readable bytes.
|
static ByteBuf |
Unpooled.wrappedBuffer(java.nio.ByteBuffer... buffers)
Creates a new big-endian composite buffer which wraps the slices of the specified
NIO buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(java.nio.ByteBuffer buffer)
Creates a new buffer which wraps the specified NIO buffer's current
slice.
|
static ByteBuf |
Unpooled.wrappedBuffer(int maxNumComponents,
byte[]... arrays)
Creates a new big-endian composite buffer which wraps the specified
arrays without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(int maxNumComponents,
ByteBuf... buffers)
Creates a new big-endian composite buffer which wraps the readable bytes of the
specified buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(int maxNumComponents,
java.nio.ByteBuffer... buffers)
Creates a new big-endian composite buffer which wraps the slices of the specified
NIO buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(long memoryAddress,
int size,
boolean doFree)
Creates a new buffer which wraps the specified memory address.
|
static ByteBuf |
Unpooled.wrappedUnmodifiableBuffer(ByteBuf... buffers)
|
static ByteBuf |
ByteBufUtil.writeAscii(ByteBufAllocator alloc,
java.lang.CharSequence seq)
|
ByteBuf |
SwappedByteBuf.writeBoolean(boolean value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBoolean(boolean value) |
abstract ByteBuf |
ByteBuf.writeBoolean(boolean value)
Sets the specified boolean at the current
writerIndex
and increases the writerIndex by 1 in this buffer. |
ByteBuf |
AbstractByteBuf.writeBoolean(boolean value) |
ByteBuf |
SwappedByteBuf.writeByte(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeByte(int value) |
abstract ByteBuf |
ByteBuf.writeByte(int value)
Sets the specified byte at the current
writerIndex
and increases the writerIndex by 1 in this buffer. |
ByteBuf |
AbstractByteBuf.writeByte(int value) |
ByteBuf |
SwappedByteBuf.writeBytes(byte[] src)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(byte[] src) |
abstract ByteBuf |
ByteBuf.writeBytes(byte[] src)
Transfers the specified source array's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= src.length ). |
ByteBuf |
AbstractByteBuf.writeBytes(byte[] src) |
ByteBuf |
SwappedByteBuf.writeBytes(byte[] src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(byte[] src,
int srcIndex,
int length) |
abstract ByteBuf |
ByteBuf.writeBytes(byte[] src,
int srcIndex,
int length)
Transfers the specified source array's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.writeBytes(byte[] src,
int srcIndex,
int length) |
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src) |
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex until the source buffer becomes
unreadable, and increases the writerIndex by the number of
the transferred bytes. |
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src) |
ByteBuf |
SwappedByteBuf.writeBytes(java.nio.ByteBuffer src)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(java.nio.ByteBuffer src) |
abstract ByteBuf |
ByteBuf.writeBytes(java.nio.ByteBuffer src)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex until the source buffer's position
reaches its limit, and increases the writerIndex by the
number of the transferred bytes. |
ByteBuf |
AbstractByteBuf.writeBytes(java.nio.ByteBuffer src) |
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src,
int length) |
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src,
int length) |
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
SwappedByteBuf.writeChar(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeChar(int value) |
abstract ByteBuf |
ByteBuf.writeChar(int value)
Sets the specified 2-byte UTF-16 character at the current
writerIndex and increases the writerIndex by 2
in this buffer. |
ByteBuf |
AbstractByteBuf.writeChar(int value) |
ByteBuf |
SwappedByteBuf.writeDouble(double value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeDouble(double value) |
abstract ByteBuf |
ByteBuf.writeDouble(double value)
Sets the specified 64-bit floating point number at the current
writerIndex and increases the writerIndex by 8
in this buffer. |
ByteBuf |
AbstractByteBuf.writeDouble(double value) |
ByteBuf |
ByteBuf.writeDoubleLE(double value)
Sets the specified 64-bit floating point number at the current
writerIndex in Little Endian Byte Order and increases
the writerIndex by 8 in this buffer. |
ByteBuf |
SwappedByteBuf.writeFloat(float value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeFloat(float value) |
abstract ByteBuf |
ByteBuf.writeFloat(float value)
Sets the specified 32-bit floating point number at the current
writerIndex and increases the writerIndex by 4
in this buffer. |
ByteBuf |
AbstractByteBuf.writeFloat(float value) |
ByteBuf |
ByteBuf.writeFloatLE(float value)
Sets the specified 32-bit floating point number at the current
writerIndex in Little Endian Byte Order and increases
the writerIndex by 4 in this buffer. |
ByteBuf |
SwappedByteBuf.writeInt(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeInt(int value) |
abstract ByteBuf |
ByteBuf.writeInt(int value)
Sets the specified 32-bit integer at the current
writerIndex
and increases the writerIndex by 4 in this buffer. |
ByteBuf |
AbstractByteBuf.writeInt(int value) |
ByteBuf |
SwappedByteBuf.writeIntLE(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeIntLE(int value) |
abstract ByteBuf |
ByteBuf.writeIntLE(int value)
Sets the specified 32-bit integer at the current
writerIndex
in the Little Endian Byte Order and increases the writerIndex
by 4 in this buffer. |
ByteBuf |
AbstractByteBuf.writeIntLE(int value) |
ByteBuf |
SwappedByteBuf.writeLong(long value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeLong(long value) |
abstract ByteBuf |
ByteBuf.writeLong(long value)
Sets the specified 64-bit long integer at the current
writerIndex and increases the writerIndex by 8
in this buffer. |
ByteBuf |
AbstractByteBuf.writeLong(long value) |
ByteBuf |
SwappedByteBuf.writeLongLE(long value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeLongLE(long value) |
abstract ByteBuf |
ByteBuf.writeLongLE(long value)
Sets the specified 64-bit long integer at the current
writerIndex in the Little Endian Byte Order and
increases the writerIndex by 8
in this buffer. |
ByteBuf |
AbstractByteBuf.writeLongLE(long value) |
ByteBuf |
SwappedByteBuf.writeMedium(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeMedium(int value) |
abstract ByteBuf |
ByteBuf.writeMedium(int value)
Sets the specified 24-bit medium integer at the current
writerIndex and increases the writerIndex by 3
in this buffer. |
ByteBuf |
AbstractByteBuf.writeMedium(int value) |
static ByteBuf |
ByteBufUtil.writeMediumBE(ByteBuf buf,
int mediumValue)
Writes a big-endian 24-bit medium integer to the buffer.
|
ByteBuf |
SwappedByteBuf.writeMediumLE(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeMediumLE(int value) |
abstract ByteBuf |
ByteBuf.writeMediumLE(int value)
Sets the specified 24-bit medium integer at the current
writerIndex in the Little Endian Byte Order and
increases the writerIndex by 3 in this
buffer. |
ByteBuf |
AbstractByteBuf.writeMediumLE(int value) |
ByteBuf |
SwappedByteBuf.writerIndex(int writerIndex)
已过时。
|
ByteBuf |
EmptyByteBuf.writerIndex(int writerIndex) |
abstract ByteBuf |
ByteBuf.writerIndex(int writerIndex)
Sets the
writerIndex of this buffer. |
ByteBuf |
AbstractByteBuf.writerIndex(int writerIndex) |
ByteBuf |
SwappedByteBuf.writeShort(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeShort(int value) |
abstract ByteBuf |
ByteBuf.writeShort(int value)
Sets the specified 16-bit short integer at the current
writerIndex and increases the writerIndex by 2
in this buffer. |
ByteBuf |
AbstractByteBuf.writeShort(int value) |
static ByteBuf |
ByteBufUtil.writeShortBE(ByteBuf buf,
int shortValue)
Writes a big-endian 16-bit short integer to the buffer.
|
ByteBuf |
SwappedByteBuf.writeShortLE(int value)
已过时。
|
ByteBuf |
EmptyByteBuf.writeShortLE(int value) |
abstract ByteBuf |
ByteBuf.writeShortLE(int value)
Sets the specified 16-bit short integer in the Little Endian Byte
Order at the current
writerIndex and increases the
writerIndex by 2 in this buffer. |
ByteBuf |
AbstractByteBuf.writeShortLE(int value) |
static ByteBuf |
ByteBufUtil.writeUtf8(ByteBufAllocator alloc,
java.lang.CharSequence seq)
|
ByteBuf |
UnpooledUnsafeHeapByteBuf.writeZero(int length) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.writeZero(int length) |
ByteBuf |
SwappedByteBuf.writeZero(int length)
已过时。
|
ByteBuf |
EmptyByteBuf.writeZero(int length) |
abstract ByteBuf |
ByteBuf.writeZero(int length)
Fills this buffer with NUL (0x00) starting at the current
writerIndex and increases the writerIndex by the
specified length . |
ByteBuf |
AbstractByteBuf.writeZero(int length) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<ByteBuf> |
CompositeByteBuf.decompose(int offset,
int length)
Same with
AbstractByteBuf.slice(int, int) except that this method returns a list. |
java.util.Iterator<ByteBuf> |
CompositeByteBuf.iterator() |
限定符和类型 | 方法和说明 |
---|---|
CompositeByteBuf |
CompositeByteBuf.addComponent(boolean increaseWriterIndex,
ByteBuf buffer)
|
CompositeByteBuf |
CompositeByteBuf.addComponent(boolean increaseWriterIndex,
int cIndex,
ByteBuf buffer)
Add the given
ByteBuf on the specific index and increase the writerIndex
if increaseWriterIndex is true . |
CompositeByteBuf |
CompositeByteBuf.addComponent(ByteBuf buffer)
Add the given
ByteBuf . |
CompositeByteBuf |
CompositeByteBuf.addComponent(int cIndex,
ByteBuf buffer)
Add the given
ByteBuf on the specific index. |
CompositeByteBuf |
CompositeByteBuf.addComponents(boolean increaseWriterIndex,
ByteBuf... buffers)
|
CompositeByteBuf |
CompositeByteBuf.addComponents(ByteBuf... buffers)
Add the given
ByteBuf s. |
CompositeByteBuf |
CompositeByteBuf.addComponents(int cIndex,
ByteBuf... buffers)
Add the given
ByteBuf s on the specific index
Be aware that this method does not increase the writerIndex of the CompositeByteBuf . |
CompositeByteBuf |
CompositeByteBuf.addFlattenedComponents(boolean increaseWriterIndex,
ByteBuf buffer)
|
static void |
ByteBufUtil.appendPrettyHexDump(java.lang.StringBuilder dump,
ByteBuf buf)
Appends the prettified multi-line hexadecimal dump of the specified
ByteBuf to the specified
StringBuilder that is easy to read by humans. |
static void |
ByteBufUtil.appendPrettyHexDump(java.lang.StringBuilder dump,
ByteBuf buf,
int offset,
int length)
Appends the prettified multi-line hexadecimal dump of the specified
ByteBuf to the specified
StringBuilder that is easy to read by humans, starting at the given offset using
the given length . |
static int |
ByteBufUtil.compare(ByteBuf bufferA,
ByteBuf bufferB)
Compares the two specified buffers as described in
compareTo(ByteBuf) . |
int |
SwappedByteBuf.compareTo(ByteBuf buffer)
已过时。
|
int |
EmptyByteBuf.compareTo(ByteBuf buffer) |
abstract int |
ByteBuf.compareTo(ByteBuf buffer)
Compares the content of the specified buffer to the content of this
buffer.
|
int |
AbstractByteBuf.compareTo(ByteBuf that) |
static ByteBuf |
Unpooled.copiedBuffer(ByteBuf... buffers)
Creates a new buffer whose content is a merged copy of the specified
buffers ' readable bytes. |
static ByteBuf |
Unpooled.copiedBuffer(ByteBuf buffer)
Creates a new buffer whose content is a copy of the specified
buffer 's readable bytes. |
static void |
ByteBufUtil.copy(AsciiString src,
ByteBuf dst)
|
static void |
ByteBufUtil.copy(AsciiString src,
int srcIdx,
ByteBuf dst,
int length)
|
static void |
ByteBufUtil.copy(AsciiString src,
int srcIdx,
ByteBuf dst,
int dstIdx,
int length)
|
static ByteBuf |
ByteBufUtil.ensureAccessible(ByteBuf buffer) |
static boolean |
ByteBufUtil.equals(ByteBuf bufferA,
ByteBuf bufferB)
Returns
true if and only if the two specified buffers are
identical to each other as described in equals(Object) . |
static boolean |
ByteBufUtil.equals(ByteBuf a,
int aStartIndex,
ByteBuf b,
int bStartIndex,
int length)
Returns
true if and only if the two specified buffers are
identical to each other for length bytes starting at aStartIndex
index for the a buffer and bStartIndex index for the b buffer. |
static byte[] |
ByteBufUtil.getBytes(ByteBuf buf)
Create a copy of the underlying storage from
buf into a byte array. |
static byte[] |
ByteBufUtil.getBytes(ByteBuf buf,
int start,
int length)
Create a copy of the underlying storage from
buf into a byte array. |
static byte[] |
ByteBufUtil.getBytes(ByteBuf buf,
int start,
int length,
boolean copy)
Return an array of the underlying storage from
buf into a byte array. |
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
ByteBuf dst) |
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index until the destination becomes
non-writable. |
ByteBuf |
AbstractByteBuf.getBytes(int index,
ByteBuf dst) |
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst,
int length)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
ByteBuf |
AbstractByteBuf.getBytes(int index,
ByteBuf dst,
int length) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
UnpooledHeapByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
UnpooledDirectByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
SwappedByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
ByteBuf |
DuplicatedByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
已过时。
|
CompositeByteBuf |
CompositeByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length) |
abstract ByteBuf |
ByteBuf.getBytes(int index,
ByteBuf dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the specified absolute
index . |
static int |
ByteBufUtil.hashCode(ByteBuf buffer)
Calculates the hash code of the specified buffer.
|
static java.lang.String |
ByteBufUtil.hexDump(ByteBuf buffer)
Returns a hex dump
of the specified buffer's readable bytes.
|
static java.lang.String |
ByteBufUtil.hexDump(ByteBuf buffer,
int fromIndex,
int length)
Returns a hex dump
of the specified buffer's sub-region.
|
static int |
ByteBufUtil.indexOf(ByteBuf needle,
ByteBuf haystack)
Returns the reader index of needle in haystack, or -1 if needle is not in haystack.
|
static int |
ByteBufUtil.indexOf(ByteBuf buffer,
int fromIndex,
int toIndex,
byte value)
The default implementation of
indexOf(int, int, byte) . |
static boolean |
ByteBufUtil.isAccessible(ByteBuf buffer) |
static boolean |
ByteBufUtil.isText(ByteBuf buf,
java.nio.charset.Charset charset)
|
static boolean |
ByteBufUtil.isText(ByteBuf buf,
int index,
int length,
java.nio.charset.Charset charset)
Returns
true if the specified ByteBuf starting at index with length is valid
text using the given Charset , otherwise return false . |
static java.lang.String |
ByteBufUtil.prettyHexDump(ByteBuf buffer)
Returns a multi-line hexadecimal dump of the specified
ByteBuf that is easy to read by humans. |
static java.lang.String |
ByteBufUtil.prettyHexDump(ByteBuf buffer,
int offset,
int length)
Returns a multi-line hexadecimal dump of the specified
ByteBuf that is easy to read by humans,
starting at the given offset using the given length . |
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst) |
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex until the destination becomes
non-writable, and increases the readerIndex by the number of the
transferred bytes. |
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst) |
static ByteBuf |
ByteBufUtil.readBytes(ByteBufAllocator alloc,
ByteBuf buffer,
int length)
Read the given amount of bytes into a new
ByteBuf that is allocated from the ByteBufAllocator . |
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst,
int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst,
int length) |
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst,
int length)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst,
int length) |
ByteBuf |
SwappedByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
abstract ByteBuf |
ByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length)
Transfers this buffer's data to the specified destination starting at
the current
readerIndex and increases the readerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.readBytes(ByteBuf dst,
int dstIndex,
int length) |
static int |
ByteBufUtil.readIntBE(ByteBuf buf)
Reads a big-endian 32-bit integer from the buffer.
|
static int |
ByteBufUtil.readUnsignedShortBE(ByteBuf buf)
Reads a big-endian unsigned 16-bit short integer from the buffer.
|
ByteBufHolder |
DefaultByteBufHolder.replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
ByteBufHolder |
ByteBufHolder.replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
static int |
ByteBufUtil.reserveAndWriteUtf8(ByteBuf buf,
java.lang.CharSequence seq,
int reserveBytes)
|
static int |
ByteBufUtil.reserveAndWriteUtf8(ByteBuf buf,
java.lang.CharSequence seq,
int start,
int end,
int reserveBytes)
Equivalent to
but avoids
subsequence object allocation if possible. |
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
ByteBuf src) |
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index until the source buffer becomes
unreadable. |
ByteBuf |
AbstractByteBuf.setBytes(int index,
ByteBuf src) |
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src,
int length) |
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
ByteBuf src,
int length) |
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index . |
ByteBuf |
AbstractByteBuf.setBytes(int index,
ByteBuf src,
int length) |
ByteBuf |
UnpooledUnsafeDirectByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
UnpooledHeapByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
UnpooledDirectByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
SwappedByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
ReadOnlyByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
ByteBuf |
DuplicatedByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
已过时。
|
CompositeByteBuf |
CompositeByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length) |
abstract ByteBuf |
ByteBuf.setBytes(int index,
ByteBuf src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the specified absolute
index . |
static ByteBuf |
ByteBufUtil.setShortBE(ByteBuf buf,
int index,
int shortValue)
Sets a big-endian 16-bit short integer to the buffer.
|
protected static ByteBuf |
AbstractByteBufAllocator.toLeakAwareBuffer(ByteBuf buf) |
static ByteBuf |
Unpooled.unmodifiableBuffer(ByteBuf... buffers)
|
static ByteBuf |
Unpooled.unmodifiableBuffer(ByteBuf buffer)
已过时。
Use
asReadOnly() . |
static ByteBuf |
Unpooled.unreleasableBuffer(ByteBuf buf)
Return a unreleasable view on the given
ByteBuf which will just ignore release and retain calls. |
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuf... buffers)
Creates a new big-endian composite buffer which wraps the readable bytes of the
specified buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedBuffer(ByteBuf buffer)
Creates a new buffer which wraps the specified buffer's readable bytes.
|
static ByteBuf |
Unpooled.wrappedBuffer(int maxNumComponents,
ByteBuf... buffers)
Creates a new big-endian composite buffer which wraps the readable bytes of the
specified buffers without copying them.
|
static ByteBuf |
Unpooled.wrappedUnmodifiableBuffer(ByteBuf... buffers)
|
static int |
ByteBufUtil.writeAscii(ByteBuf buf,
java.lang.CharSequence seq)
|
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src) |
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex until the source buffer becomes
unreadable, and increases the writerIndex by the number of
the transferred bytes. |
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src) |
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src,
int length) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src,
int length) |
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src,
int length) |
ByteBuf |
SwappedByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length)
已过时。
|
ByteBuf |
EmptyByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
CompositeByteBuf |
CompositeByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
abstract ByteBuf |
ByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length)
Transfers the specified source buffer's data to this buffer starting at
the current
writerIndex and increases the writerIndex
by the number of the transferred bytes (= length ). |
ByteBuf |
AbstractByteBuf.writeBytes(ByteBuf src,
int srcIndex,
int length) |
static ByteBuf |
ByteBufUtil.writeMediumBE(ByteBuf buf,
int mediumValue)
Writes a big-endian 24-bit medium integer to the buffer.
|
static ByteBuf |
ByteBufUtil.writeShortBE(ByteBuf buf,
int shortValue)
Writes a big-endian 16-bit short integer to the buffer.
|
static int |
ByteBufUtil.writeUtf8(ByteBuf buf,
java.lang.CharSequence seq)
|
static int |
ByteBufUtil.writeUtf8(ByteBuf buf,
java.lang.CharSequence seq,
int start,
int end)
Equivalent to
but avoids subsequence object allocation. |
限定符和类型 | 方法和说明 |
---|---|
CompositeByteBuf |
CompositeByteBuf.addComponents(boolean increaseWriterIndex,
java.lang.Iterable<ByteBuf> buffers)
|
CompositeByteBuf |
CompositeByteBuf.addComponents(int cIndex,
java.lang.Iterable<ByteBuf> buffers)
Add the given
ByteBuf s on the specific index
Be aware that this method does not increase the writerIndex of the CompositeByteBuf . |
CompositeByteBuf |
CompositeByteBuf.addComponents(java.lang.Iterable<ByteBuf> buffers)
Add the given
ByteBuf s. |
构造器和说明 |
---|
ByteBufInputStream(ByteBuf buffer)
Creates a new stream which reads data from the specified
buffer
starting at the current readerIndex and ending at the current
writerIndex . |
ByteBufInputStream(ByteBuf buffer,
boolean releaseOnClose)
Creates a new stream which reads data from the specified
buffer
starting at the current readerIndex and ending at the current
writerIndex . |
ByteBufInputStream(ByteBuf buffer,
int length)
Creates a new stream which reads data from the specified
buffer
starting at the current readerIndex and ending at
readerIndex + length . |
ByteBufInputStream(ByteBuf buffer,
int length,
boolean releaseOnClose)
Creates a new stream which reads data from the specified
buffer
starting at the current readerIndex and ending at
readerIndex + length . |
ByteBufOutputStream(ByteBuf buffer)
Creates a new stream which writes data to the specified
buffer . |
CompositeByteBuf(ByteBufAllocator alloc,
boolean direct,
int maxNumComponents,
ByteBuf... buffers) |
DefaultByteBufHolder(ByteBuf data) |
DuplicatedByteBuf(ByteBuf buffer)
已过时。
|
ReadOnlyByteBuf(ByteBuf buffer)
已过时。
|
SlicedByteBuf(ByteBuf buffer,
int index,
int length)
已过时。
|
SwappedByteBuf(ByteBuf buf)
已过时。
|
构造器和说明 |
---|
CompositeByteBuf(ByteBufAllocator alloc,
boolean direct,
int maxNumComponents,
java.lang.Iterable<ByteBuf> buffers) |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
RecvByteBufAllocator.Handle.allocate(ByteBufAllocator alloc)
已过时。
Creates a new receive buffer whose capacity is probably large enough to read all inbound data and small
enough not to waste its space.
|
ByteBuf |
RecvByteBufAllocator.DelegatingHandle.allocate(ByteBufAllocator alloc) |
ByteBuf |
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.allocate(ByteBufAllocator alloc) |
ByteBuf |
PreferHeapByteBufAllocator.buffer() |
ByteBuf |
PreferHeapByteBufAllocator.buffer(int initialCapacity) |
ByteBuf |
PreferHeapByteBufAllocator.buffer(int initialCapacity,
int maxCapacity) |
protected ByteBuf |
CoalescingBufferQueue.compose(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next) |
protected abstract ByteBuf |
AbstractCoalescingBufferQueue.compose(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next)
Calculate the result of
current + next . |
protected ByteBuf |
AbstractCoalescingBufferQueue.composeFirst(ByteBufAllocator allocator,
ByteBuf first)
Calculate the first
ByteBuf which will be used in subsequent calls to
AbstractCoalescingBufferQueue.compose(ByteBufAllocator, ByteBuf, ByteBuf) . |
protected ByteBuf |
AbstractCoalescingBufferQueue.composeIntoComposite(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next)
|
protected ByteBuf |
AbstractCoalescingBufferQueue.copyAndCompose(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next)
|
ByteBuf |
PreferHeapByteBufAllocator.directBuffer() |
ByteBuf |
PreferHeapByteBufAllocator.directBuffer(int initialCapacity) |
ByteBuf |
PreferHeapByteBufAllocator.directBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
PreferHeapByteBufAllocator.heapBuffer() |
ByteBuf |
PreferHeapByteBufAllocator.heapBuffer(int initialCapacity) |
ByteBuf |
PreferHeapByteBufAllocator.heapBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
PreferHeapByteBufAllocator.ioBuffer() |
ByteBuf |
PreferHeapByteBufAllocator.ioBuffer(int initialCapacity) |
ByteBuf |
PreferHeapByteBufAllocator.ioBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
AbstractCoalescingBufferQueue.remove(ByteBufAllocator alloc,
int bytes,
ChannelPromise aggregatePromise)
Remove a
ByteBuf from the queue with the specified number of bytes. |
ByteBuf |
CoalescingBufferQueue.remove(int bytes,
ChannelPromise aggregatePromise)
Remove a
ByteBuf from the queue with the specified number of bytes. |
protected ByteBuf |
CoalescingBufferQueue.removeEmptyValue() |
protected abstract ByteBuf |
AbstractCoalescingBufferQueue.removeEmptyValue()
The value to return when
AbstractCoalescingBufferQueue.remove(ByteBufAllocator, int, ChannelPromise) is called but the queue is empty. |
ByteBuf |
AbstractCoalescingBufferQueue.removeFirst(ChannelPromise aggregatePromise)
Remove the first
ByteBuf from the queue. |
限定符和类型 | 方法和说明 |
---|---|
void |
AbstractCoalescingBufferQueue.add(ByteBuf buf)
Add a buffer to the end of the queue.
|
void |
AbstractCoalescingBufferQueue.add(ByteBuf buf,
ChannelFutureListener listener)
Add a buffer to the end of the queue and associate a listener with it that should be completed when
all the buffers bytes have been consumed from the queue and written.
|
void |
AbstractCoalescingBufferQueue.add(ByteBuf buf,
ChannelPromise promise)
Add a buffer to the end of the queue and associate a promise with it that should be completed when
all the buffer's bytes have been consumed from the queue and written.
|
void |
AbstractCoalescingBufferQueue.addFirst(ByteBuf buf,
ChannelPromise promise)
Add a buffer to the front of the queue and associate a promise with it that should be completed when
all the buffer's bytes have been consumed from the queue and written.
|
protected ByteBuf |
CoalescingBufferQueue.compose(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next) |
protected abstract ByteBuf |
AbstractCoalescingBufferQueue.compose(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next)
Calculate the result of
current + next . |
protected ByteBuf |
AbstractCoalescingBufferQueue.composeFirst(ByteBufAllocator allocator,
ByteBuf first)
Calculate the first
ByteBuf which will be used in subsequent calls to
AbstractCoalescingBufferQueue.compose(ByteBufAllocator, ByteBuf, ByteBuf) . |
protected ByteBuf |
AbstractCoalescingBufferQueue.composeIntoComposite(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next)
|
protected ByteBuf |
AbstractCoalescingBufferQueue.copyAndCompose(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf next)
|
限定符和类型 | 方法和说明 |
---|---|
SegmentedDatagramPacket |
SegmentedDatagramPacket.replace(ByteBuf content)
已过时。
|
构造器和说明 |
---|
SegmentedDatagramPacket(ByteBuf data,
int segmentSize,
java.net.InetSocketAddress recipient)
已过时。
Create a new instance.
|
SegmentedDatagramPacket(ByteBuf data,
int segmentSize,
java.net.InetSocketAddress recipient,
java.net.InetSocketAddress sender)
已过时。
Create a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
AbstractNioChannel.newDirectBuffer(ByteBuf buf)
Returns an off-heap copy of the specified
ByteBuf , and releases the original one. |
protected ByteBuf |
AbstractNioChannel.newDirectBuffer(ReferenceCounted holder,
ByteBuf buf)
Returns an off-heap copy of the specified
ByteBuf , and releases the specified holder. |
限定符和类型 | 方法和说明 |
---|---|
protected abstract int |
AbstractNioByteChannel.doReadBytes(ByteBuf buf)
Read bytes into the given
ByteBuf and return the amount. |
protected abstract int |
AbstractNioByteChannel.doWriteBytes(ByteBuf buf)
Write bytes form the given
ByteBuf to the underlying Channel . |
protected ByteBuf |
AbstractNioChannel.newDirectBuffer(ByteBuf buf)
Returns an off-heap copy of the specified
ByteBuf , and releases the original one. |
protected ByteBuf |
AbstractNioChannel.newDirectBuffer(ReferenceCounted holder,
ByteBuf buf)
Returns an off-heap copy of the specified
ByteBuf , and releases the specified holder. |
限定符和类型 | 方法和说明 |
---|---|
protected int |
OioByteStreamChannel.doReadBytes(ByteBuf buf)
已过时。
|
protected abstract int |
AbstractOioByteChannel.doReadBytes(ByteBuf buf)
已过时。
Read bytes from the underlying Socket.
|
protected void |
OioByteStreamChannel.doWriteBytes(ByteBuf buf)
已过时。
|
protected abstract void |
AbstractOioByteChannel.doWriteBytes(ByteBuf buf)
已过时。
Write the data which is hold by the
ByteBuf to the underlying Socket. |
限定符和类型 | 方法和说明 |
---|---|
SctpMessage |
SctpMessage.replace(ByteBuf content) |
构造器和说明 |
---|
SctpMessage(int protocolIdentifier,
int streamIdentifier,
boolean unordered,
ByteBuf payloadBuffer)
Essential data that is being carried within SCTP Data Chunk
|
SctpMessage(int protocolIdentifier,
int streamIdentifier,
ByteBuf payloadBuffer)
Essential data that is being carried within SCTP Data Chunk
|
SctpMessage(MessageInfo msgInfo,
ByteBuf payloadBuffer)
Essential data that is being carried within SCTP Data Chunk
|
限定符和类型 | 方法和说明 |
---|---|
DatagramPacket |
DatagramPacket.replace(ByteBuf content) |
构造器和说明 |
---|
DatagramPacket(ByteBuf data,
java.net.InetSocketAddress recipient)
Create a new instance with the specified packet
data and recipient address. |
DatagramPacket(ByteBuf data,
java.net.InetSocketAddress recipient,
java.net.InetSocketAddress sender)
Create a new instance with the specified packet
data , recipient address, and sender
address. |
限定符和类型 | 方法和说明 |
---|---|
protected int |
NioSocketChannel.doReadBytes(ByteBuf byteBuf) |
protected int |
NioSocketChannel.doWriteBytes(ByteBuf buf) |
限定符和类型 | 方法和说明 |
---|---|
protected int |
OioSocketChannel.doReadBytes(ByteBuf buf)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
UdtMessage |
UdtMessage.replace(ByteBuf content)
已过时。
|
构造器和说明 |
---|
UdtMessage(ByteBuf data)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
protected int |
NioUdtByteConnectorChannel.doReadBytes(ByteBuf byteBuf)
已过时。
|
protected int |
NioUdtByteConnectorChannel.doWriteBytes(ByteBuf byteBuf)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
PreferredDirectByteBufAllocator.buffer() |
ByteBuf |
PreferredDirectByteBufAllocator.buffer(int initialCapacity) |
ByteBuf |
PreferredDirectByteBufAllocator.buffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
PreferredDirectByteBufAllocator.directBuffer() |
ByteBuf |
PreferredDirectByteBufAllocator.directBuffer(int initialCapacity) |
ByteBuf |
PreferredDirectByteBufAllocator.directBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
PreferredDirectByteBufAllocator.heapBuffer() |
ByteBuf |
PreferredDirectByteBufAllocator.heapBuffer(int initialCapacity) |
ByteBuf |
PreferredDirectByteBufAllocator.heapBuffer(int initialCapacity,
int maxCapacity) |
ByteBuf |
PreferredDirectByteBufAllocator.ioBuffer() |
ByteBuf |
PreferredDirectByteBufAllocator.ioBuffer(int initialCapacity) |
ByteBuf |
PreferredDirectByteBufAllocator.ioBuffer(int initialCapacity,
int maxCapacity) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
IovArray.add(ByteBuf buf)
已过时。
|
boolean |
IovArray.add(ByteBuf buf,
int offset,
int len) |
static boolean |
UnixChannelUtil.isBufferCopyNeededForWrite(ByteBuf byteBuf)
Checks if the specified buffer has memory address or is composed of n(n <= IOV_MAX) NIO direct buffers.
|
SegmentedDatagramPacket |
SegmentedDatagramPacket.replace(ByteBuf content) |
DomainDatagramPacket |
DomainDatagramPacket.replace(ByteBuf content) |
构造器和说明 |
---|
DomainDatagramPacket(ByteBuf data,
DomainSocketAddress recipient)
Create a new instance with the specified packet
data and recipient address. |
DomainDatagramPacket(ByteBuf data,
DomainSocketAddress recipient,
DomainSocketAddress sender)
Create a new instance with the specified packet
data , recipient address, and sender
address. |
IovArray(ByteBuf memory) |
SegmentedDatagramPacket(ByteBuf data,
int segmentSize,
java.net.InetSocketAddress recipient)
Create a new instance.
|
SegmentedDatagramPacket(ByteBuf data,
int segmentSize,
java.net.InetSocketAddress recipient,
java.net.InetSocketAddress sender)
Create a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
BigIntegerDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
NumberEncoder.encode(ChannelHandlerContext ctx,
java.lang.Number msg,
ByteBuf out) |
限定符和类型 | 方法和说明 |
---|---|
static ByteBuf |
WebSocketServerBenchmarkPage.getContent(java.lang.String webSocketLocation) |
限定符和类型 | 方法和说明 |
---|---|
static ByteBuf |
WebSocketServerIndexPage.getContent(java.lang.String webSocketLocation) |
限定符和类型 | 方法和说明 |
---|---|
static ByteBuf |
Http2ExampleUtil.toByteBuf(java.io.InputStream input)
Reads an InputStream into a byte array.
|
限定符和类型 | 方法和说明 |
---|---|
int |
HelloWorldHttp2Handler.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream) |
void |
HelloWorldHttp2Handler.onGoAwayRead(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
HelloWorldHttp2Handler.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
ImageCache.image(int x,
int y) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
PortUnificationServerHandler.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
限定符和类型 | 方法和说明 |
---|---|
protected WebSocketFrame |
StompWebSocketFrameEncoder.convertContentSubFrame(StompContentSubframe original,
ByteBuf encoded) |
protected WebSocketFrame |
StompWebSocketFrameEncoder.convertFullFrame(StompFrame original,
ByteBuf encoded) |
protected WebSocketFrame |
StompWebSocketFrameEncoder.convertHeadersSubFrame(StompHeadersSubframe original,
ByteBuf encoded) |
限定符和类型 | 方法和说明 |
---|---|
void |
ByteEchoClientHandler.channelRead0(ChannelHandlerContext ctx,
ByteBuf msg) |
限定符和类型 | 方法和说明 |
---|---|
void |
ByteEchoPeerHandler.channelRead0(ChannelHandlerContext ctx,
ByteBuf buf) |
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
MessageToByteEncoder.allocateBuffer(ChannelHandlerContext ctx,
I msg,
boolean preferDirect)
Allocate a
ByteBuf which will be used as argument of #encode(ChannelHandlerContext, I, ByteBuf) . |
ByteBuf |
ByteToMessageDecoder.Cumulator.cumulate(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf in)
|
protected ByteBuf |
LengthFieldBasedFrameDecoder.extractFrame(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length)
Extract the sub-region of the specified buffer.
|
protected ByteBuf |
ByteToMessageDecoder.internalBuffer()
Returns the internal cumulative buffer of this decoder.
|
static ByteBuf[] |
Delimiters.lineDelimiter()
Returns
CR ('\r') and LF ('\n') delimiters, which could
be used for text-based line protocols. |
static ByteBuf[] |
Delimiters.nulDelimiter()
Returns a
NUL (0x00) delimiter, which could be used for
Flash XML socket or any similar protocols. |
限定符和类型 | 方法和说明 |
---|---|
protected abstract O |
MessageAggregator.beginAggregation(S start,
ByteBuf content)
Creates a new aggregated message from the specified start message and the specified content.
|
protected void |
ReplayingDecoder.callDecode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
ByteToMessageDecoder.callDecode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out)
Called once data should be decoded from the given
ByteBuf . |
ByteBuf |
ByteToMessageDecoder.Cumulator.cumulate(ByteBufAllocator alloc,
ByteBuf cumulation,
ByteBuf in)
|
protected java.lang.Object |
LineBasedFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf buffer)
Create a frame out of the
ByteBuf and return it. |
protected java.lang.Object |
LengthFieldBasedFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in)
Create a frame out of the
ByteBuf and return it. |
protected java.lang.Object |
FixedLengthFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in)
Create a frame out of the
ByteBuf and return it. |
protected java.lang.Object |
DelimiterBasedFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf buffer)
Create a frame out of the
ByteBuf and return it. |
protected void |
LineBasedFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
LengthFieldBasedFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
FixedLengthFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
DelimiterBasedFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected abstract void |
ByteToMessageDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out)
Decode the from one
ByteBuf to an other. |
protected abstract void |
ByteToMessageCodec.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
ByteToMessageDecoder.decodeLast(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out)
Is called one last time when the
ChannelHandlerContext goes in-active. |
protected void |
ByteToMessageCodec.decodeLast(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
LengthFieldPrepender.encode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
protected abstract void |
MessageToByteEncoder.encode(ChannelHandlerContext ctx,
I msg,
ByteBuf out)
Encode a message into a
ByteBuf . |
protected abstract void |
ByteToMessageCodec.encode(ChannelHandlerContext ctx,
I msg,
ByteBuf out) |
protected ByteBuf |
LengthFieldBasedFrameDecoder.extractFrame(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length)
Extract the sub-region of the specified buffer.
|
protected long |
LengthFieldBasedFrameDecoder.getUnadjustedFrameLength(ByteBuf buf,
int offset,
int length,
java.nio.ByteOrder order)
Decodes the specified region of the buffer into an unadjusted frame length.
|
构造器和说明 |
---|
AsciiHeadersEncoder(ByteBuf buf) |
AsciiHeadersEncoder(ByteBuf buf,
AsciiHeadersEncoder.SeparatorType separatorType,
AsciiHeadersEncoder.NewlineType newlineType) |
DelimiterBasedFrameDecoder(int maxFrameLength,
boolean stripDelimiter,
boolean failFast,
ByteBuf... delimiters)
Creates a new instance.
|
DelimiterBasedFrameDecoder(int maxFrameLength,
boolean stripDelimiter,
boolean failFast,
ByteBuf delimiter)
Creates a new instance.
|
DelimiterBasedFrameDecoder(int maxFrameLength,
boolean stripDelimiter,
ByteBuf... delimiters)
Creates a new instance.
|
DelimiterBasedFrameDecoder(int maxFrameLength,
boolean stripDelimiter,
ByteBuf delimiter)
Creates a new instance.
|
DelimiterBasedFrameDecoder(int maxFrameLength,
ByteBuf... delimiters)
Creates a new instance.
|
DelimiterBasedFrameDecoder(int maxFrameLength,
ByteBuf delimiter)
Creates a new instance.
|
构造器和说明 |
---|
DatagramPacketDecoder(MessageToMessageDecoder<ByteBuf> decoder)
Create a
DatagramPacket decoder using the specified ByteBuf decoder. |
限定符和类型 | 方法和说明 |
---|---|
static ByteBuf |
Base64.decode(ByteBuf src) |
static ByteBuf |
Base64.decode(ByteBuf src,
Base64Dialect dialect) |
static ByteBuf |
Base64.decode(ByteBuf src,
int off,
int len) |
static ByteBuf |
Base64.decode(ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static ByteBuf |
Base64.decode(ByteBuf src,
int off,
int len,
Base64Dialect dialect,
ByteBufAllocator allocator) |
static ByteBuf |
Base64.encode(ByteBuf src) |
static ByteBuf |
Base64.encode(ByteBuf src,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
boolean breakLines) |
static ByteBuf |
Base64.encode(ByteBuf src,
boolean breakLines,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
boolean breakLines) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect,
ByteBufAllocator allocator) |
限定符和类型 | 方法和说明 |
---|---|
static ByteBuf |
Base64.decode(ByteBuf src) |
static ByteBuf |
Base64.decode(ByteBuf src,
Base64Dialect dialect) |
static ByteBuf |
Base64.decode(ByteBuf src,
int off,
int len) |
static ByteBuf |
Base64.decode(ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static ByteBuf |
Base64.decode(ByteBuf src,
int off,
int len,
Base64Dialect dialect,
ByteBufAllocator allocator) |
protected void |
Base64Decoder.decode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
static ByteBuf |
Base64.encode(ByteBuf src) |
static ByteBuf |
Base64.encode(ByteBuf src,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
boolean breakLines) |
static ByteBuf |
Base64.encode(ByteBuf src,
boolean breakLines,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
boolean breakLines) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect) |
static ByteBuf |
Base64.encode(ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect,
ByteBufAllocator allocator) |
protected void |
Base64Encoder.encode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
ByteArrayDecoder.decode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
ZstdEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
protected ByteBuf |
LzmaFrameEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf in,
boolean preferDirect) |
protected ByteBuf |
Lz4FrameEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
protected ByteBuf |
JdkZlibEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
protected ByteBuf |
BrotliEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
protected ByteBuf |
ZlibDecoder.prepareDecompressBuffer(ChannelHandlerContext ctx,
ByteBuf buffer,
int preferredSize)
Allocate or expand the decompression buffer, without exceeding the maximum allocation.
|
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
ZstdEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
protected ByteBuf |
LzmaFrameEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf in,
boolean preferDirect) |
protected ByteBuf |
Lz4FrameEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
protected ByteBuf |
JdkZlibEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
protected ByteBuf |
BrotliEncoder.allocateBuffer(ChannelHandlerContext ctx,
ByteBuf msg,
boolean preferDirect) |
void |
Snappy.decode(ByteBuf in,
ByteBuf out) |
protected void |
ZstdDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
SnappyFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
LzfDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Lz4FrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
JZlibDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
JdkZlibDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
FastLzFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Bzip2Decoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
BrotliDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
ZlibDecoder.decompressionBufferExhausted(ByteBuf buffer)
Called when the decompression buffer cannot be expanded further.
|
protected void |
JZlibDecoder.decompressionBufferExhausted(ByteBuf buffer) |
protected void |
JdkZlibDecoder.decompressionBufferExhausted(ByteBuf buffer) |
void |
Snappy.encode(ByteBuf in,
ByteBuf out,
int length) |
protected void |
ZstdEncoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out) |
protected void |
SnappyFrameEncoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out) |
protected void |
LzmaFrameEncoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out) |
protected void |
LzfEncoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out) |
protected void |
Lz4FrameEncoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out)
Encode a message into a
ByteBuf . |
protected void |
JZlibEncoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out) |
protected void |
JdkZlibEncoder.encode(ChannelHandlerContext ctx,
ByteBuf uncompressed,
ByteBuf out) |
protected void |
FastLzFrameEncoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out) |
protected void |
Bzip2Encoder.encode(ChannelHandlerContext ctx,
ByteBuf in,
ByteBuf out) |
protected void |
BrotliEncoder.encode(ChannelHandlerContext ctx,
ByteBuf msg,
ByteBuf out) |
protected ByteBuf |
ZlibDecoder.prepareDecompressBuffer(ChannelHandlerContext ctx,
ByteBuf buffer,
int preferredSize)
Allocate or expand the decompression buffer, without exceeding the maximum allocation.
|
void |
Lz4XXHash32.update(ByteBuf b,
int off,
int len) |
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
DatagramDnsQueryEncoder.allocateBuffer(ChannelHandlerContext ctx,
AddressedEnvelope<DnsQuery,java.net.InetSocketAddress> msg)
Allocate a
ByteBuf which will be used for constructing a datagram packet. |
protected ByteBuf |
DatagramDnsResponseEncoder.allocateBuffer(ChannelHandlerContext ctx,
AddressedEnvelope<DnsResponse,java.net.InetSocketAddress> msg)
Allocate a
ByteBuf which will be used for constructing a datagram packet. |
protected ByteBuf |
TcpDnsQueryEncoder.allocateBuffer(ChannelHandlerContext ctx,
DnsQuery msg,
boolean preferDirect) |
ByteBuf |
DefaultDnsRawRecord.content() |
protected ByteBuf |
TcpDnsResponseDecoder.extractFrame(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length) |
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.Object |
TcpDnsResponseDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in) |
protected java.lang.Object |
TcpDnsQueryDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in) |
static java.lang.String |
DefaultDnsRecordDecoder.decodeName(ByteBuf in)
Retrieves a domain name given a buffer containing a DNS packet.
|
protected java.lang.String |
DefaultDnsRecordDecoder.decodeName0(ByteBuf in)
Retrieves a domain name given a buffer containing a DNS packet.
|
DnsQuestion |
DnsRecordDecoder.decodeQuestion(ByteBuf in)
Decodes a DNS question into its object representation.
|
DnsQuestion |
DefaultDnsRecordDecoder.decodeQuestion(ByteBuf in) |
<T extends DnsRecord> |
DnsRecordDecoder.decodeRecord(ByteBuf in)
Decodes a DNS record into its object representation.
|
<T extends DnsRecord> |
DefaultDnsRecordDecoder.decodeRecord(ByteBuf in) |
protected DnsRecord |
DefaultDnsRecordDecoder.decodeRecord(java.lang.String name,
DnsRecordType type,
int dnsClass,
long timeToLive,
ByteBuf in,
int offset,
int length)
Decodes a record from the information decoded so far by
DefaultDnsRecordDecoder.decodeRecord(ByteBuf) . |
protected void |
TcpDnsQueryEncoder.encode(ChannelHandlerContext ctx,
DnsQuery msg,
ByteBuf out) |
protected void |
DefaultDnsRecordEncoder.encodeName(java.lang.String name,
ByteBuf buf) |
void |
DnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion . |
void |
DefaultDnsRecordEncoder.encodeQuestion(DnsQuestion question,
ByteBuf out) |
void |
DnsRecordEncoder.encodeRecord(DnsRecord record,
ByteBuf out)
Encodes a
DnsRecord . |
void |
DefaultDnsRecordEncoder.encodeRecord(DnsRecord record,
ByteBuf out) |
protected ByteBuf |
TcpDnsResponseDecoder.extractFrame(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length) |
DnsRawRecord |
DnsRawRecord.replace(ByteBuf content) |
DnsRawRecord |
DefaultDnsRawRecord.replace(ByteBuf content) |
构造器和说明 |
---|
DefaultDnsRawRecord(java.lang.String name,
DnsRecordType type,
int dnsClass,
long timeToLive,
ByteBuf content)
Creates a new record.
|
DefaultDnsRawRecord(java.lang.String name,
DnsRecordType type,
long timeToLive,
ByteBuf content)
Creates a new
IN-class record. |
限定符和类型 | 方法和说明 |
---|---|
protected void |
HAProxyMessageDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
static ProtocolDetectionResult<HAProxyProtocolVersion> |
HAProxyMessageDecoder.detectProtocol(ByteBuf buffer)
Returns the
ProtocolDetectionResult for the given ByteBuf . |
protected void |
HAProxyMessageEncoder.encode(ChannelHandlerContext ctx,
HAProxyMessage msg,
ByteBuf out) |
HAProxyTLV |
HAProxyTLV.replace(ByteBuf content) |
构造器和说明 |
---|
HAProxyTLV(byte typeByteValue,
ByteBuf content)
Creates a new HAProxyTLV
|
HAProxyTLV(HAProxyTLV.Type type,
ByteBuf content)
Creates a new HAProxyTLV
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
WriteBytesVsShortOrMediumBenchmark.byteArray2() |
ByteBuf |
WriteBytesVsShortOrMediumBenchmark.byteArray3() |
ByteBuf |
WriteBytesVsShortOrMediumBenchmark.chainedBytes2() |
ByteBuf |
WriteBytesVsShortOrMediumBenchmark.chainedBytes3() |
ByteBuf |
DefaultHttpContent.content() |
ByteBuf |
DefaultFullHttpResponse.content() |
ByteBuf |
DefaultFullHttpRequest.content() |
ByteBuf |
WriteBytesVsShortOrMediumBenchmark.mediumInt() |
ByteBuf |
HttpRequestEncoderInsertBenchmark.newEncoder() |
ByteBuf |
HttpRequestEncoderInsertBenchmark.oldEncoder() |
ByteBuf |
WriteBytesVsShortOrMediumBenchmark.shortInt() |
限定符和类型 | 方法和说明 |
---|---|
protected FullHttpMessage |
HttpObjectAggregator.beginAggregation(HttpMessage start,
ByteBuf content) |
protected void |
HttpObjectDecoder.decode(ChannelHandlerContext ctx,
ByteBuf buffer,
java.util.List<java.lang.Object> out) |
protected void |
HttpObjectDecoder.decodeLast(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
static void |
HttpHeaders.encodeAscii(java.lang.CharSequence seq,
ByteBuf buf)
已过时。
|
protected static void |
HttpObjectEncoder.encodeAscii(java.lang.String s,
ByteBuf buf)
已过时。
|
protected void |
HttpObjectEncoder.encodeHeaders(HttpHeaders headers,
ByteBuf buf)
Encode the
HttpHeaders into a ByteBuf . |
protected abstract void |
HttpObjectEncoder.encodeInitialLine(ByteBuf buf,
H message) |
protected void |
HttpRequestEncoder.encodeInitialLine(ByteBuf buf,
HttpRequest request) |
protected void |
HttpResponseEncoder.encodeInitialLine(ByteBuf buf,
HttpResponse response) |
LastHttpContent |
LastHttpContent.replace(ByteBuf content) |
HttpContent |
HttpContent.replace(ByteBuf content) |
FullHttpResponse |
FullHttpResponse.replace(ByteBuf content) |
FullHttpRequest |
FullHttpRequest.replace(ByteBuf content) |
FullHttpMessage |
FullHttpMessage.replace(ByteBuf content) |
LastHttpContent |
DefaultLastHttpContent.replace(ByteBuf content) |
HttpContent |
DefaultHttpContent.replace(ByteBuf content) |
FullHttpResponse |
DefaultFullHttpResponse.replace(ByteBuf content) |
FullHttpRequest |
DefaultFullHttpRequest.replace(ByteBuf content) |
构造器和说明 |
---|
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri,
ByteBuf content)
Create a full HTTP response with the given HTTP version, method, URI, and contents.
|
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri,
ByteBuf content,
boolean validateHeaders)
已过时。
|
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri,
ByteBuf content,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
Create a full HTTP response with the given HTTP version, method, URI, contents,
and factories for creating headers and trailers.
|
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri,
ByteBuf content,
HttpHeaders headers,
HttpHeaders trailingHeader)
Create a full HTTP response with the given HTTP version, method, URI, contents, and header and trailer objects.
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content)
Create an HTTP response with the given HTTP version, status, and contents.
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
boolean validateHeaders)
已过时。
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
boolean validateHeaders,
boolean singleFieldHeaders)
已过时。
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
Create an HTTP response with the given HTTP version, status, contents,
and with headers and trailers created by the given header factories.
|
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
HttpHeaders headers,
HttpHeaders trailingHeaders)
Create an HTTP response with the given HTTP version, status, contents, headers and trailers.
|
DefaultHttpContent(ByteBuf content)
Creates a new instance with the specified chunk content.
|
DefaultLastHttpContent(ByteBuf content)
Create a new last HTTP content message with the given contents.
|
DefaultLastHttpContent(ByteBuf content,
boolean validateHeaders)
已过时。
Prefer the
DefaultLastHttpContent.DefaultLastHttpContent(ByteBuf) constructor instead, to always have header
validation enabled. |
DefaultLastHttpContent(ByteBuf content,
HttpHeaders trailingHeaders)
Create a new last HTTP content message with the given contents, and trailing headers.
|
DefaultLastHttpContent(ByteBuf content,
HttpHeadersFactory trailersFactory)
Create a new last HTTP content message with the given contents, and trailing headers from the given factory.
|
构造器和说明 |
---|
HttpChunkedInput(ChunkedInput<ByteBuf> input)
Creates a new instance using the specified input.
|
HttpChunkedInput(ChunkedInput<ByteBuf> input,
LastHttpContent lastHttpContent)
Creates a new instance using the specified input.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
AbstractHttpData.content() |
ByteBuf |
HttpData.getByteBuf()
Returns the content of the file item as a ByteBuf.
|
ByteBuf |
AbstractMemoryHttpData.getByteBuf()
Utility to go from a In Memory FileUpload
to a Disk (or another implementation) FileUpload
|
ByteBuf |
AbstractDiskHttpData.getByteBuf() |
ByteBuf |
HttpData.getChunk(int length)
Returns a ChannelBuffer for the content from the current position with at
most length read bytes, increasing the current position of the Bytes
read.
|
ByteBuf |
AbstractMemoryHttpData.getChunk(int length) |
ByteBuf |
AbstractDiskHttpData.getChunk(int length) |
限定符和类型 | 方法和说明 |
---|---|
void |
MemoryAttribute.addContent(ByteBuf buffer,
boolean last) |
void |
HttpData.addContent(ByteBuf buffer,
boolean last)
Add the content from the ChannelBuffer
ReferenceCounted.release() ownership of buffer is transferred to this HttpData . |
void |
DiskAttribute.addContent(ByteBuf buffer,
boolean last) |
void |
AbstractMemoryHttpData.addContent(ByteBuf buffer,
boolean last) |
void |
AbstractDiskHttpData.addContent(ByteBuf buffer,
boolean last) |
FileUpload |
MixedFileUpload.replace(ByteBuf content) |
Attribute |
MixedAttribute.replace(ByteBuf content) |
FileUpload |
MemoryFileUpload.replace(ByteBuf content) |
Attribute |
MemoryAttribute.replace(ByteBuf content) |
HttpData |
HttpData.replace(ByteBuf content) |
FileUpload |
FileUpload.replace(ByteBuf content) |
FileUpload |
DiskFileUpload.replace(ByteBuf content) |
Attribute |
DiskAttribute.replace(ByteBuf content) |
Attribute |
Attribute.replace(ByteBuf content) |
void |
HttpData.setContent(ByteBuf buffer)
Set the content from the ChannelBuffer (erase any previous data)
ReferenceCounted.release() ownership of buffer is transferred to this HttpData . |
void |
AbstractMemoryHttpData.setContent(ByteBuf buffer) |
void |
AbstractDiskHttpData.setContent(ByteBuf buffer) |
限定符和类型 | 方法和说明 |
---|---|
protected WebSocketFrame |
WebSocketFrameAggregator.beginAggregation(WebSocketFrame start,
ByteBuf content) |
protected void |
WebSocket08FrameDecoder.checkCloseFrameBody(ChannelHandlerContext ctx,
ByteBuf buffer) |
protected void |
WebSocket08FrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
WebSocket00FrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
abstract WebSocketFrame |
WebSocketFrame.replace(ByteBuf content) |
TextWebSocketFrame |
TextWebSocketFrame.replace(ByteBuf content) |
PongWebSocketFrame |
PongWebSocketFrame.replace(ByteBuf content) |
PingWebSocketFrame |
PingWebSocketFrame.replace(ByteBuf content) |
ContinuationWebSocketFrame |
ContinuationWebSocketFrame.replace(ByteBuf content) |
CloseWebSocketFrame |
CloseWebSocketFrame.replace(ByteBuf content) |
BinaryWebSocketFrame |
BinaryWebSocketFrame.replace(ByteBuf content) |
构造器和说明 |
---|
BinaryWebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData)
Creates a new binary frame with the specified binary data and the final fragment flag.
|
BinaryWebSocketFrame(ByteBuf binaryData)
Creates a new binary frame with the specified binary data.
|
CloseWebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData)
Creates a new close frame
|
ContinuationWebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData)
Creates a new continuation frame with the specified binary data.
|
ContinuationWebSocketFrame(ByteBuf binaryData)
Creates a new continuation frame with the specified binary data.
|
PingWebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData)
Creates a new ping frame with the specified binary data.
|
PingWebSocketFrame(ByteBuf binaryData)
Creates a new ping frame with the specified binary data.
|
PongWebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData)
Creates a new pong frame with the specified binary data
|
PongWebSocketFrame(ByteBuf binaryData)
Creates a new pong frame with the specified binary data.
|
TextWebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData)
Creates a new text frame with the specified binary data and the final fragment flag.
|
TextWebSocketFrame(ByteBuf binaryData)
Creates a new text frame with the specified binary data.
|
WebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData) |
WebSocketFrame(ByteBuf binaryData) |
构造器和说明 |
---|
WebSocketChunkedInput(ChunkedInput<ByteBuf> input)
Creates a new instance using the specified input.
|
WebSocketChunkedInput(ChunkedInput<ByteBuf> input,
int rsv)
Creates a new instance using the specified input.
|
限定符和类型 | 方法和说明 |
---|---|
static ByteBuf |
Http2CodecUtil.connectionPrefaceBuf()
Returns a buffer containing the
Http2CodecUtil.CONNECTION_PREFACE . |
ByteBuf |
Http2GoAwayFrame.content()
Optional debugging information describing cause the GOAWAY.
|
ByteBuf |
Http2DataFrame.content()
Payload of DATA frame.
|
ByteBuf |
DefaultHttp2DataFrame.content() |
ByteBuf |
HpackHeadersSize.newOutBuffer() |
static ByteBuf |
Http2CodecUtil.toByteBuf(ChannelHandlerContext ctx,
java.lang.Throwable cause)
Creates a buffer containing the error message from the given exception.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
Http2ConnectionHandler.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
CleartextHttp2ServerUpgradeHandler.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out)
Peek inbound message to determine current connection wants to start HTTP/2
by HTTP upgrade or prior knowledge
|
void |
Http2ConnectionDecoder.decodeFrame(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out)
Called by the
Http2ConnectionHandler to decode the next frame from the input buffer. |
void |
DefaultHttp2ConnectionDecoder.decodeFrame(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
void |
DecoratingHttp2ConnectionDecoder.decodeFrame(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
Http2Headers |
Http2HeadersDecoder.decodeHeaders(int streamId,
ByteBuf headerBlock)
Decodes the given headers block and returns the headers.
|
Http2Headers |
DefaultHttp2HeadersDecoder.decodeHeaders(int streamId,
ByteBuf headerBlock) |
void |
Http2HeadersEncoder.encodeHeaders(int streamId,
Http2Headers headers,
ByteBuf buffer)
Encodes the given headers and writes the output headers block to the given output buffer.
|
void |
DefaultHttp2HeadersEncoder.encodeHeaders(int streamId,
Http2Headers headers,
ByteBuf buffer) |
ChannelFuture |
Http2LifecycleManager.goAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise)
Prevents the peer from creating streams and close the connection if
errorCode is not
Http2Error.NO_ERROR . |
ChannelFuture |
Http2ConnectionHandler.goAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
void |
Http2Connection.goAwayReceived(int lastKnownStream,
long errorCode,
ByteBuf message)
Indicates that a
GOAWAY was received from the remote endpoint and sets the last known stream. |
void |
DefaultHttp2Connection.goAwayReceived(int lastKnownStream,
long errorCode,
ByteBuf debugData) |
boolean |
Http2Connection.goAwaySent(int lastKnownStream,
long errorCode,
ByteBuf message)
Updates the local state of this
Http2Connection as a result of a GOAWAY to send to the remote
endpoint. |
boolean |
DefaultHttp2Connection.goAwaySent(int lastKnownStream,
long errorCode,
ByteBuf debugData) |
void |
Http2FrameLogger.logData(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream) |
void |
Http2FrameLogger.logGoAway(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2FrameLogger.logUnknownFrame(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf data) |
int |
InboundHttp2ToHttpAdapter.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream) |
int |
Http2FrameListenerDecorator.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream) |
int |
Http2FrameListener.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream)
Handles an inbound
DATA frame. |
int |
Http2FrameAdapter.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream) |
int |
Http2EventAdapter.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream) |
int |
DelegatingDecompressorFrameListener.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream) |
void |
Http2FrameListenerDecorator.onGoAwayRead(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2FrameListener.onGoAwayRead(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData)
Handles an inbound
GO_AWAY frame. |
void |
Http2FrameAdapter.onGoAwayRead(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2EventAdapter.onGoAwayRead(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2EventAdapter.onGoAwayReceived(int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2ConnectionAdapter.onGoAwayReceived(int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2Connection.Listener.onGoAwayReceived(int lastStreamId,
long errorCode,
ByteBuf debugData)
Called when a
GOAWAY was received from the remote endpoint. |
void |
Http2EventAdapter.onGoAwaySent(int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2ConnectionAdapter.onGoAwaySent(int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
Http2Connection.Listener.onGoAwaySent(int lastStreamId,
long errorCode,
ByteBuf debugData)
Called when a
GOAWAY frame was sent for the connection. |
void |
Http2FrameListenerDecorator.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
void |
Http2FrameListener.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload)
Handler for a frame not defined by the HTTP/2 spec.
|
void |
Http2FrameAdapter.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
void |
Http2EventAdapter.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
void |
Http2InboundFrameLogger.readFrame(ChannelHandlerContext ctx,
ByteBuf input,
Http2FrameListener listener) |
void |
Http2FrameReader.readFrame(ChannelHandlerContext ctx,
ByteBuf input,
Http2FrameListener listener)
Attempts to read the next frame from the input buffer.
|
void |
DefaultHttp2FrameReader.readFrame(ChannelHandlerContext ctx,
ByteBuf input,
Http2FrameListener listener) |
static int |
Http2CodecUtil.readUnsignedInt(ByteBuf buf)
Reads a big-endian (31-bit) integer from the buffer.
|
void |
Http2LocalFlowController.receiveFlowControlledFrame(Http2Stream stream,
ByteBuf data,
int padding,
boolean endOfStream)
Receives an inbound
DATA frame from the remote endpoint and applies flow control policies to it for both
the stream as well as the connection. |
void |
DefaultHttp2LocalFlowController.receiveFlowControlledFrame(Http2Stream stream,
ByteBuf data,
int padding,
boolean endOfStream) |
Http2UnknownFrame |
Http2UnknownFrame.replace(ByteBuf content) |
Http2GoAwayFrame |
Http2GoAwayFrame.replace(ByteBuf content) |
Http2DataFrame |
Http2DataFrame.replace(ByteBuf content) |
DefaultHttp2UnknownFrame |
DefaultHttp2UnknownFrame.replace(ByteBuf content) |
Http2GoAwayFrame |
DefaultHttp2GoAwayFrame.replace(ByteBuf content) |
DefaultHttp2DataFrame |
DefaultHttp2DataFrame.replace(ByteBuf content) |
static FullHttpRequest |
HttpConversionUtil.toFullHttpRequest(int streamId,
Http2Headers http2Headers,
ByteBuf content,
boolean validateHttpHeaders)
Create a new object to contain the request data
|
static FullHttpResponse |
HttpConversionUtil.toFullHttpResponse(int streamId,
Http2Headers http2Headers,
ByteBuf content,
boolean validateHttpHeaders)
Create a new object to contain the response data
|
ChannelFuture |
StreamBufferingEncoder.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
Http2DataWriter.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream,
ChannelPromise promise)
Writes a
DATA frame to the remote endpoint. |
ChannelFuture |
DefaultHttp2FrameWriter.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream,
ChannelPromise promise) |
ChannelFuture |
DecoratingHttp2FrameWriter.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
CompressorHttp2ConnectionEncoder.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise)
Generic write method for any HTTP/2 frame.
|
ChannelFuture |
Http2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise)
Writes the given data to the internal
Http2FrameWriter without performing any
state checks on the connection/stream. |
ChannelFuture |
DefaultHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
DecoratingHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
static void |
Http2CodecUtil.writeFrameHeader(ByteBuf out,
int payloadLength,
byte type,
Http2Flags flags,
int streamId)
Writes an HTTP/2 frame header to the output buffer.
|
ChannelFuture |
Http2OutboundFrameLogger.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise)
Writes a GO_AWAY frame to the remote endpoint.
|
ChannelFuture |
DefaultHttp2FrameWriter.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
ChannelFuture |
DecoratingHttp2FrameWriter.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
构造器和说明 |
---|
DefaultHttp2DataFrame(ByteBuf content)
Equivalent to
new DefaultHttp2DataFrame(content, false) . |
DefaultHttp2DataFrame(ByteBuf content,
boolean endStream)
Equivalent to
new DefaultHttp2DataFrame(content, endStream, 0) . |
DefaultHttp2DataFrame(ByteBuf content,
boolean endStream,
int padding)
Construct a new data message.
|
DefaultHttp2GoAwayFrame(Http2Error error,
ByteBuf content) |
DefaultHttp2GoAwayFrame(long errorCode,
ByteBuf content)
Construct a new GOAWAY message.
|
DefaultHttp2UnknownFrame(byte frameType,
Http2Flags flags,
ByteBuf data) |
构造器和说明 |
---|
Http2DataChunkedInput(ChunkedInput<ByteBuf> input,
Http2FrameStream stream)
Creates a new instance using the specified input.
|
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
JsonObjectDecoder.extractObject(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length)
Override this method if you want to filter the json objects/arrays that get passed through the pipeline.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
JsonObjectDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected ByteBuf |
JsonObjectDecoder.extractObject(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length)
Override this method if you want to filter the json objects/arrays that get passed through the pipeline.
|
限定符和类型 | 方法和说明 |
---|---|
protected ByteBuf |
MarshallingDecoder.extractFrame(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length) |
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.Object |
MarshallingDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in) |
protected void |
CompatibleMarshallingDecoder.decode(ChannelHandlerContext ctx,
ByteBuf buffer,
java.util.List<java.lang.Object> out) |
protected void |
CompatibleMarshallingDecoder.decodeLast(ChannelHandlerContext ctx,
ByteBuf buffer,
java.util.List<java.lang.Object> out) |
protected void |
MarshallingEncoder.encode(ChannelHandlerContext ctx,
java.lang.Object msg,
ByteBuf out) |
protected void |
CompatibleMarshallingEncoder.encode(ChannelHandlerContext ctx,
java.lang.Object msg,
ByteBuf out) |
protected ByteBuf |
MarshallingDecoder.extractFrame(ChannelHandlerContext ctx,
ByteBuf buffer,
int index,
int length) |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
DefaultMemcacheContent.content() |
protected abstract ByteBuf |
AbstractMemcacheObjectEncoder.encodeMessage(ChannelHandlerContext ctx,
M msg)
Take the given
MemcacheMessage and encode it into a writable ByteBuf . |
限定符和类型 | 方法和说明 |
---|---|
MemcacheContent |
MemcacheContent.replace(ByteBuf content) |
LastMemcacheContent |
LastMemcacheContent.replace(ByteBuf content) |
FullMemcacheMessage |
FullMemcacheMessage.replace(ByteBuf content) |
MemcacheContent |
DefaultMemcacheContent.replace(ByteBuf content) |
LastMemcacheContent |
DefaultLastMemcacheContent.replace(ByteBuf content) |
构造器和说明 |
---|
DefaultLastMemcacheContent(ByteBuf content) |
DefaultMemcacheContent(ByteBuf content)
Creates a new instance with the specified content.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
DefaultFullBinaryMemcacheResponse.content() |
ByteBuf |
DefaultFullBinaryMemcacheRequest.content() |
protected ByteBuf |
AbstractBinaryMemcacheEncoder.encodeMessage(ChannelHandlerContext ctx,
M msg) |
ByteBuf |
BinaryMemcacheMessage.extras()
Returns a
ByteBuf representation of the optional extras. |
ByteBuf |
AbstractBinaryMemcacheMessage.extras() |
ByteBuf |
BinaryMemcacheMessage.key()
Returns the optional key of the document.
|
ByteBuf |
AbstractBinaryMemcacheMessage.key() |
限定符和类型 | 方法和说明 |
---|---|
protected FullMemcacheMessage |
BinaryMemcacheObjectAggregator.beginAggregation(BinaryMemcacheMessage start,
ByteBuf content) |
protected void |
AbstractBinaryMemcacheDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected BinaryMemcacheResponse |
BinaryMemcacheResponseDecoder.decodeHeader(ByteBuf in) |
protected BinaryMemcacheRequest |
BinaryMemcacheRequestDecoder.decodeHeader(ByteBuf in) |
protected abstract M |
AbstractBinaryMemcacheDecoder.decodeHeader(ByteBuf in)
Decode and return the parsed
BinaryMemcacheMessage . |
protected void |
BinaryMemcacheRequestEncoder.encodeHeader(ByteBuf buf,
BinaryMemcacheRequest msg) |
protected void |
BinaryMemcacheResponseEncoder.encodeHeader(ByteBuf buf,
BinaryMemcacheResponse msg) |
protected abstract void |
AbstractBinaryMemcacheEncoder.encodeHeader(ByteBuf buf,
M msg)
Encode the header.
|
FullBinaryMemcacheResponse |
FullBinaryMemcacheResponse.replace(ByteBuf content) |
FullBinaryMemcacheRequest |
FullBinaryMemcacheRequest.replace(ByteBuf content) |
FullBinaryMemcacheResponse |
DefaultFullBinaryMemcacheResponse.replace(ByteBuf content) |
FullBinaryMemcacheRequest |
DefaultFullBinaryMemcacheRequest.replace(ByteBuf content) |
BinaryMemcacheMessage |
BinaryMemcacheMessage.setExtras(ByteBuf extras)
Sets the extras buffer on the message.
|
BinaryMemcacheMessage |
AbstractBinaryMemcacheMessage.setExtras(ByteBuf extras) |
BinaryMemcacheMessage |
BinaryMemcacheMessage.setKey(ByteBuf key)
Sets the key of the document.
|
BinaryMemcacheMessage |
AbstractBinaryMemcacheMessage.setKey(ByteBuf key) |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
MqttPublishMessage.content() |
ByteBuf |
MqttPublishMessage.payload() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
MqttDecoder.decode(ChannelHandlerContext ctx,
ByteBuf buffer,
java.util.List<java.lang.Object> out) |
MqttMessageBuilders.PublishBuilder |
MqttMessageBuilders.PublishBuilder.payload(ByteBuf payload) |
MqttPublishMessage |
MqttPublishMessage.replace(ByteBuf content) |
构造器和说明 |
---|
MqttPublishMessage(MqttFixedHeader mqttFixedHeader,
MqttPublishVariableHeader variableHeader,
ByteBuf payload) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
ProtobufVarint32FrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
ProtobufDecoderNano.decode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
protected void |
ProtobufDecoder.decode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
protected void |
ProtobufVarint32LengthFieldPrepender.encode(ChannelHandlerContext ctx,
ByteBuf msg,
ByteBuf out) |
限定符和类型 | 方法和说明 |
---|---|
protected FullBulkStringRedisMessage |
RedisBulkStringAggregator.beginAggregation(BulkStringHeaderRedisMessage start,
ByteBuf content) |
protected void |
RedisDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
ErrorRedisMessage |
RedisMessagePool.getError(ByteBuf content)
Returns
ErrorRedisMessage for given content . |
ErrorRedisMessage |
FixedRedisMessagePool.getError(ByteBuf content) |
IntegerRedisMessage |
RedisMessagePool.getInteger(ByteBuf content)
Returns
IntegerRedisMessage for given content . |
IntegerRedisMessage |
FixedRedisMessagePool.getInteger(ByteBuf content) |
SimpleStringRedisMessage |
RedisMessagePool.getSimpleString(ByteBuf content)
Returns
SimpleStringRedisMessage for given content . |
SimpleStringRedisMessage |
FixedRedisMessagePool.getSimpleString(ByteBuf content) |
static RedisMessageType |
RedisMessageType.readFrom(ByteBuf in,
boolean decodeInlineCommands)
Determine
RedisMessageType based on the type prefix byte read from given the buffer. |
LastBulkStringRedisContent |
LastBulkStringRedisContent.replace(ByteBuf content) |
FullBulkStringRedisMessage |
FullBulkStringRedisMessage.replace(ByteBuf content) |
LastBulkStringRedisContent |
DefaultLastBulkStringRedisContent.replace(ByteBuf content) |
BulkStringRedisContent |
DefaultBulkStringRedisContent.replace(ByteBuf content) |
BulkStringRedisContent |
BulkStringRedisContent.replace(ByteBuf content) |
void |
RedisMessageType.writeTo(ByteBuf out)
Write the message type's prefix to the given buffer.
|
构造器和说明 |
---|
DefaultBulkStringRedisContent(ByteBuf content)
Creates a
DefaultBulkStringRedisContent for the given content . |
DefaultLastBulkStringRedisContent(ByteBuf content)
Creates a
DefaultLastBulkStringRedisContent for the given content . |
FullBulkStringRedisMessage(ByteBuf content)
Creates a
FullBulkStringRedisMessage for the given content . |
限定符和类型 | 方法和说明 |
---|---|
protected void |
RtspEncoder.encodeInitialLine(ByteBuf buf,
HttpMessage message) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
SctpOutboundByteStreamHandler.encode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.Object |
ObjectDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in)
已过时。
|
protected void |
ObjectEncoder.encode(ChannelHandlerContext ctx,
java.io.Serializable msg,
ByteBuf out)
已过时。
|
protected void |
CompatibleObjectEncoder.encode(ChannelHandlerContext ctx,
java.io.Serializable msg,
ByteBuf out)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
protected SmtpResponse |
SmtpResponseDecoder.decode(ChannelHandlerContext ctx,
ByteBuf buffer) |
SmtpContent |
SmtpContent.replace(ByteBuf content) |
LastSmtpContent |
LastSmtpContent.replace(ByteBuf content) |
SmtpContent |
DefaultSmtpContent.replace(ByteBuf content) |
LastSmtpContent |
DefaultLastSmtpContent.replace(ByteBuf content) |
构造器和说明 |
---|
DefaultLastSmtpContent(ByteBuf data)
Creates a new instance using the given data.
|
DefaultSmtpContent(ByteBuf data)
Creates a new instance using the given data.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
SocksInitResponseDecoder.decode(ChannelHandlerContext ctx,
ByteBuf byteBuf,
java.util.List<java.lang.Object> out) |
protected void |
SocksInitRequestDecoder.decode(ChannelHandlerContext ctx,
ByteBuf byteBuf,
java.util.List<java.lang.Object> out) |
protected void |
SocksCmdResponseDecoder.decode(ChannelHandlerContext ctx,
ByteBuf byteBuf,
java.util.List<java.lang.Object> out) |
protected void |
SocksCmdRequestDecoder.decode(ChannelHandlerContext ctx,
ByteBuf byteBuf,
java.util.List<java.lang.Object> out) |
protected void |
SocksAuthResponseDecoder.decode(ChannelHandlerContext channelHandlerContext,
ByteBuf byteBuf,
java.util.List<java.lang.Object> out) |
protected void |
SocksAuthRequestDecoder.decode(ChannelHandlerContext ctx,
ByteBuf byteBuf,
java.util.List<java.lang.Object> out) |
protected void |
SocksMessageEncoder.encode(ChannelHandlerContext ctx,
SocksMessage msg,
ByteBuf out) |
void |
UnknownSocksResponse.encodeAsByteBuf(ByteBuf byteBuf) |
void |
UnknownSocksRequest.encodeAsByteBuf(ByteBuf byteBuf) |
abstract void |
SocksMessage.encodeAsByteBuf(ByteBuf byteBuf)
已过时。
Do not use; this method was intended for an internal use only.
|
void |
SocksInitResponse.encodeAsByteBuf(ByteBuf byteBuf) |
void |
SocksInitRequest.encodeAsByteBuf(ByteBuf byteBuf) |
void |
SocksCmdResponse.encodeAsByteBuf(ByteBuf byteBuf) |
void |
SocksCmdRequest.encodeAsByteBuf(ByteBuf byteBuf) |
void |
SocksAuthResponse.encodeAsByteBuf(ByteBuf byteBuf) |
void |
SocksAuthRequest.encodeAsByteBuf(ByteBuf byteBuf) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
SocksPortUnificationServerHandler.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
Socks4ServerDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Socks4ClientDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Socks4ClientEncoder.encode(ChannelHandlerContext ctx,
Socks4CommandRequest msg,
ByteBuf out) |
protected void |
Socks4ServerEncoder.encode(ChannelHandlerContext ctx,
Socks4CommandResponse msg,
ByteBuf out) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
Socks5PasswordAuthResponseDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Socks5PasswordAuthRequestDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Socks5InitialResponseDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Socks5InitialRequestDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Socks5CommandResponseDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
Socks5CommandRequestDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
java.lang.String |
Socks5AddressDecoder.decodeAddress(Socks5AddressType addrType,
ByteBuf in)
Decodes a SOCKS5 address field into its string representation.
|
protected void |
Socks5ServerEncoder.encode(ChannelHandlerContext ctx,
Socks5Message msg,
ByteBuf out) |
protected void |
Socks5ClientEncoder.encode(ChannelHandlerContext ctx,
Socks5Message msg,
ByteBuf out) |
void |
Socks5AddressEncoder.encodeAddress(Socks5AddressType addrType,
java.lang.String addrValue,
ByteBuf out)
Encodes a SOCKS5 address.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
SpdyDataFrame.content()
Returns the data payload of this frame.
|
ByteBuf |
DefaultSpdyDataFrame.content() |
ByteBuf |
SpdyHeaderBlockRawEncoder.encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
ByteBuf |
SpdyFrameEncoder.encodeDataFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf data) |
ByteBuf |
SpdyFrameEncoder.encodeGoAwayFrame(ByteBufAllocator allocator,
int lastGoodStreamId,
int statusCode) |
ByteBuf |
SpdyFrameEncoder.encodeHeadersFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodePingFrame(ByteBufAllocator allocator,
int id) |
ByteBuf |
SpdyFrameEncoder.encodeRstStreamFrame(ByteBufAllocator allocator,
int streamId,
int statusCode) |
ByteBuf |
SpdyFrameEncoder.encodeSettingsFrame(ByteBufAllocator allocator,
SpdySettingsFrame spdySettingsFrame) |
ByteBuf |
SpdyFrameEncoder.encodeSynReplyFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodeSynStreamFrame(ByteBufAllocator allocator,
int streamId,
int associatedToStreamId,
byte priority,
boolean last,
boolean unidirectional,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodeWindowUpdateFrame(ByteBufAllocator allocator,
int streamId,
int deltaWindowSize) |
限定符和类型 | 方法和说明 |
---|---|
void |
SpdyFrameDecoder.decode(ByteBuf buffer) |
protected void |
SpdyFrameCodec.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
SpdyHeaderBlockRawDecoder.decodeHeaderBlock(ByteBuf headerBlock,
SpdyHeadersFrame frame) |
ByteBuf |
SpdyFrameEncoder.encodeDataFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf data) |
ByteBuf |
SpdyFrameEncoder.encodeHeadersFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodeSynReplyFrame(ByteBufAllocator allocator,
int streamId,
boolean last,
ByteBuf headerBlock) |
ByteBuf |
SpdyFrameEncoder.encodeSynStreamFrame(ByteBufAllocator allocator,
int streamId,
int associatedToStreamId,
byte priority,
boolean last,
boolean unidirectional,
ByteBuf headerBlock) |
void |
SpdyFrameDecoderDelegate.readDataFrame(int streamId,
boolean last,
ByteBuf data)
Called when a DATA frame is received.
|
void |
SpdyFrameCodec.readDataFrame(int streamId,
boolean last,
ByteBuf data) |
void |
SpdyFrameDecoderDelegate.readHeaderBlock(ByteBuf headerBlock)
Called when the header block within a SYN_STREAM, SYN_REPLY, or HEADERS frame is received.
|
void |
SpdyFrameCodec.readHeaderBlock(ByteBuf headerBlock) |
SpdyDataFrame |
SpdyDataFrame.replace(ByteBuf content) |
SpdyDataFrame |
DefaultSpdyDataFrame.replace(ByteBuf content) |
构造器和说明 |
---|
DefaultSpdyDataFrame(int streamId,
ByteBuf data)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
DefaultStompFrame.content() |
限定符和类型 | 方法和说明 |
---|---|
protected StompFrame |
StompSubframeAggregator.beginAggregation(StompHeadersSubframe start,
ByteBuf content) |
protected java.lang.Object |
StompSubframeEncoder.convertContentSubFrame(StompContentSubframe original,
ByteBuf encoded)
An extension method to convert a STOMP encoded buffer to a different message type
based on an original
StompHeadersSubframe content sub frame. |
protected java.lang.Object |
StompSubframeEncoder.convertFullFrame(StompFrame original,
ByteBuf encoded)
An extension method to convert a STOMP encoded buffer to a different message type
based on an original
StompFrame full frame. |
protected java.lang.Object |
StompSubframeEncoder.convertHeadersSubFrame(StompHeadersSubframe original,
ByteBuf encoded)
An extension method to convert a STOMP encoded buffer to a different message type
based on an original
StompHeadersSubframe headers sub frame. |
protected void |
StompSubframeDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
StompFrame |
StompFrame.replace(ByteBuf content) |
StompContentSubframe |
StompContentSubframe.replace(ByteBuf content) |
LastStompContentSubframe |
LastStompContentSubframe.replace(ByteBuf content) |
StompFrame |
DefaultStompFrame.replace(ByteBuf content) |
StompContentSubframe |
DefaultStompContentSubframe.replace(ByteBuf content) |
LastStompContentSubframe |
DefaultLastStompContentSubframe.replace(ByteBuf content) |
构造器和说明 |
---|
DefaultLastStompContentSubframe(ByteBuf content) |
DefaultStompContentSubframe(ByteBuf content) |
DefaultStompFrame(StompCommand command,
ByteBuf content) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
StringDecoder.decode(ChannelHandlerContext ctx,
ByteBuf msg,
java.util.List<java.lang.Object> out) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
XmlFrameDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
XmlDecoder.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
PemX509Certificate.content() |
ByteBuf |
PemPrivateKey.content() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
SslHandler.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
SslClientHelloHandler.decode(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.Object> out) |
protected void |
OptionalSslHandler.decode(ChannelHandlerContext context,
ByteBuf in,
java.util.List<java.lang.Object> out) |
static boolean |
SslHandler.isEncrypted(ByteBuf buffer)
Returns
true if the given ByteBuf is encrypted. |
protected abstract Future<T> |
SslClientHelloHandler.lookup(ChannelHandlerContext ctx,
ByteBuf clientHello)
Kicks off a lookup for the given
ClientHello and returns a Future which in turn will
notify the SslClientHelloHandler.onLookupComplete(ChannelHandlerContext, Future) on completion. |
protected Future<T> |
AbstractSniHandler.lookup(ChannelHandlerContext ctx,
ByteBuf clientHello) |
PemX509Certificate |
PemX509Certificate.replace(ByteBuf content) |
PemPrivateKey |
PemPrivateKey.replace(ByteBuf content) |
static PemX509Certificate |
PemX509Certificate.valueOf(ByteBuf key)
Creates a
PemX509Certificate from raw ByteBuf . |
static PemPrivateKey |
PemPrivateKey.valueOf(ByteBuf key)
Creates a
PemPrivateKey from raw ByteBuf . |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
ChunkedStream.readChunk(ByteBufAllocator allocator) |
ByteBuf |
ChunkedNioStream.readChunk(ByteBufAllocator allocator) |
ByteBuf |
ChunkedNioFile.readChunk(ByteBufAllocator allocator) |
ByteBuf |
ChunkedFile.readChunk(ByteBufAllocator allocator) |
ByteBuf |
ChunkedStream.readChunk(ChannelHandlerContext ctx)
已过时。
|
ByteBuf |
ChunkedNioStream.readChunk(ChannelHandlerContext ctx)
已过时。
|
ByteBuf |
ChunkedNioFile.readChunk(ChannelHandlerContext ctx)
已过时。
|
ByteBuf |
ChunkedFile.readChunk(ChannelHandlerContext ctx)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
int |
HelloWorldHttp2Handler.onDataRead(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream) |
void |
HelloWorldHttp2Handler.onGoAwayRead(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData) |
void |
HelloWorldHttp2Handler.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract ChannelFuture |
DatagramUnicastTest.write(Channel cc,
ByteBuf buf,
java.net.SocketAddress remote,
DatagramUnicastTest.WrapType wrapType) |
protected ChannelFuture |
DatagramUnicastInetTest.write(Channel cc,
ByteBuf buf,
java.net.SocketAddress remote,
DatagramUnicastTest.WrapType wrapType) |