Package | Description |
---|---|
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.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.websocket |
Encoder, decoder and their related message types for
Web Socket data frames.
|
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
Message into a ChannelBuffer
and vice versa. |
org.jboss.netty.handler.codec.replay |
Specialized variation of
FrameDecoder
which enables implementation of a non-blocking decoder in the blocking I/O
paradigm. |
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.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 | |
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 . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleChannelHandler
A
ChannelHandler which provides an individual handler method
for each event type. |
class |
SimpleChannelUpstreamHandler
A
ChannelUpstreamHandler which provides an individual handler method
for each event type. |
Modifier and Type | Class and Description |
---|---|
class |
Base64Decoder
|
Modifier and Type | Class and Description |
---|---|
class |
ZlibDecoder
Decompresses a
ChannelBuffer using the deflate algorithm. |
Constructor and Description |
---|
DecoderEmbedder(ChannelBufferFactory bufferFactory,
ChannelUpstreamHandler... handlers)
Creates a new embedder whose pipeline is composed of the specified
handlers.
|
DecoderEmbedder(ChannelUpstreamHandler... handlers)
Creates a new embedder whose pipeline is composed of the specified
handlers.
|
Modifier and Type | Class and Description |
---|---|
class |
DelimiterBasedFrameDecoder
A decoder that splits the received
ChannelBuffer s by one or more
delimiters. |
class |
FixedLengthFrameDecoder
A decoder that splits the received
ChannelBuffer s by the fixed number
of bytes. |
class |
FrameDecoder
Decodes the received
ChannelBuffer s into a meaningful frame object. |
class |
LengthFieldBasedFrameDecoder
A decoder that splits the received
ChannelBuffer s dynamically by the
value of the length field in the message. |
Modifier and Type | Class and Description |
---|---|
class |
HttpChunkAggregator
A
ChannelHandler that aggregates an HttpMessage
and its following HttpChunk s into a single HttpMessage with
no following HttpChunk s. |
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 |
HttpContentDecoder
Decodes the content of the received
HttpRequest and HttpChunk . |
class |
HttpContentDecompressor
|
class |
HttpContentEncoder
Encodes the content of the outbound
HttpResponse and HttpChunk . |
class |
HttpMessageDecoder
|
class |
HttpRequestDecoder
|
class |
HttpResponseDecoder
|
class |
HttpServerCodec
A combination of
HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation. |
Modifier and Type | Class and Description |
---|---|
class |
WebSocketFrameDecoder
Decodes
ChannelBuffer s into WebSocketFrame s. |
Modifier and Type | Class and Description |
---|---|
class |
OneToOneDecoder
Transforms a received message into another message.
|
Modifier and Type | Class and Description |
---|---|
class |
ProtobufDecoder
|
class |
ProtobufVarint32FrameDecoder
A decoder that splits the received
ChannelBuffer s dynamically by the
value of the Google Protocol Buffers
Base
128 Varints integer length field in the message. |
Modifier and Type | Class and Description |
---|---|
class |
ReplayingDecoder<T extends Enum<T>>
A specialized variation of
FrameDecoder which enables implementation
of a non-blocking decoder in the blocking I/O paradigm. |
Modifier and Type | Class and Description |
---|---|
class |
RtspMessageDecoder
Decodes
ChannelBuffer s into RTSP messages represented in
HttpMessage s. |
class |
RtspRequestDecoder
Decodes
ChannelBuffer s into RTSP requests represented in
HttpRequest s. |
class |
RtspResponseDecoder
Decodes
ChannelBuffer s into RTSP responses represented in
HttpResponse s. |
Modifier and Type | Class and Description |
---|---|
class |
CompatibleObjectDecoder
Deprecated.
This decoder has a known critical bug which fails to decode and
raises a random exception in some circumstances. Avoid to use
it whenever you can. The only workaround is to replace
CompatibleObjectEncoder , CompatibleObjectDecoder ,
ObjectInputStream , and ObjectOutputStream with
ObjectEncoder , ObjectDecoder ,
ObjectEncoderOutputStream , and
ObjectDecoderInputStream respectively. This workaround
requires both a client and a server to be modified. |
class |
ObjectDecoder
A decoder which deserializes the received
ChannelBuffer s into Java
objects. |
Modifier and Type | Class and Description |
---|---|
class |
StringDecoder
Decodes a received
ChannelBuffer into a String . |
Modifier and Type | Class and Description |
---|---|
class |
ExecutionHandler
Forwards an upstream
ChannelEvent to an Executor . |
Modifier and Type | Class and Description |
---|---|
class |
LoggingHandler
A
ChannelHandler that logs all events via InternalLogger . |
Modifier and Type | Class and Description |
---|---|
class |
BlockingReadHandler<E>
Emulates blocking read operation.
|
class |
BufferedWriteHandler
Emulates buffered write operation.
|
Modifier and Type | Class and Description |
---|---|
class |
SslHandler
|
Modifier and Type | Class and Description |
---|---|
class |
ChunkedWriteHandler
A
ChannelHandler that adds support for writing a large data stream
asynchronously neither spending a lot of memory nor getting
OutOfMemoryError . |
Modifier and Type | Class and Description |
---|---|
class |
IdleStateAwareChannelHandler
An extended
SimpleChannelHandler that adds the handler method for
an IdleStateEvent . |
class |
IdleStateAwareChannelUpstreamHandler
An extended
SimpleChannelUpstreamHandler that adds the handler method
for an IdleStateEvent . |
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. |
Copyright © 2008-2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.