Modifier and Type | Class and Description |
---|---|
class |
ChannelDuplexHandler
|
class |
ChannelInboundHandlerAdapter
ChannelInboundHandler 实现的抽象基类,它提供了所有方法的实现。
|
class |
ChannelInitializer<C extends Channel>
一个特殊的 ChannelInboundHandler ,它提供了一个简单的方法来初始化Channel ,一旦它被注册到EventLoop 。
|
class |
ChannelOutboundHandlerAdapter
|
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
class |
SimpleChannelInboundHandler<I>
ChannelInboundHandlerAdapter 它允许显式只处理特定类型的消息。
|
Modifier and Type | Class and Description |
---|---|
class |
Base64Decoder
|
class |
Base64Encoder
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayDecoder
将收到的 ByteBuf 解码为一个字节数组。
|
class |
ByteArrayEncoder
将请求的字节数组编码为 ByteBuf 。
|
Modifier and Type | Class and Description |
---|---|
class |
Bzip2Decoder
解压缩以Bzip2格式编码的 ByteBuf 。
|
class |
Bzip2Encoder
使用Bzip2算法压缩 ByteBuf 。
|
class |
FastLzFrameDecoder
使用FastLZ算法解压缩由 FastLzFrameEncoder 编码的ByteBuf 。
|
class |
FastLzFrameEncoder
压缩一个 ByteBuf 使用FastLZ算法。
|
class |
JdkZlibDecoder
使用充气算法解压缩 ByteBuf 。
|
class |
JdkZlibEncoder
使用deflate算法压缩 ByteBuf 。
|
class |
JZlibDecoder |
class |
JZlibEncoder
使用deflate算法压缩 ByteBuf 。
|
class |
Lz4FrameDecoder
解压缩用LZ4格式编码的 ByteBuf 。
|
class |
Lz4FrameEncoder
使用LZ4格式压缩 ByteBuf 。
|
class |
LzfDecoder
解压缩使用LZF格式编码的 ByteBuf 。
|
class |
LzfEncoder
使用LZF格式压缩 ByteBuf 。
|
class |
LzmaFrameEncoder
使用LZMA算法压缩 ByteBuf 。
|
class |
SnappyFramedDecoder
已过时。
改为使用
SnappyFrameDecoder 。
|
class |
SnappyFrameDecoder
解压缩以Snappy成帧格式编码的 ByteBuf 。
|
class |
SnappyFramedEncoder
已过时。
改为使用
SnappyFrameEncoder 。
|
class |
SnappyFrameEncoder
使用Snappy成帧格式压缩 ByteBuf 。
|
class |
ZlibDecoder
使用deflate算法解压缩 ByteBuf 。
|
class |
ZlibEncoder
使用deflate算法压缩 ByteBuf 。
|
Modifier and Type | Class and Description |
---|---|
class |
DatagramDnsQueryDecoder
|
class |
DatagramDnsQueryEncoder
|
class |
DatagramDnsResponseDecoder
|
class |
DatagramDnsResponseEncoder
|
Modifier and Type | Class and Description |
---|---|
class |
HAProxyMessageDecoder
解码HAProxy代理协议标头
|
Modifier and Type | Class and Description |
---|---|
class |
CorsHandler
处理
Cross Origin Resource Sharing (CORS)请求。
|
Modifier and Type | Class and Description |
---|---|
class |
Utf8FrameValidator |
class |
WebSocket00FrameDecoder
解码 ByteBuf s转换WebSocketFrame 秒。
|
class |
WebSocket00FrameEncoder
将 WebSocketFrame 编码为ByteBuf 。
|
class |
WebSocket07FrameDecoder
从有线协议版本7格式解码网络套接字帧。
|
class |
WebSocket07FrameEncoder
将网络套接字帧编码为有线协议版本7格式。
|
class |
WebSocket08FrameDecoder
从有线协议版本8格式解码web套接字帧。
|
class |
WebSocket08FrameEncoder
将网络套接字帧编码为有线协议版本8格式。
|
class |
WebSocket13FrameDecoder
从有线协议版本13格式解码网络套接字帧。
|
class |
WebSocket13FrameEncoder
将网络套接字帧编码为有线协议版本13格式。
|
class |
WebSocketClientProtocolHandler
这个处理程序为你运行一个websocket客户端做了所有繁重的工作。
|
class |
WebSocketFrameAggregator
处理程序聚合碎片WebSocketFrame的。
|
class |
WebSocketServerProtocolHandler
这个处理程序为你运行一个websocket服务器做了所有繁重的工作。
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketClientExtensionHandler
此处理程序协商并初始化WebSocket扩展。
|
class |
WebSocketExtensionDecoder
方便的
io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension解码器。
|
class |
WebSocketExtensionEncoder
方便的
io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension编码器。
|
class |
WebSocketServerExtensionHandler
此处理程序协商并初始化WebSocket扩展。
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketClientCompressionHandler
扩展
io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler以处理最常见的WebSocket压缩扩展。
|
class |
WebSocketServerCompressionHandler
扩展
io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerExtensionHandler以处理最常见的WebSocket压缩扩展。
|
Modifier and Type | Class and Description |
---|---|
class |
CleartextHttp2ServerUpgradeHandler
通过h2c HTTP升级或预先知识执行明文升级。
|
class |
Http2ChannelDuplexHandler
A ChannelDuplexHandler 为HTTP / 2提供附加功能。
|
class |
Http2ConnectionHandler
提供处理入站帧事件和委派给 Http2FrameListener 的默认实现此类将读取HTTP / 2帧并将事件委托给Http2FrameListener 此接口通过Http2LocalFlowController 实施入站流控制功能
|
class |
Http2FrameCodec
这个API非常不成熟。
|
class |
Http2FrameLogger
记录HTTP2帧以用于调试目的。
|
class |
Http2MultiplexCodec
为每个流创建子通道的HTTP / 2处理程序。
|
class |
Http2StreamFrameToHttpObjectCodec
该处理程序从 Http2StreamFrame 转换为HttpObject ,然后返回。
|
class |
HttpToHttp2ConnectionHandler
将HTTP / 1.x对象写入HTTP / 2帧。
|
class |
InboundHttpToHttp2Adapter
将HTTP / 1.x对象读取转换为HTTP / 2帧。
|
Modifier and Type | Class and Description |
---|---|
class |
JsonObjectDecoder
将JSON对象和数组的字节流拆分为单个对象/数组,并将它们传递给 ChannelPipeline 。
|
Modifier and Type | Class and Description |
---|---|
class |
CompatibleMarshallingDecoder
ReplayingDecoder 其使用Unmarshaller 读取对象出的ByteBuf 。
|
class |
CompatibleMarshallingEncoder
MessageToByteEncoder 使用JBoss编组来封送对象的实现。
|
class |
MarshallingDecoder
解码器必须与 MarshallingEncoder 一起使用。
|
class |
MarshallingEncoder
MessageToByteEncoder 使用JBoss编组来封送对象的实现。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMemcacheObjectAggregator<H extends MemcacheMessage>
|
class |
AbstractMemcacheObjectDecoder
ascii和二进制解码器的抽象超类。
|
class |
AbstractMemcacheObjectEncoder<M extends MemcacheMessage>
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinaryMemcacheDecoder<M extends BinaryMemcacheMessage>
|
class |
AbstractBinaryMemcacheEncoder<M extends BinaryMemcacheMessage>
将二进制内存缓存消息编码为字节的 MessageToByteEncoder 。
|
class |
BinaryMemcacheClientCodec
结合了正确编码器和解码器的客户端编解码器。
|
class |
BinaryMemcacheObjectAggregator
memcache二进制协议的对象聚合器。
|
class |
BinaryMemcacheRequestDecoder
负责解码请求特定报头的解码器部分。
|
class |
BinaryMemcacheRequestEncoder
负责编码请求标头的编码器部分。
|
class |
BinaryMemcacheResponseDecoder
负责解码响应头的解码器。
|
class |
BinaryMemcacheResponseEncoder
负责编码响应头的编码器。
|
class |
BinaryMemcacheServerCodec
完整的服务器编解码器,结合了正确的编码器和解码器。
|
Modifier and Type | Class and Description |
---|---|
class |
MqttDecoder
从字节解码MQTT消息,以下
the MQTT protocol specification v3.1
|
class |
MqttEncoder
按照协议规范v3.1将Mqtt消息编码为字节,如此处所述
MQTTV3.1
|
class
RtspDecoder
ByteBuf
s into RTSP messages represented in
HttpMessage
s.
class
RtspEncoder
class
RtspObjectDecoder
RtspDecoder
instead.
class
RtspObjectEncoder<H extends HttpMessage>
RtspEncoder
instead.
class
RtspRequestDecoder
RtspDecoder
directly instead
class
RtspRequestEncoder
RtspEncoder
directly instead
class
RtspResponseDecoder
RtspDecoder
directly instead
class
RtspResponseEncoder
RtspEncoder
directly instead
class
SctpInboundByteStreamHandler
SctpMessage
s 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
SctpMessage
s, so only
complete
SctpMessage
s will be forwarded to the next
ChannelInboundHandler
.
class
SctpMessageToMessageDecoder
class
SctpOutboundByteStreamHandler
ByteBuf
to
SctpMessage
and send it through a specific stream with given protocol identifier.
class
CompatibleObjectEncoder
ByteBuf
(interoperability version).
class
ObjectDecoder
ByteBuf
s into Java objects.
class
ObjectEncoder
ByteBuf
.
class
SmtpRequestEncoder
class
SmtpResponseDecoder
class
SocksAuthRequestDecoder
ByteBuf
s into
SocksAuthRequest
.
class
SocksAuthResponseDecoder
ByteBuf
s into
SocksAuthResponse
.
class
SocksCmdRequestDecoder
ByteBuf
s into
SocksCmdRequest
.
class
SocksCmdResponseDecoder
ByteBuf
s into
SocksCmdResponse
.
class
SocksInitRequestDecoder
ByteBuf
s into
SocksInitRequest
.
class
SocksInitResponseDecoder
ByteBuf
s into
SocksInitResponse
.
class
SocksMessageEncoder
SocksMessage
into a
ByteBuf
.
class
SocksPortUnificationServerHandler
Socks4ServerDecoder
or
Socks5InitialRequestDecoder
.
class
Socks4ClientDecoder
Socks4CommandResponse
from the inbound
ByteBuf
s.
class
Socks4ClientEncoder
Socks4CommandRequest
into a
ByteBuf
.
class
Socks4ServerDecoder
Socks4CommandRequest
from the inbound
ByteBuf
s.
class
Socks4ServerEncoder
Socks4CommandResponse
into a
ByteBuf
.
class
Socks5ClientEncoder
Socks5Message
into a
ByteBuf
.
class
Socks5CommandRequestDecoder
Socks5CommandRequest
from the inbound
ByteBuf
s.
class
Socks5CommandResponseDecoder
Socks5CommandResponse
from the inbound
ByteBuf
s.
class
Socks5InitialRequestDecoder
Socks5InitialRequest
from the inbound
ByteBuf
s.
class
Socks5InitialResponseDecoder
Socks5InitialResponse
from the inbound
ByteBuf
s.
class
Socks5PasswordAuthRequestDecoder
Socks5PasswordAuthRequest
from the inbound
ByteBuf
s.
class
Socks5PasswordAuthResponseDecoder
Socks5PasswordAuthResponse
from the inbound
ByteBuf
s.
class
Socks5ServerEncoder
Socks5Message
into a
ByteBuf
.
class
SpdyFrameCodec
ChannelHandler
that encodes and decodes SPDY Frames.
class
SpdyHttpCodec
SpdyHttpDecoder
and
SpdyHttpEncoder
class
SpdyHttpDecoder
SpdySynStreamFrame
s,
SpdySynReplyFrame
s, and
SpdyDataFrame
s into
FullHttpRequest
s and
FullHttpResponse
s.
class
SpdyHttpEncoder
HttpRequest
s,
HttpResponse
s, and
HttpContent
s into
SpdySynStreamFrame
s and
SpdySynReplyFrame
s.
class
SpdyHttpResponseStreamIdHandler
MessageToMessageCodec
that takes care of adding the right
SpdyHttpHeaders.Names.STREAM_ID
to the
HttpMessage
if one is not present.
class
SpdySessionHandler
class
StompSubframeAggregator
ChannelHandler
that aggregates an
StompHeadersSubframe
and its following
StompContentSubframe
s into a single
StompFrame
.
class
StompSubframeDecoder
class
StompSubframeEncoder
class
LineEncoder
String
and encode it into a
ByteBuf
.
class
StringDecoder
ByteBuf
into a
String
.
class
StringEncoder
String
into a
ByteBuf
.
class
XmlDecoder
class
XmlFrameDecoder
class
FlowControlHandler
FlowControlHandler
ensures that only one message per
read()
is sent downstream.
class
FlushConsolidationHandler
ChannelDuplexHandler
which consolidates
Channel.flush()
/
ChannelHandlerContext.flush()
operations (which also includes
ChannelOutboundInvoker.writeAndFlush(Object)
/
ChannelOutboundInvoker.writeAndFlush(Object, ChannelPromise)
and
ChannelOutboundInvoker.writeAndFlush(Object)
/
ChannelOutboundInvoker.writeAndFlush(Object, ChannelPromise)
).
class
AbstractRemoteAddressFilter<T extends java.net.SocketAddress>
Channel
s based on their IP address.
class
RuleBasedIpFilter
Channel
s based on the
IpFilterRule
s passed to its constructor.
class
UniqueIpFilter
Channel
connected to the server.
class
LoggingHandler
ChannelHandler
that logs all events using a logging framework.
class
HttpProxyHandler
class
ProxyHandler
class
Socks4ProxyHandler
class
Socks5ProxyHandler
class
AbstractSniHandler<T>
class
ApplicationProtocolNegotiationHandler
ChannelPipeline
depending on the application-level protocol negotiation result of
SslHandler
.
class
OptionalSslHandler
OptionalSslHandler
is a utility decoder to support both SSL and non-SSL handlers based on the first message received.
class
SniHandler
class
SslHandler
class
OcspClientHandler
class
ChunkedWriteHandler
ChannelHandler
that adds support for writing a large data stream asynchronously neither spending a lot of memory nor getting
OutOfMemoryError
.
class
IdleStateHandler
IdleStateEvent
when a
Channel
has not performed read, write, or both operation for a while.
class
ReadTimeoutHandler
ReadTimeoutException
when no data was read within a certain period of time.
class
WriteTimeoutHandler
WriteTimeoutException
when a write operation cannot finish in a certain period of time.
class
AbstractTrafficShapingHandler
GlobalTrafficShapingHandler
) or per session bandwidth (see
ChannelTrafficShapingHandler
), as traffic shaping.
class
ChannelTrafficShapingHandler
AbstractTrafficShapingHandler
is for channel traffic shaping, that is to say a per channel limitation of the bandwidth.
class
GlobalChannelTrafficShapingHandler
AbstractTrafficShapingHandler
is for global and per channel traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels and a per channel limitation of the bandwidth.
class
GlobalTrafficShapingHandler
AbstractTrafficShapingHandler
is for global traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels.
Copyright © 2008–2018 The Netty Project. All rights reserved.