Uses of Package
io.netty.buffer
-
Packages that use io.netty.buffer Package Description io.netty.buffer Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.io.netty.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.kqueue BSD specific transport.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.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.unix Unix specific transport.io.netty.handler.codec Extensible decoder and its common implementations which deal with the packet fragmentation and reassembly issue found in a stream-based transport such as TCP/IP.io.netty.handler.codec.base64 io.netty.handler.codec.bytes Encoder and decoder which transform an array of bytes into aByteBuf
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 headerio.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.http.multipart HTTP multipart support.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http.websocketx.extensions.compression Encoder, decoder, handshakers to handle most common WebSocket Compression Extensions.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.codec.json JSON specific codecs.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 Encoder, decoder and different Message Types for MQTT.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.serialization Encoder, decoder and their compatibility stream implementations which transform aSerializable
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 codecio.netty.handler.codec.string Encoder and decoder which transform aString
into aByteBuf
and vice versa.io.netty.handler.codec.xml Xml specific codecs.io.netty.handler.logging Logs the I/O events for debugging purpose.io.netty.handler.pcap Capture data and write into Pcap format which helps in troubleshooting.io.netty.handler.ssl SSL · TLS implementation based onSSLEngine
io.netty.handler.ssl.ocsp OCSP stapling, formally known as the TLS Certificate Status Request extension, is an alternative approach to the Online Certificate Status Protocol (OCSP) for checking the revocation status of X.509 digital certificates.io.netty.handler.stream Writes very large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError
.io.netty.resolver.dns 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.buffer Class Description AbstractByteBuf A skeletal implementation of a buffer.AbstractByteBufAllocator SkeletalByteBufAllocator
implementation to extend.AbstractDerivedByteBuf Deprecated.Do not use.AbstractPooledDerivedByteBuf Abstract base class for derivedByteBuf
implementations.AbstractReferenceCountedByteBuf Abstract base class forByteBuf
implementations that count references.AbstractUnpooledSlicedByteBuf AbstractUnsafeSwappedByteBuf SpecialSwappedByteBuf
forByteBuf
s that is using unsafe.AdvancedLeakAwareByteBuf ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufAllocatorMetric ByteBufAllocatorMetricProvider ByteBufConvertible An interface that can be implemented by any object that know how to turn itself into aByteBuf
.ByteBufHolder A packet which is send or receive.ByteBufProcessor Deprecated.UseByteProcessor
.ByteBufUtil.ThreadLocalDirectByteBuf ByteBufUtil.ThreadLocalUnsafeDirectByteBuf CompositeByteBuf A virtual buffer which shows multiple buffers as a single merged buffer.CompositeByteBuf.ByteWrapper CompositeByteBuf.Component DuplicatedByteBuf Deprecated.Do not use.EmptyByteBuf An emptyByteBuf
whose capacity and maximum capacity are all0
.FixedCompositeByteBuf.Component IntPriorityQueue Internal primitive priority queue, used byPoolChunk
.LongLongHashMap Internal primitive map implementation that is specifically optimised for the runs availability map use case inPoolChunk
.PoolArena PoolArena.SizeClass PoolArenaMetric Expose metrics for an arena.PoolChunk 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 toSizeClasses.size2SizeIdx(int)
method.PoolChunkList PoolChunkListMetric Metrics for a list of chunks.PoolChunkMetric Metrics for a chunk.PooledByteBuf PooledByteBufAllocator PooledByteBufAllocator.PoolThreadLocalCache PooledByteBufAllocatorMetric Exposed metric forPooledByteBufAllocator
.PooledDirectByteBuf PooledDuplicatedByteBuf PooledHeapByteBuf PooledSlicedByteBuf PooledUnsafeDirectByteBuf PooledUnsafeHeapByteBuf PoolSubpage PoolSubpageMetric Metrics for a sub-page.PoolThreadCache Acts a Thread cache for allocations.PoolThreadCache.FreeOnFinalize PoolThreadCache.MemoryRegionCache PoolThreadCache.MemoryRegionCache.Entry ReadOnlyByteBufferBuf Read-only ByteBuf which wraps a read-only ByteBuffer.SimpleLeakAwareByteBuf SimpleLeakAwareCompositeByteBuf SizeClasses SizeClasses requirespageShifts
to be defined prior to inclusion, and it in turn defines:SizeClassesMetric Expose metrics for an SizeClasses.SwappedByteBuf Deprecated.use the Little Endian accessors, e.g.UnpooledByteBufAllocator SimplisticByteBufAllocator
implementation that does not pool anything.UnpooledByteBufAllocator.UnpooledByteBufAllocatorMetric UnpooledDirectByteBuf A NIOByteBuffer
based buffer.UnpooledDuplicatedByteBuf DuplicatedByteBuf
implementation that can do optimizations because it knows the duplicated buffer is of typeAbstractByteBuf
.UnpooledHeapByteBuf Big endian Java heap buffer implementation.UnpooledSlicedByteBuf A specialAbstractUnpooledSlicedByteBuf
that can make optimizations because it knows the sliced buffer is of typeAbstractByteBuf
.UnpooledUnsafeDirectByteBuf A NIOByteBuffer
based buffer.UnpooledUnsafeHeapByteBuf Big endian Java heap buffer implementation.UnpooledUnsafeNoCleanerDirectByteBuf WrappedByteBuf Wraps anotherByteBuf
.WrappedCompositeByteBuf -
Classes in io.netty.buffer used by io.netty.channel Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.CompositeByteBuf A virtual buffer which shows multiple buffers as a single merged buffer. -
Classes in io.netty.buffer used by io.netty.channel.epoll Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.channel.kqueue Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers. -
Classes in io.netty.buffer used by io.netty.channel.nio Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.channel.oio Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.channel.socket Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.channel.socket.nio Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.channel.socket.oio Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers. -
Classes in io.netty.buffer used by io.netty.channel.unix Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive.CompositeByteBuf A virtual buffer which shows multiple buffers as a single merged buffer. -
Classes in io.netty.buffer used by io.netty.handler.codec Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufConvertible An interface that can be implemented by any object that know how to turn itself into aByteBuf
.ByteBufHolder A packet which is send or receive.CompositeByteBuf A virtual buffer which shows multiple buffers as a single merged buffer.SwappedByteBuf Deprecated.use the Little Endian accessors, e.g. -
Classes in io.netty.buffer used by io.netty.handler.codec.base64 Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers. -
Classes in io.netty.buffer used by io.netty.handler.codec.bytes Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.compression Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.dns Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.codec.haproxy Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufHolder A packet which is send or receive.DefaultByteBufHolder Default implementation of aByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.http Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.codec.http.multipart Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.codec.http.websocketx Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive.DefaultByteBufHolder Default implementation of aByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.http.websocketx.extensions.compression Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.http2 Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive.DefaultByteBufHolder Default implementation of aByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.json Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.memcache Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.codec.memcache.binary Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.codec.mqtt Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.codec.redis Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive.DefaultByteBufHolder Default implementation of aByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.rtsp Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.serialization Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.smtp Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufHolder A packet which is send or receive.DefaultByteBufHolder Default implementation of aByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.socks Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.socksx Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.socksx.v4 Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.socksx.v5 Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.spdy Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.codec.stomp Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufHolder A packet which is send or receive.DefaultByteBufHolder Default implementation of aByteBufHolder
that holds it's data in aByteBuf
. -
Classes in io.netty.buffer used by io.netty.handler.codec.string Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.codec.xml Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.logging Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.pcap Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers. -
Classes in io.netty.buffer used by io.netty.handler.ssl Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers.ByteBufHolder A packet which is send or receive. -
Classes in io.netty.buffer used by io.netty.handler.ssl.ocsp Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets). -
Classes in io.netty.buffer used by io.netty.handler.stream Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).ByteBufAllocator Implementations are responsible to allocate buffers. -
Classes in io.netty.buffer used by io.netty.resolver.dns Class Description ByteBuf A random and sequential accessible sequence of zero or more bytes (octets).