Modifier and Type | Class and Description |
---|---|
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelDuplexHandler
|
class |
ChannelOutboundHandlerAdapter
骨架执行 ChannelOutboundHandler 。
|
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
Modifier and Type | Class and Description |
---|---|
class |
ByteToMessageCodec<I>
一种编解码器,用于将消息中的字节进行即时编码/解码,反之亦然。
|
class |
DatagramPacketEncoder<M>
使用指定的消息编码器将内容编码为 AddressedEnvelope 至DatagramPacket 的编码器。
|
class |
LengthFieldPrepender
预编码消息长度的编码器。
|
class |
MessageToByteEncoder<I>
ChannelOutboundHandlerAdapter ,它以类似于流的方式将消息从一条消息编码为ByteBuf 。
|
class |
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
用于即时编码/解码消息的编解码器。
|
class |
MessageToMessageEncoder<I>
ChannelOutboundHandlerAdapter 从一个消息编码到另一个消息例如,这里是将Integer 解码为Integer 的String 。
|
Modifier and Type | Class and Description |
---|---|
class |
Base64Encoder
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayEncoder
将请求的字节数组编码为 ByteBuf 。
|
Modifier and Type | Class and Description |
---|---|
class |
Bzip2Encoder
使用Bzip2算法压缩 ByteBuf 。
|
class |
FastLzFrameEncoder
压缩一个 ByteBuf 使用FastLZ算法。
|
class |
JdkZlibEncoder
使用deflate算法压缩 ByteBuf 。
|
class |
JZlibEncoder
使用deflate算法压缩 ByteBuf 。
|
class |
Lz4FrameEncoder
使用LZ4格式压缩 ByteBuf 。
|
class |
LzfEncoder
使用LZF格式压缩 ByteBuf 。
|
class |
LzmaFrameEncoder
使用LZMA算法压缩 ByteBuf 。
|
class |
SnappyFramedEncoder
已过时。
改为使用
SnappyFrameEncoder 。
|
class |
SnappyFrameEncoder
使用Snappy成帧格式压缩 ByteBuf 。
|
class |
ZlibEncoder
使用deflate算法压缩 ByteBuf 。
|
Modifier and Type | Class and Description |
---|---|
class |
DatagramDnsQueryEncoder
|
class |
DatagramDnsResponseEncoder
|
Modifier and Type | Class and Description |
---|---|
class |
HttpClientCodec
HttpRequestEncoder 和HttpResponseDecoder 的组合,使客户端HTTP实现更加简单。
|
class |
HttpClientUpgradeHandler
用于处理与另一个协议的HTTP升级握手的客户端处理程序。
|
class |
HttpContentCompressor
在 gzip 或deflate 编码中压缩HttpMessage 和HttpContent ,同时尊重"Accept-Encoding" 标头。
|
class |
HttpContentEncoder
编码出站 HttpResponse 和HttpContent 的内容 。
|
class |
HttpObjectEncoder<H extends HttpMessage>
|
class |
HttpRequestEncoder
|
class |
HttpResponseEncoder
|
class |
HttpServerCodec
HttpRequestDecoder 和HttpResponseEncoder 的组合,可以更轻松地实现服务器端HTTP。
|
class |
HttpServerKeepAliveHandler
HttpServerKeepAliveHandler在适当时帮助关闭持久连接。
|
Modifier and Type | Class and Description |
---|---|
class |
CorsHandler
处理
Cross Origin Resource Sharing (CORS)请求。
|
Modifier and Type | Interface and Description |
---|---|
interface |
WebSocketFrameEncoder
所有WebSocketFrame编码器都需要实现的标记接口。
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocket00FrameEncoder
将 WebSocketFrame 编码为ByteBuf 。
|
class |
WebSocket07FrameEncoder
将网络套接字帧编码为有线协议版本7格式。
|
class |
WebSocket08FrameEncoder
将网络套接字帧编码为有线协议版本8格式。
|
class |
WebSocket13FrameEncoder
将网络套接字帧编码为有线协议版本13格式。
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketClientExtensionHandler
此处理程序协商并初始化WebSocket扩展。
|
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 |
Http2ChannelDuplexHandler
ChannelDuplexHandler 为HTTP / 2提供附加功能。
|
class |
Http2ConnectionHandler
提供处理入站帧事件和委派给 Http2FrameListener 的默认实现此类将读取HTTP / 2帧并将事件委托给Http2FrameListener 此接口通过Http2LocalFlowController 实施入站流控制功能
|
class |
Http2FrameCodec
这个API非常不成熟。
|
class |
Http2MultiplexCodec
为每个流创建子通道的HTTP / 2处理程序。
|
class |
Http2StreamFrameToHttpObjectCodec
该处理程序从 Http2StreamFrame 转换为HttpObject ,然后返回。
|
class |
HttpToHttp2ConnectionHandler
将HTTP / 1.x对象写入HTTP / 2帧。
|
Modifier and Type | Class and Description |
---|---|
class |
CompatibleMarshallingEncoder
使用JBoss编组来封送对象的 MessageToByteEncoder 实现。
|
class |
MarshallingEncoder
MessageToByteEncoder 使用JBoss编组来封送对象的实现。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMemcacheObjectEncoder<M extends MemcacheMessage>
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinaryMemcacheEncoder<M extends BinaryMemcacheMessage>
将二进制内存缓存消息编码为字节的 MessageToByteEncoder 。
|
class |
BinaryMemcacheClientCodec
结合了正确编码器和解码器的客户端编解码器。
|
class |
BinaryMemcacheRequestEncoder
负责编码请求标头的编码器部分。
|
class |
BinaryMemcacheResponseEncoder
负责编码响应头的编码器。
|
class |
BinaryMemcacheServerCodec
完整的服务器编解码器,结合了正确的编码器和解码器。
|
Modifier and Type | Class and Description |
---|---|
class |
MqttEncoder
按照协议规范v3.1将Mqtt消息编码为字节,如
MQTTV3.1所述
|
Modifier and Type | Class and Description |
---|---|
class |
ProtobufEncoder
|
class |
ProtobufEncoderNano
将请求的Google Protocol Buffers MessageNano 编码为ByteBuf 。
|
class |
ProtobufVarint32LengthFieldPrepender
Google协议缓冲区前置编码器
io.netty.handler.codec.redis的ChannelOutboundHandler的使用 |
Modifier and Type | Class and Description |
class |
RedisEncoder
Encodes
RedisMessage into bytes following
RESP (REdis Serialization Protocol).
|
class
RtspEncoder
class
RtspObjectEncoder<H extends HttpMessage>
RtspEncoder
instead.
class
RtspRequestEncoder
RtspEncoder
directly instead
class
RtspResponseEncoder
RtspEncoder
directly instead
class
SctpOutboundByteStreamHandler
ByteBuf
to
SctpMessage
and send it through a specific stream with given protocol identifier.
class
CompatibleObjectEncoder
ByteBuf
(interoperability version).
class
ObjectEncoder
ByteBuf
.
class
SmtpRequestEncoder
class
SocksMessageEncoder
SocksMessage
into a
ByteBuf
.
class
Socks4ClientEncoder
Socks4CommandRequest
into a
ByteBuf
.
class
Socks4ServerEncoder
Socks4CommandResponse
into a
ByteBuf
.
class
Socks5ClientEncoder
Socks5Message
into a
ByteBuf
.
class
Socks5ServerEncoder
Socks5Message
into a
ByteBuf
.
class
SpdyFrameCodec
ChannelHandler
that encodes and decodes SPDY Frames.
class
SpdyHttpCodec
SpdyHttpDecoder
and
SpdyHttpEncoder
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
StompSubframeEncoder
class
LineEncoder
String
and encode it into a
ByteBuf
.
class
StringEncoder
String
into a
ByteBuf
.
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
LoggingHandler
ChannelHandler
that logs all events using a logging framework.
class
HttpProxyHandler
class
ProxyHandler
class
Socks4ProxyHandler
class
Socks5ProxyHandler
class
AbstractSniHandler<T>
class
SniHandler
class
SslHandler
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.