| 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.nio | NIO-based channel
 API implementation - recommended for a large 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.udt | UDT Transport. | 
| io.netty.channel.unix | Unix specific transport. | 
| io.netty.handler.codec.dns | DNS codec. | 
| io.netty.handler.codec.haproxy | Decodes an HAProxy proxy protocol header | 
| io.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.http2 | Handlers for sending and receiving HTTP/2 frames. | 
| 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.smtp | SMTP codec. | 
| 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.ssl | |
| io.netty.util | Utility classes used across multiple packages. | 
| io.netty.util.internal | Internal-use-only utilities which is not allowed to be used
 outside Netty. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ByteBufHolderA packet which is send or receive. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractByteBufA skeletal implementation of a buffer. | 
| class  | AbstractDerivedByteBufDeprecated. 
 Do not use. | 
| class  | AbstractReferenceCountedByteBufAbstract base class for  ByteBufimplementations that count references. | 
| class  | ByteBufA random and sequential accessible sequence of zero or more bytes (octets). | 
| class  | CompositeByteBufA virtual buffer which shows multiple buffers as a single merged buffer. | 
| class  | DefaultByteBufHolderDefault implementation of a  ByteBufHolderthat holds it's data in aByteBuf. | 
| class  | DuplicatedByteBufDeprecated. 
 Do not use. | 
| class  | EmptyByteBufAn empty  ByteBufwhose capacity and maximum capacity are all0. | 
| class  | ReadOnlyByteBufDeprecated. 
 Do not use. | 
| class  | SlicedByteBufDeprecated. 
 Do not use. | 
| class  | SwappedByteBufDeprecated. 
 use the Little Endian accessors, e.g.  getShortLE,getIntLEinstead. | 
| class  | UnpooledDirectByteBufA NIO  ByteBufferbased buffer. | 
| class  | UnpooledHeapByteBufBig endian Java heap buffer implementation. | 
| class  | UnpooledUnsafeDirectByteBufA NIO  ByteBufferbased buffer. | 
| class  | UnpooledUnsafeHeapByteBufBig endian Java heap buffer implementation. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AddressedEnvelope<M,A extends SocketAddress>A message that wraps another message with a sender address and a recipient address. | 
| interface  | FileRegionA region of a file that is sent via a  Channelwhich supports
 zero-copy file transfer. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultAddressedEnvelope<M,A extends SocketAddress>The default  AddressedEnvelopeimplementation. | 
| class  | DefaultFileRegion | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ByteBuf | AbstractNioChannel. newDirectBuffer(ReferenceCounted holder,
               ByteBuf buf)Returns an off-heap copy of the specified  ByteBuf, and releases the specified holder. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SctpMessageRepresentation of SCTP Data Chunk | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DatagramPacketThe message container that is used for  DatagramChannelto communicate with the remote peer. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | UdtMessageDeprecated. 
 The UDT transport is no longer maintained and will be removed. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DomainDatagramPacketThe message container that is used for  DomainDatagramChannelto communicate with the remote peer. | 
| class  | SegmentedDatagramPacketAllows to use GSO
 if the underlying OS supports it. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DnsMessageThe superclass which contains core information concerning a  DnsQueryand aDnsResponse. | 
| interface  | DnsQueryA DNS query message. | 
| interface  | DnsRawRecordA generic  DnsRecordthat contains an undecodedRDATA. | 
| interface  | DnsResponseA DNS response message. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractDnsMessageA skeletal implementation of  DnsMessage. | 
| class  | DatagramDnsQueryA  DnsQueryimplementation for UDP/IP. | 
| class  | DatagramDnsResponseA  DnsResponseimplementation for UDP/IP. | 
| class  | DefaultDnsQueryThe default  DnsQueryimplementation. | 
| class  | DefaultDnsRawRecordThe default  DnsRawRecordimplementation. | 
| class  | DefaultDnsResponseThe default  DnsResponseimplementation. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HAProxyMessageMessage container for decoded HAProxy proxy protocol parameters | 
| class  | HAProxySSLTLVRepresents a  HAProxyTLVof the typeHAProxyTLV.Type.PP2_TYPE_SSL. | 
| class  | HAProxyTLVA Type-Length Value (TLV vector) that can be added to the PROXY protocol
 to include additional information like SSL information. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | FullHttpMessageCombines  HttpMessageandLastHttpContentinto one
 message. | 
| interface  | FullHttpRequestCombine the  HttpRequestandFullHttpMessage, so the request is a complete HTTP
 request. | 
