程序包 | 说明 |
---|---|
org.jboss.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
org.jboss.netty.example.factorial | |
org.jboss.netty.handler.codec.base64 |
Encoder and decoder which transform a
Base64-encoded
String or ChannelBuffer
into a decoded ChannelBuffer and vice versa. |
org.jboss.netty.handler.codec.compression |
Encoder and decoder which compresses and decompresses
ChannelBuffer s
in a compression format such as zlib
and gzip. |
org.jboss.netty.handler.codec.embedder |
A helper that wraps an encoder or a decoder so that they can be used without
doing actual I/O in unit tests or higher level codecs.
|
org.jboss.netty.handler.codec.frame |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
org.jboss.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
org.jboss.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
org.jboss.netty.handler.codec.marshalling |
Decoder and Encoder which uses JBoss Marshalling.
|
org.jboss.netty.handler.codec.oneone |
Simplistic abstract classes which help implement encoder and decoder that
transform an object into another object and vice versa.
|
org.jboss.netty.handler.codec.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
com.google.protobuf.Message into a ChannelBuffer
and vice versa. |
org.jboss.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
org.jboss.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
org.jboss.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
org.jboss.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
org.jboss.netty.handler.codec.string |
Encoder and decoder which transform a
String into a
ChannelBuffer and vice versa. |
org.jboss.netty.handler.execution |
Executor -based implementation of various
thread models that separate business logic from I/O threads |
org.jboss.netty.handler.logging |
Logs a
ChannelEvent for debugging purpose
using an InternalLogger . |
org.jboss.netty.handler.queue |
The special-purpose handlers that store an event into an internal queue
instead of propagating the event immediately.
|
org.jboss.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
org.jboss.netty.handler.stream |
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError . |
org.jboss.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
org.jboss.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
限定符和类型 | 类和说明 |
---|---|
class |
SimpleChannelDownstreamHandler
A
ChannelDownstreamHandler which provides an individual handler
method for each event type. |
class |
SimpleChannelHandler
A
ChannelHandler which provides an individual handler method
for each event type. |
限定符和类型 | 类和说明 |
---|---|
class |
NumberEncoder
Encodes a
Number into the binary representation prepended with
a magic number ('F' or 0x46) and a 32-bit length prefix. |
限定符和类型 | 类和说明 |
---|---|
class |
Base64Encoder
Encodes a
ChannelBuffer into a Base64-encoded ChannelBuffer . |
限定符和类型 | 类和说明 |
---|---|
class |
JdkZlibEncoder
Compresses a
ChannelBuffer using the deflate algorithm. |
class |
ZlibEncoder
Compresses a
ChannelBuffer using the deflate algorithm. |
构造器和说明 |
---|
EncoderEmbedder(ChannelBufferFactory bufferFactory,
ChannelDownstreamHandler... handlers)
Creates a new embedder whose pipeline is composed of the specified
handlers.
|
EncoderEmbedder(ChannelDownstreamHandler... handlers)
Creates a new embedder whose pipeline is composed of the specified
handlers.
|
限定符和类型 | 类和说明 |
---|---|
class |
LengthFieldPrepender
An encoder that prepends the length of the message.
|
限定符和类型 | 类和说明 |
---|---|
class |
HttpClientCodec
A combination of
HttpRequestEncoder and HttpResponseDecoder
which enables easier client side HTTP implementation. |
class |
HttpContentCompressor
Compresses an
HttpMessage and an HttpChunk in gzip or
deflate encoding while respecting the "Accept-Encoding" header. |
class |
HttpContentEncoder
Encodes the content of the outbound
HttpResponse and HttpChunk . |
class |
HttpMessageEncoder
|
class |
HttpRequestEncoder
|
class |
HttpResponseEncoder
|
class |
HttpServerCodec
A combination of
HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation. |
限定符和类型 | 类和说明 |
---|---|
class |
WebSocket00FrameEncoder
Encodes a
WebSocketFrame into a ChannelBuffer . |
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 |
CompatibleMarshallingEncoder
OneToOneEncoder implementation which uses JBoss Marshalling to marshal
an Object. |
class |
MarshallingEncoder
OneToOneEncoder implementation which uses JBoss Marshalling to marshal
an Object. |
限定符和类型 | 类和说明 |
---|---|
class |
OneToOneEncoder
Transforms a write request into another write request.
|
class |
OneToOneStrictEncoder
Special
OneToOneEncoder which enforce strict ordering of encoding and writing. |
限定符和类型 | 类和说明 |
---|---|
class |
ProtobufEncoder
|
class |
ProtobufVarint32LengthFieldPrepender
An encoder that prepends the the Google Protocol Buffers
Base
128 Varints integer length field.
|
限定符和类型 | 类和说明 |
---|---|
class |
RtspMessageEncoder
Encodes an RTSP message represented in
HttpMessage into
a ChannelBuffer . |
class |
RtspRequestEncoder
Encodes an RTSP request represented in
HttpRequest into
a ChannelBuffer . |
class |
RtspResponseEncoder
Encodes an RTSP response represented in
HttpResponse into
a ChannelBuffer . |
限定符和类型 | 类和说明 |
---|---|
class |
CompatibleObjectEncoder
An encoder which serializes a Java object into a
ChannelBuffer
(interoperability version). |
class |
ObjectEncoder
An encoder which serializes a Java object into a
ChannelBuffer . |
限定符和类型 | 类和说明 |
---|---|
class |
SocksMessageEncoder
Encodes an
SocksMessage into a ChannelBuffer . |
限定符和类型 | 类和说明 |
---|---|
class |
SpdyFrameCodec
A
ChannelHandler that encodes and decodes SPDY Frames. |
class |
SpdyHttpCodec
A combination of
SpdyHttpDecoder and SpdyHttpEncoder |
class |
SpdyHttpEncoder
Encodes
HttpRequest s, HttpResponse s, and HttpChunk s
into SpdySynStreamFrame s and SpdySynReplyFrame s. |
class |
SpdyHttpResponseStreamIdHandler
SimpleChannelHandler that takes care of adding the right streamId to the
HttpResponse if one is not present. |
class |
SpdySessionHandler
Manages streams within a SPDY session.
|
限定符和类型 | 类和说明 |
---|---|
class |
StringEncoder
Encodes the requested
String into a ChannelBuffer . |
限定符和类型 | 类和说明 |
---|---|
class |
ExecutionHandler
Forwards an upstream
ChannelEvent to an Executor . |
限定符和类型 | 类和说明 |
---|---|
class |
LoggingHandler
A
ChannelHandler that logs all events via InternalLogger . |
限定符和类型 | 类和说明 |
---|---|
class |
BufferedWriteHandler
Emulates buffered write operation.
|
限定符和类型 | 类和说明 |
---|---|
class |
SslHandler
|
限定符和类型 | 类和说明 |
---|---|
class |
ChunkedWriteHandler
A
ChannelHandler that adds support for writing a large data stream
asynchronously neither spending a lot of memory nor getting
OutOfMemoryError . |
限定符和类型 | 类和说明 |
---|---|
class |
IdleStateAwareChannelHandler
An extended
SimpleChannelHandler that adds the handler method for
an IdleStateEvent . |
class |
WriteTimeoutHandler
Raises a
WriteTimeoutException when no data was written 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. |