程序包 | 说明 |
---|---|
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.http2.file | |
io.netty.example.http2.helloworld.frame.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.codec |
Benchmarks for
io.netty.handler.codec . |
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.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.memcache.binary |
Implementations and Interfaces for the Memcache Binary protocol.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
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.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 |
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 |
SpdyFrameLogger
Logs SPDY frames for debugging purposes.
|
限定符和类型 | 类和说明 |
---|---|
class |
StompWebSocketProtocolCodec |
限定符和类型 | 类和说明 |
---|---|
class |
ByteToMessageCodec<I>
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.
|
class |
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
A Codec for on-the-fly encoding/decoding of message.
|
限定符和类型 | 类和说明 |
---|---|
class |
HttpClientCodec
A combination of
HttpRequestEncoder and HttpResponseDecoder
which enables easier client side HTTP implementation. |
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 |
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.
|
限定符和类型 | 类和说明 |
---|---|
class |
WebSocketClientExtensionHandler
This handler negotiates and initializes the WebSocket Extensions.
|
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 |
Http2MultiplexHandler
An HTTP/2 handler that creates child channels for each stream.
|
class |
Http2StreamFrameToHttpObjectCodec
This handler converts from
Http2StreamFrame to HttpObject ,
and back. |
限定符和类型 | 类和说明 |
---|---|
class |
BinaryMemcacheClientCodec
The client codec that combines the proper encoder and decoder.
|
class |
BinaryMemcacheServerCodec
The full server codec that combines the correct encoder and decoder.
|
限定符和类型 | 类和说明 |
---|---|
class |
SpdyHttpCodec
A combination of
SpdyHttpDecoder and SpdyHttpEncoder |
class |
SpdyHttpResponseStreamIdHandler
MessageToMessageCodec that takes care of adding the right SpdyHttpHeaders.Names.STREAM_ID to the
HttpMessage if one is not present. |
class |
SpdySessionHandler
Manages streams within a SPDY session.
|
限定符和类型 | 类和说明 |
---|---|
class |
FlowControlHandler
The
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
A
ChannelHandler that logs all events using a logging framework. |
限定符和类型 | 类和说明 |
---|---|
class |
PcapWriteHandler
PcapWriteHandler captures ByteBuf from SocketChannel / ServerChannel
or DatagramPacket and writes it into Pcap OutputStream . |
限定符和类型 | 类和说明 |
---|---|
class |
HttpProxyHandler
Handler that establishes a blind forwarding proxy tunnel using
HTTP/1.1 CONNECT request.
|
class |
ProxyHandler
A common abstraction for protocols that establish blind forwarding proxy tunnels.
|
class |
Socks4ProxyHandler
Handler that establishes a blind forwarding proxy tunnel using
SOCKS4 protocol.
|
class |
Socks5ProxyHandler
Handler that establishes a blind forwarding proxy tunnel using
SOCKS Protocol Version 5.
|
限定符和类型 | 类和说明 |
---|---|
class |
ChunkedWriteHandler
A
ChannelHandler that adds support for writing a large data stream
asynchronously neither spending a lot of memory nor getting
OutOfMemoryError . |
限定符和类型 | 类和说明 |
---|---|
class |
IdleStateHandler
Triggers an
IdleStateEvent when a Channel has not performed
read, write, or both operation for a while. |
class |
ReadTimeoutHandler
Raises a
ReadTimeoutException when no data was read within a certain
period of time. |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractTrafficShapingHandler
AbstractTrafficShapingHandler allows to limit the global bandwidth
(see
GlobalTrafficShapingHandler ) or per session
bandwidth (see ChannelTrafficShapingHandler ), as traffic shaping. |
class |
ChannelTrafficShapingHandler
This implementation of the
AbstractTrafficShapingHandler is for channel
traffic shaping, that is to say a per channel limitation of the bandwidth. |
class |
GlobalChannelTrafficShapingHandler
This implementation of the
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
This implementation of the
AbstractTrafficShapingHandler is for global
traffic shaping, that is to say a global limitation of the bandwidth, whatever
the number of opened channels. |