| interface  | FullHttpResponseCombination of a  HttpResponseandFullHttpMessage. | 
| interface  | HttpContentAn HTTP chunk which is used for HTTP chunked transfer-encoding. | 
| interface  | LastHttpContentThe last  HttpContentwhich has trailing headers. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultFullHttpRequestDefault implementation of  FullHttpRequest. | 
| class  | DefaultFullHttpResponseDefault implementation of a  FullHttpResponse. | 
| class  | DefaultHttpContentThe default  HttpContentimplementation. | 
| class  | DefaultLastHttpContentThe default  LastHttpContentimplementation. | 
| static class  | HttpServerUpgradeHandler.UpgradeEventUser event that is fired to notify about the completion of an HTTP upgrade
 to another protocol. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AttributeAttribute interface | 
| interface  | FileUploadFileUpload interface that could be in memory, on temporary file or any other implementations. | 
| interface  | HttpDataExtended interface for InterfaceHttpData | 
| interface  | InterfaceHttpDataInterface for all Objects that could be encoded/decoded using HttpPostRequestEncoder/Decoder | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractDiskHttpDataAbstract Disk HttpData implementation | 
| class  | AbstractHttpDataAbstract HttpData implementation | 
| class  | AbstractMemoryHttpDataAbstract Memory HttpData implementation | 
| class  | DiskAttributeDisk implementation of Attributes | 
| class  | DiskFileUploadDisk FileUpload implementation that stores file into real files | 
| class  | MemoryAttributeMemory implementation of Attributes | 
| class  | MemoryFileUploadDefault FileUpload implementation that stores file into memory. | 
| class  | MixedAttributeMixed implementation using both in Memory and in File with a limit of size | 
| class  | MixedFileUploadMixed implementation using both in Memory and in File with a limit of size | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BinaryWebSocketFrameWeb Socket frame containing binary data. | 
| class  | CloseWebSocketFrameWeb Socket Frame for closing the connection. | 
| class  | ContinuationWebSocketFrameWeb Socket continuation frame containing continuation text or binary data. | 
| class  | PingWebSocketFrameWeb Socket frame containing binary data. | 
| class  | PongWebSocketFrameWeb Socket frame containing binary data. | 
| class  | TextWebSocketFrameWeb Socket text frame. | 
| class  | WebSocketFrameBase class for web socket frames. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | Http2DataFrameHTTP/2 DATA frame. | 
| interface  | Http2GoAwayFrameHTTP/2 GOAWAY frame. | 
| interface  | Http2UnknownFrame | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultHttp2DataFrameThe default  Http2DataFrameimplementation. | 
| class  | DefaultHttp2GoAwayFrameThe default  Http2GoAwayFrameimplementation. | 
| class  | DefaultHttp2UnknownFrame | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | FullMemcacheMessageCombines  MemcacheMessageandLastMemcacheContentinto one
 message. | 
| interface  | LastMemcacheContentThe  MemcacheContentwhich signals the end of the content batch. | 
| interface  | MemcacheContentAn Memcache content chunk. | 
| interface  | MemcacheMessageMarker interface for both ascii and binary messages. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractMemcacheObjectThe default  MemcacheObjectimplementation. | 
| class  | DefaultLastMemcacheContentThe default implementation for the  LastMemcacheContent. | 
| class  | DefaultMemcacheContentThe default  MemcacheContentimplementation. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | BinaryMemcacheMessageAn interface that defines a binary Memcache message, providing common properties for
  BinaryMemcacheRequestandBinaryMemcacheResponse. | 
| interface  | BinaryMemcacheRequestRepresents a full  BinaryMemcacheRequest, which contains the header and optional key and extras. | 
| interface  | BinaryMemcacheResponseRepresents a full  BinaryMemcacheResponse, which contains the header and optional key and extras. | 
| interface  | FullBinaryMemcacheRequestA  BinaryMemcacheRequestthat also includes the content. | 
| interface  | FullBinaryMemcacheResponseA  BinaryMemcacheResponsethat also includes the content. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractBinaryMemcacheMessageDefault implementation of a  BinaryMemcacheMessage. | 
| class  | DefaultBinaryMemcacheRequestThe default implementation of the  BinaryMemcacheRequest. | 
| class  | DefaultBinaryMemcacheResponseThe default implementation of the  BinaryMemcacheResponse. | 
| class  | DefaultFullBinaryMemcacheRequestThe default implementation of a  FullBinaryMemcacheRequest. | 
| class  | DefaultFullBinaryMemcacheResponseThe default implementation of a  FullBinaryMemcacheResponse. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MqttPublishMessageSee MQTTV3.1/publish | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | BulkStringRedisContentA chunk of bulk strings which is used for Redis chunked transfer-encoding. | 
| interface  | LastBulkStringRedisContentA last chunk of Bulk Strings. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArrayRedisMessageArrays of RESP. | 
| class  | DefaultBulkStringRedisContentA default implementation of  BulkStringRedisContent. | 
| class  | DefaultLastBulkStringRedisContentA default implementation for  LastBulkStringRedisContent. | 
| class  | FullBulkStringRedisMessageAn aggregated bulk string of RESP. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | LastSmtpContentThe last part of a sequence of  SmtpContents that are sent after aDATArequest. | 
| interface  | SmtpContentContent that is sent after the  DATArequest. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultLastSmtpContentDefault implementation of  LastSmtpContentthat does no validation of the raw data passed in. | 
| class  | DefaultSmtpContentDefault implementation of  SmtpContentthat does no validation of the raw data passed in. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | SpdyDataFrameA SPDY Protocol DATA Frame | 
| interface  | SpdyUnknownFrameA SPDY Control frame. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultSpdyDataFrameThe default  SpdyDataFrameimplementation. | 
| class  | DefaultSpdyUnknownFrame | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | LastStompContentSubframeThe last  StompContentSubframewhich signals the end of the content batch
 
 Note, even when no content is emitted by the protocol, an
 emptyLastStompContentSubframeis issued to make the upstream parsing
 easier. | 
