| 程序包 | 说明 |
|---|---|
| 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.http |
Encoder, decoder and their related message types for HTTP.
|
| io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
| io.netty.handler.codec.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
com.google.protobuf.Message into a ByteBuf
and vice versa. |
| io.netty.handler.codec.sctp |
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
|
| io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
| io.netty.handler.codec.string |
Encoder and decoder which transform a
String into a
ByteBuf and vice versa. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Base64Decoder
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ByteArrayDecoder
Decodes a received
ByteBuf into an array of bytes. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HttpContentDecoder
Decodes the content of the received
HttpRequest and HttpContent. |
class |
HttpContentDecompressor
|
class |
HttpObjectAggregator
A
ChannelHandler that aggregates an HttpMessage
and its following HttpContents into a single FullHttpRequest
or FullHttpResponse (depending on if it used to handle requests or responses)
with no following HttpContents. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
WebSocketClientProtocolHandler
This handler does all the heavy lifting for you to run a websocket client.
|
class |
WebSocketFrameAggregator
Handler that aggregate fragmented WebSocketFrame's.
|
class |
WebSocketServerProtocolHandler
This handler does all the heavy lifting for you to run a websocket server.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ProtobufDecoder
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SctpInboundByteStreamHandler
A ChannelHandler which receives
SctpMessages which belong to a application protocol form a specific
SCTP Stream and decode it as ByteBuf. |
class |
SctpMessageCompletionHandler
MessageToMessageDecoder which will take care of handle fragmented SctpMessages, so
only complete SctpMessages will be forwarded to the next
ChannelInboundHandler. |
class |
SctpMessageToMessageDecoder |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SpdyHttpDecoder
Decodes
SpdySynStreamFrames, SpdySynReplyFrames,
and SpdyDataFrames into FullHttpRequests and FullHttpResponses. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
StringDecoder
Decodes a received
ByteBuf into a String. |