Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.handler.codec |
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.
|
io.netty.handler.codec.base64 | |
io.netty.handler.codec.bytes |
Encoder and decoder which transform an array of bytes into a
ByteBuf and vice versa. |
io.netty.handler.codec.compression | |
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.cors |
This package contains Cross Origin Resource Sharing (CORS) related classes.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.marshalling |
Decoder and Encoder which uses JBoss Marshalling.
|
io.netty.handler.codec.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
Message into a ByteBuf
and vice versa. |
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
io.netty.handler.codec.sctp |
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
|
io.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.codec.string | |
io.netty.handler.logging |
Logs a
io.netty.channel.ChannelEvent for debugging purpose. |
io.netty.handler.ssl | |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelDuplexHandler
ChannelHandler implementation which represents a combination out of a ChannelInboundHandler and
the ChannelOutboundHandler . |
class |
ChannelInboundHandlerAdapter
Abstract base class for
ChannelInboundHandler implementations which provide
implementations of all of their methods. |
class |
ChannelInitializer<C extends Channel>
A special
ChannelInboundHandler which offers an easy way to initialize a Channel once it was
registered to its EventLoop . |
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
class |
SimpleChannelInboundHandler<I>
ChannelInboundHandlerAdapter which allows to explicit only handle a specific type of messages. |
Modifier and Type | Class and Description |
---|---|
class |
ByteToMessageCodec<I>
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.
|
class |
ByteToMessageDecoder
ChannelInboundHandlerAdapter which decodes bytes in a stream-like fashion from one ByteBuf to an
other Message type. |
class |
DelimiterBasedFrameDecoder
A decoder that splits the received
ByteBuf s by one or more
delimiters. |
class |
FixedLengthFrameDecoder
A decoder that splits the received
ByteBuf s by the fixed number
of bytes. |
class |
LengthFieldBasedFrameDecoder
A decoder that splits the received
ByteBuf s dynamically by the
value of the length field in the message. |
class |
LineBasedFrameDecoder
A decoder that splits the received
ByteBuf s on line endings. |
class |
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
A Codec for on-the-fly encoding/decoding of message.
|
class |
MessageToMessageDecoder<I>
ChannelInboundHandlerAdapter which decodes from one message to an other message. |
class |
ReplayingDecoder<S>
A specialized variation of
ByteToMessageDecoder which enables implementation
of a non-blocking decoder in the blocking I/O paradigm. |
Modifier and Type | Class and Description |
---|---|
class |
Base64Decoder
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayDecoder
Decodes a received
ByteBuf into an array of bytes. |
Modifier and Type | Class and Description |
---|---|
class |
JdkZlibDecoder
Decompress a
ByteBuf using the inflate algorithm. |
class |
JZlibDecoder |
class |
SnappyFramedDecoder
Uncompresses a
ByteBuf encoded with the Snappy framing format. |
class |
ZlibDecoder
Decompresses a
ByteBuf using the deflate algorithm. |
Modifier and Type | Class and Description |
---|---|
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 |
HttpContentDecoder
Decodes the content of the received
HttpRequest and HttpContent . |
class |
HttpContentDecompressor
|
class |
HttpContentEncoder
Encodes the content of the outbound
HttpResponse and HttpContent . |
class |
HttpObjectAggregator
A
ChannelHandler that aggregates an HttpMessage
and its following HttpContent s into a single FullHttpRequest
or FullHttpResponse (depending on if it used to handle requests or responses)
with no following HttpContent s. |
class |
HttpObjectDecoder
|
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 |
CorsHandler
Handles Cross Origin Resource Sharing (CORS) requests.
|
Modifier and Type | Interface and Description |
---|---|
interface |
WebSocketFrameDecoder
Marker interface which all WebSocketFrame decoders need to implement.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocket00FrameDecoder
Decodes
ByteBuf s into WebSocketFrame s. |
class |
WebSocket07FrameDecoder
Decodes a web socket frame from wire protocol version 7 format.
|
class |
WebSocket08FrameDecoder
Decodes a web socket frame from wire protocol version 8 format.
|
class |
WebSocket13FrameDecoder
Decodes a web socket frame from wire protocol version 13 format.
|
class |
WebSocketClientProtocolHandler
This handler does all the heavy lifting for you to run a websocket client.
|
class |
WebSocketFrameAggregator
Handler that aggregate fragmented WebSocketFrame's.
|
class |
WebSocketServerProtocolHandler
This handler does all the heavy lifting for you to run a websocket server.
|
Modifier and Type | Class and Description |
---|---|
class |
CompatibleMarshallingDecoder
|
class |
MarshallingDecoder
Decoder which MUST be used with
MarshallingEncoder . |
Modifier and Type | Class and Description |
---|---|
class |
ProtobufDecoder
|
class |
ProtobufVarint32FrameDecoder
A decoder that splits the received
ByteBuf 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 |
RtspObjectDecoder
Decodes
ByteBuf s into RTSP messages represented in
HttpMessage s. |
class |
RtspRequestDecoder
Decodes
ByteBuf s into RTSP requests represented in
HttpRequest s. |
class |
RtspResponseDecoder
Decodes
ByteBuf s into RTSP responses represented in
HttpResponse s. |
Modifier and Type | Class and Description |
---|---|
class |
SctpInboundByteStreamHandler
A ChannelHandler which receives
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 |
Modifier and Type | Class and Description |
---|---|
class |
ObjectDecoder
A decoder which deserializes the received
ByteBuf s into Java
objects. |
Modifier and Type | Class and Description |
---|---|
class |
SocksAuthRequestDecoder
Decodes
ByteBuf s into SocksAuthRequest . |
class |
SocksAuthResponseDecoder
Decodes
ByteBuf s into SocksAuthResponse . |
class |
SocksCmdRequestDecoder
Decodes
ByteBuf s into SocksCmdRequest . |
class |
SocksCmdResponseDecoder
Decodes
ByteBuf s into SocksCmdResponse . |
class |
SocksInitRequestDecoder
Decodes
ByteBuf s into SocksInitRequest . |
class |
SocksInitResponseDecoder
Decodes
ByteBuf s into SocksInitResponse . |
Modifier and Type | Class and Description |
---|---|
class |
SpdyFrameCodec
A
ChannelHandler that encodes and decodes SPDY Frames. |
class |
SpdyHttpCodec
A combination of
SpdyHttpDecoder and SpdyHttpEncoder |
class |
SpdyHttpDecoder
Decodes
SpdySynStreamFrame s, SpdySynReplyFrame s,
and SpdyDataFrame s into FullHttpRequest s and FullHttpResponse s. |
class |
SpdyHttpResponseStreamIdHandler
MessageToMessageCodec that takes care of adding the right SpdyHttpHeaders.Names.STREAM_ID to the
HttpMessage if one is not present. |
class |
SpdyOrHttpChooser
ChannelInboundHandler which is responsible to setup the ChannelPipeline either for
HTTP or SPDY. |
class |
SpdySessionHandler
Manages streams within a SPDY session.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ChannelInboundHandler |
SpdyOrHttpChooser.createHttpRequestHandlerForHttp()
Create the
ChannelInboundHandler that is responsible for handling the http requests
when the SpdyOrHttpChooser.SelectedProtocol was SpdyOrHttpChooser.SelectedProtocol.HTTP_1_0 or
SpdyOrHttpChooser.SelectedProtocol.HTTP_1_1 |
protected ChannelInboundHandler |
SpdyOrHttpChooser.createHttpRequestHandlerForSpdy()
Create the
ChannelInboundHandler that is responsible for handling the http responses
when the SpdyOrHttpChooser.SelectedProtocol was SpdyOrHttpChooser.SelectedProtocol.SPDY_3_1 . |
Modifier and Type | Class and Description |
---|---|
class |
StringDecoder
|
Modifier and Type | Class and Description |
---|---|
class |
LoggingHandler
A
ChannelHandler that logs all events using a logging framework. |
Modifier and Type | Class and Description |
---|---|
class |
SniHandler
Enables SNI
(Server Name Indication) extension for server side SSL.
|
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 |
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. |
Modifier and Type | Class and Description |
---|---|
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. |
Copyright © 2008–2015 The Netty Project. All rights reserved.