| interface  | StompContentSubframeAn STOMP chunk which is used for STOMP chunked transfer-encoding. | 
| interface  | StompFrameCombines  StompHeadersSubframeandLastStompContentSubframeinto one
 frame. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultLastStompContentSubframeThe default implementation for the  LastStompContentSubframe. | 
| class  | DefaultStompContentSubframeThe default  StompContentSubframeimplementation. | 
| class  | DefaultStompFrameDefault implementation of  StompFrame. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | OpenSslClientContextA client-side  SslContextwhich uses OpenSSL's SSL/TLS implementation. | 
| class  | OpenSslContextThis class will use a finalizer to ensure native resources are automatically cleaned up. | 
| class  | OpenSslEngineImplements a  SSLEngineusing
 OpenSSL BIO abstractions. | 
| class  | OpenSslServerContextA server-side  SslContextwhich uses OpenSSL's SSL/TLS implementation. | 
| class  | PemPrivateKeyThis is a special purpose implementation of a  PrivateKeywhich allows the
 user to pass PEM/PKCS#8 encoded key material straight intoOpenSslContextwithout having to parse and re-encode bytes in Java land. | 
| class  | ReferenceCountedOpenSslClientContextA client-side  SslContextwhich uses OpenSSL's SSL/TLS implementation. | 
| class  | ReferenceCountedOpenSslContextAn implementation of  SslContextwhich works with libraries that support the
 OpenSsl C library API. | 
| class  | ReferenceCountedOpenSslEngineImplements a  SSLEngineusing
 OpenSSL BIO abstractions. | 
| class  | ReferenceCountedOpenSslServerContextA server-side  SslContextwhich uses OpenSSL's SSL/TLS implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| ReferenceCounted | ReferenceCountedOpenSslContext. retain() | 
| ReferenceCounted | ReferenceCountedOpenSslEngine. retain() | 
| ReferenceCounted | ReferenceCountedOpenSslContext. retain(int increment) | 
| ReferenceCounted | ReferenceCountedOpenSslEngine. retain(int increment) | 
| ReferenceCounted | ReferenceCountedOpenSslContext. touch() | 
| ReferenceCounted | ReferenceCountedOpenSslEngine. touch() | 
| ReferenceCounted | ReferenceCountedOpenSslContext. touch(Object hint) | 
| ReferenceCounted | ReferenceCountedOpenSslEngine. touch(Object hint) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractReferenceCountedAbstract base class for classes wants to implement  ReferenceCounted. | 
| Modifier and Type | Method and Description | 
|---|---|
| ReferenceCounted | AbstractReferenceCounted. retain() | 
| ReferenceCounted | ReferenceCounted. retain()Increases the reference count by  1. | 
| ReferenceCounted | AbstractReferenceCounted. retain(int increment) | 
| ReferenceCounted | ReferenceCounted. retain(int increment)Increases the reference count by the specified  increment. | 
| ReferenceCounted | AbstractReferenceCounted. touch() | 
| ReferenceCounted | ReferenceCounted. touch()Records the current access location of this object for debugging purposes. | 
| ReferenceCounted | ReferenceCounted. touch(Object hint)Records the current access location of this object with an additional arbitrary information for debugging
 purposes. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReferenceCountUpdater<T extends ReferenceCounted>Common logic for  ReferenceCountedimplementations | 
| Modifier and Type | Method and Description | 
|---|---|
| static long | ReferenceCountUpdater. getUnsafeOffset(Class<? extends ReferenceCounted> clz,
               String fieldName) | 
Copyright © 2008–2025 The Netty Project. All rights reserved.