| 程序包 | 说明 | 
|---|---|
| io.netty.example.factorial | |
| io.netty.example.haproxy | |
| io.netty.example.spdy.client | This package contains an example SPDY HTTP client. | 
| io.netty.example.stomp.websocket | |
| io.netty.handler.address | Package to dynamically replace local / remote  SocketAddress. | 
| 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
  ByteBufand 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.websocketx | Encoder, decoder, handshakers and their related message types for
 Web Socket data frames. | 
| io.netty.handler.codec.http.websocketx.extensions | Encoder, decoder, handshakers to handle
 WebSocket Extensions. | 
| 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.Messageandcom.google.protobuf.nano.MessageNanointo aByteBufand 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  Serializableobject 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.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  Stringinto aByteBufand vice versa. | 
| io.netty.handler.timeout | Adds support for read and write timeout and idle connection notification
 using a  Timer. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | NumberEncoderEncodes a  Numberinto the binary representation prepended with
 a magic number ('F' or 0x46) and a 32-bit length prefix. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | HAProxyHandler | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | SpdyClientStreamIdHandlerAdds a unique client stream ID to the SPDY header. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | StompWebSocketFrameEncoder | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | DynamicAddressConnectHandlerChannelOutboundHandlerimplementation which allows to dynamically replace the usedremoteAddressand / orlocalAddresswhen making a connection attempt. | 
| class  | ResolveAddressHandlerChannelOutboundHandlerAdapterwhich will resolve theSocketAddressthat is passed toResolveAddressHandler.connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise)if it is not already resolved
 and theAddressResolversupports the type ofSocketAddress. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | DatagramPacketEncoder<M>An encoder that encodes the content in  AddressedEnvelopetoDatagramPacketusing
 the specified message encoder. | 
| class  | LengthFieldPrependerAn encoder that prepends the length of the message. | 
| class  | MessageToByteEncoder<I>ChannelOutboundHandlerAdapterwhich encodes message in a stream-like fashion from one message to anByteBuf. | 
| class  | MessageToMessageEncoder<I>ChannelOutboundHandlerAdapterwhich encodes from one message to an other message
 For example here is an implementation which decodes anIntegerto anString. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | Base64Encoder | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | ByteArrayEncoderEncodes the requested array of bytes into a  ByteBuf. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | BrotliEncoderCompress a  ByteBufwith the Brotli compression. | 
| class  | Bzip2EncoderCompresses a  ByteBufusing the Bzip2 algorithm. | 
| class  | FastLzFrameEncoderCompresses a  ByteBufusing the FastLZ algorithm. | 
| class  | JdkZlibEncoderCompresses a  ByteBufusing the deflate algorithm. | 
| class  | JZlibEncoderCompresses a  ByteBufusing the deflate algorithm. | 
| class  | Lz4FrameEncoderCompresses a  ByteBufusing the LZ4 format. | 
| class  | LzfEncoderCompresses a  ByteBufusing the LZF format. | 
| class  | LzmaFrameEncoderCompresses a  ByteBufusing the LZMA algorithm. | 
| class  | SnappyFramedEncoder已过时。 
 Use  SnappyFrameEncoderinstead. | 
| class  | SnappyFrameEncoderCompresses a  ByteBufusing the Snappy framing format. | 
| class  | ZlibEncoderCompresses a  ByteBufusing the deflate algorithm. | 
| class  | ZstdEncoderCompresses a  ByteBufusing the Zstandard algorithm. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | DatagramDnsQueryEncoder | 
| class  | DatagramDnsResponseEncoder | 
| class  | TcpDnsQueryEncoder | 
| class  | TcpDnsResponseEncoder | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | HAProxyMessageEncoderEncodes an HAProxy proxy protocol message | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | HttpObjectEncoder<H extends HttpMessage> | 
| class  | HttpRequestEncoder | 
| class  | HttpResponseEncoder | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | WebSocket00FrameEncoderEncodes a  WebSocketFrameinto aByteBuf. | 
| class  | WebSocket07FrameEncoder
 Encodes a web socket frame into wire protocol version 7 format. | 
| class  | WebSocket08FrameEncoder
 Encodes a web socket frame into wire protocol version 8 format. | 
| class  | WebSocket13FrameEncoder
 Encodes a web socket frame into wire protocol version 13 format. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | WebSocketExtensionEncoderConvenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension encoder. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | CompatibleMarshallingEncoderMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal
 an Object. | 
| class  | MarshallingEncoderMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal
 an Object. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | AbstractMemcacheObjectEncoder<M extends MemcacheMessage>A general purpose  AbstractMemcacheObjectEncoderthat encodesMemcacheMessages. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | AbstractBinaryMemcacheEncoder<M extends BinaryMemcacheMessage>A  MessageToByteEncoderthat encodes binary memcache messages into bytes. | 
| class  | BinaryMemcacheRequestEncoderThe encoder part which takes care of encoding the request headers. | 
| class  | BinaryMemcacheResponseEncoderThe encoder which takes care of encoding the response headers. | 
| 限定符和类型 | 类和说明 | 
|---|---|
| class  | MqttEncoder |