程序包 | 说明 |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.example.factorial | |
io.netty.example.haproxy | |
io.netty.example.http2.file | |
io.netty.example.http2.helloworld.server | |
io.netty.example.memcache.binary | |
io.netty.example.redis | |
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
ByteBuf 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 header
|
io.netty.handler.codec.http |
Benchmarks for
io.netty.handler.codec.http . |
io.netty.handler.codec.http.cors |
This package contains Cross Origin Resource Sharing (CORS) related classes.
|
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.http.websocketx.extensions.compression |
Encoder, decoder, handshakers to handle most common WebSocket Compression Extensions.
|
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
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.Message and com.google.protobuf.nano.MessageNano into a
ByteBuf and 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
Serializable 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.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
String into a
ByteBuf and vice versa. |
io.netty.handler.flow |
Package to control the flow of messages.
|
io.netty.handler.flush |
Package to control flush behavior.
|
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.proxy |
Adds support for client connections via proxy protocols such as
SOCKS and
HTTP CONNECT tunneling
|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
io.netty.handler.stream |
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError . |
io.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
io.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
限定符和类型 | 类和说明 |
---|---|
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
限定符和类型 | 类和说明 |
---|---|
class |
ChannelDuplexHandler
ChannelHandler implementation which represents a combination out of a ChannelInboundHandler and
the ChannelOutboundHandler . |
class |
ChannelOutboundHandlerAdapter
Skeleton implementation of a
ChannelOutboundHandler . |
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
限定符和类型 | 类和说明 |
---|---|
class |
NumberEncoder
Encodes a
Number into the binary representation prepended with
a magic number ('F' or 0x46) and a 32-bit length prefix. |
限定符和类型 | 类和说明 |
---|---|
class |
HAProxyHandler |
限定符和类型 | 类和说明 |
---|---|
class |
Http2StaticFileServerHandler
A simple handler that serves incoming HTTP requests to send their respective
HTTP responses.
|
限定符和类型 | 类和说明 |
---|---|
class |
HelloWorldHttp2Handler
A simple handler that responds with the message "Hello World!".
|
限定符和类型 | 类和说明 |
---|---|
class |
MemcacheClientHandler |
限定符和类型 | 类和说明 |
---|---|
class |
RedisClientHandler
An example Redis client handler.
|
限定符和类型 | 类和说明 |
---|---|
class |
SpdyClientStreamIdHandler
Adds a unique client stream ID to the SPDY header.
|
class |
SpdyFrameLogger
Logs SPDY frames for debugging purposes.
|
限定符和类型 | 类和说明 |
---|---|
class |
StompWebSocketFrameEncoder |
class |
StompWebSocketProtocolCodec |
限定符和类型 | 类和说明 |
---|---|
class |
DynamicAddressConnectHandler
ChannelOutboundHandler implementation which allows to dynamically replace the used
remoteAddress and / or localAddress when making a connection attempt. |
class |
ResolveAddressHandler
ChannelOutboundHandlerAdapter which will resolve the SocketAddress that is passed to
ResolveAddressHandler.connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) if it is not already resolved
and the AddressResolver supports the type of SocketAddress . |
限定符和类型 | 类和说明 |
---|---|
class |
ByteToMessageCodec<I>
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.
|
class |
DatagramPacketEncoder<M>
An encoder that encodes the content in
AddressedEnvelope to DatagramPacket using
the specified message encoder. |
class |
LengthFieldPrepender
An encoder that prepends the length of the message.
|
class |
MessageToByteEncoder<I>
ChannelOutboundHandlerAdapter which encodes message in a stream-like fashion from one message to an
ByteBuf . |
class |
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
A Codec for on-the-fly encoding/decoding of message.
|
class |
MessageToMessageEncoder<I>
ChannelOutboundHandlerAdapter which encodes from one message to an other message
For example here is an implementation which decodes an Integer to an String . |
限定符和类型 | 类和说明 |
---|---|
class |
Base64Encoder
|
限定符和类型 | 类和说明 |
---|---|
class |
ByteArrayEncoder
Encodes the requested array of bytes into a
ByteBuf . |
限定符和类型 | 类和说明 |
---|---|
class |
BrotliEncoder
Compress a
ByteBuf with the Brotli compression. |
class |
Bzip2Encoder
Compresses a
ByteBuf using the Bzip2 algorithm. |
class |
FastLzFrameEncoder
Compresses a
ByteBuf using the FastLZ algorithm. |
class |
JdkZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
class |
JZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
class |
Lz4FrameEncoder
Compresses a
ByteBuf using the LZ4 format. |
class |
LzfEncoder
Compresses a
ByteBuf using the LZF format. |
class |
LzmaFrameEncoder
Compresses a
ByteBuf using the LZMA algorithm. |
class |
SnappyFramedEncoder
已过时。
Use
SnappyFrameEncoder instead. |
class |
SnappyFrameEncoder
Compresses a
ByteBuf using the Snappy framing format. |
class |
ZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
class |
ZstdEncoder
Compresses a
ByteBuf using the Zstandard algorithm. |
限定符和类型 | 类和说明 |
---|---|
class |
DatagramDnsQueryEncoder
|
class |
DatagramDnsResponseEncoder
|
class |
TcpDnsQueryEncoder |
class |
TcpDnsResponseEncoder |
限定符和类型 | 类和说明 |
---|---|
class |
HAProxyMessageEncoder
Encodes an HAProxy proxy protocol message
|
限定符和类型 | 类和说明 |
---|---|
class |
HttpClientCodec
A combination of
HttpRequestEncoder and HttpResponseDecoder
which enables easier client side HTTP implementation. |
class |
HttpClientUpgradeHandler
Client-side handler for handling an HTTP upgrade handshake to another protocol.
|
class |
HttpContentCompressor
Compresses an
HttpMessage and an HttpContent in gzip or
deflate encoding while respecting the "Accept-Encoding" header. |
class |
HttpContentEncoder
Encodes the content of the outbound
HttpResponse and HttpContent . |
class |
HttpObjectEncoder<H extends HttpMessage>
|
class |
HttpRequestEncoder
|
class |
HttpResponseEncoder
|
class |
HttpServerCodec
A combination of
HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation. |
class |
HttpServerKeepAliveHandler
HttpServerKeepAliveHandler helps close persistent connections when appropriate.
|
限定符和类型 | 类和说明 |
---|---|
class |
CorsHandler
Handles Cross Origin Resource Sharing (CORS) requests.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
WebSocketFrameEncoder
Marker interface which all WebSocketFrame encoders need to implement.
|
限定符和类型 | 类和说明 |
---|---|
class |
WebSocket00FrameEncoder
Encodes a
WebSocketFrame into a ByteBuf . |
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 |
WebSocketClientProtocolHandler
This handler does all the heavy lifting for you to run a websocket client.
|
class |
WebSocketServerProtocolHandler
This handler does all the heavy lifting for you to run a websocket server.
|
限定符和类型 | 类和说明 |
---|---|
class |
WebSocketClientExtensionHandler
This handler negotiates and initializes the WebSocket Extensions.
|
class |
WebSocketExtensionEncoder
Convenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension encoder.
|
class |
WebSocketServerExtensionHandler
This handler negotiates and initializes the WebSocket Extensions.
|
限定符和类型 | 类和说明 |
---|---|
class |
WebSocketClientCompressionHandler
Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler
to handle the most common WebSocket Compression Extensions.
|
class |
WebSocketServerCompressionHandler
Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerExtensionHandler
to handle the most common WebSocket Compression Extensions.
|
限定符和类型 | 类和说明 |
---|---|
class |
Http2ChannelDuplexHandler
A
ChannelDuplexHandler providing additional functionality for HTTP/2. |
class |
Http2ConnectionHandler
Provides the default implementation for processing inbound frame events and delegates to a
Http2FrameListener
This class will read HTTP/2 frames and delegate the events to a Http2FrameListener
This interface enforces inbound flow control functionality through
Http2LocalFlowController |
class |
Http2FrameCodec
This API is very immature.
|
class |
Http2MultiplexCodec
已过时。
use
Http2FrameCodecBuilder together with Http2MultiplexHandler . |
class |
Http2MultiplexHandler
An HTTP/2 handler that creates child channels for each stream.
|
class |
Http2StreamFrameToHttpObjectCodec
This handler converts from
Http2StreamFrame to HttpObject ,
and back. |
class |
HttpToHttp2ConnectionHandler
Translates HTTP/1.x object writes into HTTP/2 frames.
|
限定符和类型 | 类和说明 |
---|---|
class |
CompatibleMarshallingEncoder
MessageToByteEncoder implementation which uses JBoss Marshalling to marshal
an Object. |
class |
MarshallingEncoder
MessageToByteEncoder implementation which uses JBoss Marshalling to marshal
an Object. |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractMemcacheObjectEncoder<M extends MemcacheMessage>
A general purpose
AbstractMemcacheObjectEncoder that encodes MemcacheMessage s. |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractBinaryMemcacheEncoder<M extends BinaryMemcacheMessage>
A
MessageToByteEncoder that encodes binary memcache messages into bytes. |
class |
BinaryMemcacheClientCodec
The client codec that combines the proper encoder and decoder.
|
class |
BinaryMemcacheRequestEncoder
The encoder part which takes care of encoding the request headers.
|
class |
BinaryMemcacheResponseEncoder
The encoder which takes care of encoding the response headers.
|
class |
BinaryMemcacheServerCodec
The full server codec that combines the correct encoder and decoder.
|
限定符和类型 | 类和说明 |
---|---|
class |
MqttEncoder
|