Uses of Package
io.netty.buffer
Packages that use io.netty.buffer
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
BSD specific transport.
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
Abstract SCTP socket interfaces which extend the core channel API.
Abstract TCP and UDP socket interfaces which extend the core channel API.
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
Unix specific transport.
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
Encoder and decoder which transform an array of bytes into a
ByteBuf
and vice versa.DNS codec.
Decodes an HAProxy proxy protocol header
Encoder, decoder and their related message types for HTTP.
HTTP multipart support.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, handshakers to handle most common WebSocket Compression Extensions.
Handlers for sending and receiving HTTP/2 frames.
JSON specific codecs.
Common superset of ascii and binary classes.
Implementations and Interfaces for the Memcache Binary protocol.
Encoder, decoder and different Message Types for MQTT.
Encoder, decoder for Redis.
An RTSP
extension based on the HTTP codec.
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable
object into a byte buffer and
vice versa.SMTP codec.
Encoder, decoder and their related message types for Socks.
Encoder, decoder and their related message types for SOCKS protocol.
Encoder, decoder and their related message types for SOCKSv4 protocol.
Encoder, decoder and their related message types for SOCKSv5 protocol.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
STOMP codec
Xml specific codecs.
Logs the I/O events for debugging purpose.
Capture data and write into Pcap format which helps in troubleshooting.
Certificate validation using OCSP
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError
.An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
-
Classes in io.netty.buffer used by io.netty.bufferClassDescriptionA skeletal implementation of a buffer.Skeletal
ByteBufAllocator
implementation to extend.Deprecated.Do not use.Abstract base class for derivedByteBuf
implementations.Abstract base class forByteBuf
implementations that count references.SpecialSwappedByteBuf
forByteBuf
s that is using unsafe.An auto-tuning pooling allocator, that follows an anti-generational hypothesis.The strategy for howAdaptivePoolingAllocator
should allocate chunk buffers.A random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.An interface that can be implemented by any object that know how to turn itself into aByteBuf
.A packet which is send or receive.Deprecated.UseByteProcessor
.A virtual buffer which shows multiple buffers as a single merged buffer.Deprecated.Do not use.An emptyByteBuf
whose capacity and maximum capacity are all0
.Internal primitive priority queue, used byPoolChunk
.Internal primitive map implementation that is specifically optimised for the runs availability map use case inPoolChunk
.Expose metrics for an arena.Description of algorithm for PageRun/PoolSubpage allocation from PoolChunk Notation: The following terms are important to understand the code > page - a page is the smallest unit of memory chunk that can be allocated > run - a run is a collection of pages > chunk - a chunk is a collection of runs > in this code chunkSize = maxPages * pageSize To begin we allocate a byte array of size = chunkSize Whenever a ByteBuf of given size needs to be created we search for the first position in the byte array that has enough empty space to accommodate the requested size and return a (long) handle that encodes this offset information, (this memory segment is then marked as reserved so it is always used by exactly one ByteBuf and no more) For simplicity all sizes are normalized according toinvalid @link
{@link PoolArena#sizeClass#size2SizeIdx(int)
Metrics for a list of chunks.Metrics for a chunk.Exposed metric forPooledByteBufAllocator
.Metrics for a sub-page.Acts a Thread cache for allocations.Read-only ByteBuf which wraps a read-only ByteBuffer.SizeClasses requirespageShifts
to be defined prior to inclusion, and it in turn defines:Expose metrics for an SizeClasses.Deprecated.Do not use.Deprecated.use the Little Endian accessors, e.g.SimplisticByteBufAllocator
implementation that does not pool anything.A NIOByteBuffer
based buffer.DuplicatedByteBuf
implementation that can do optimizations because it knows the duplicated buffer is of typeAbstractByteBuf
.Big endian Java heap buffer implementation.A specialAbstractUnpooledSlicedByteBuf
that can make optimizations because it knows the sliced buffer is of typeAbstractByteBuf
.A NIOByteBuffer
based buffer.Big endian Java heap buffer implementation.Wraps anotherByteBuf
. -
Classes in io.netty.buffer used by io.netty.channelClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A virtual buffer which shows multiple buffers as a single merged buffer.
-
Classes in io.netty.buffer used by io.netty.channel.epollClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.channel.kqueueClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.
-
Classes in io.netty.buffer used by io.netty.channel.nioClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.channel.oioClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.channel.sctpClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.channel.socketClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.channel.socket.nioClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.
-
Classes in io.netty.buffer used by io.netty.channel.socket.oioClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.
-
Classes in io.netty.buffer used by io.netty.channel.unixClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.A virtual buffer which shows multiple buffers as a single merged buffer.
-
Classes in io.netty.buffer used by io.netty.handler.codecClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.An interface that can be implemented by any object that know how to turn itself into a
ByteBuf
.A packet which is send or receive.A virtual buffer which shows multiple buffers as a single merged buffer.Deprecated.use the Little Endian accessors, e.g. -
Classes in io.netty.buffer used by io.netty.handler.codec.base64ClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.
-
Classes in io.netty.buffer used by io.netty.handler.codec.bytesClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.compressionClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.dnsClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.codec.haproxyClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.httpClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.codec.http.multipartClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.codec.http.websocketxClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.http.websocketx.extensions.compressionClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.http2ClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.jsonClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.memcacheClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.codec.memcache.binaryClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.codec.mqttClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.codec.redisClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.rtspClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.sctpClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.serializationClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.smtpClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.socksClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.socksxClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.socksx.v4ClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.socksx.v5ClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.spdyClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.stompClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).A packet which is send or receive.Default implementation of a
ByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.stringClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.codec.xmlClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.loggingClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.pcapClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.
-
Classes in io.netty.buffer used by io.netty.handler.sslClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.A packet which is send or receive.
-
Classes in io.netty.buffer used by io.netty.handler.ssl.ocspClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).
-
Classes in io.netty.buffer used by io.netty.handler.streamClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).Implementations are responsible to allocate buffers.
-
Classes in io.netty.buffer used by io.netty.resolver.dnsClassDescriptionA random and sequential accessible sequence of zero or more bytes (octets).