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.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 |
Encoder and decoder which transform a
String into a
ByteBuf and vice versa. |
io.netty.handler.flush |
Package to control flush behavior.
|
io.netty.handler.logging |
Logs a
io.netty.channel.ChannelEvent for debugging purpose. |
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
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 |
ChannelOutboundHandlerAdapter
Skeleton implementation of a
ChannelOutboundHandler . |
class |
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
|
(package private) class |
DefaultChannelPipeline.HeadContext |
Modifier and Type | Field and Description |
---|---|
private O |
CombinedChannelDuplexHandler.outboundHandler |
Modifier and Type | Class and Description |
---|---|
class |
ByteToMessageCodec<I>
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.
|
private class |
ByteToMessageCodec.Encoder |
class |
LengthFieldPrepender
An encoder that prepends the length of the message.
|
class |
MessageToByteEncoder<I>
ChannelOutboundHandlerAdapter which encodes message in a stream-like fashion from one message to an
ByteBuf . |
class |
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
A Codec for on-the-fly encoding/decoding of message.
|
class |
MessageToMessageEncoder<I>
ChannelOutboundHandlerAdapter which encodes from one message to an other message
For example here is an implementation which decodes an Integer to an String . |
Modifier and Type | Class and Description |
---|---|
class |
Base64Encoder
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayEncoder
Encodes the requested array of bytes into a
ByteBuf . |
Modifier and Type | Class and Description |
---|---|
class |
JdkZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
class |
JZlibEncoder
Compresses a
ByteBuf using the deflate algorithm. |
class |
SnappyFramedEncoder
Compresses a
ByteBuf using the Snappy framing format. |
class |
ZlibEncoder
Compresses 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. |
private class |
HttpClientCodec.Encoder |
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 |
HttpObjectEncoder<H extends HttpMessage>
|
class |
HttpRequestEncoder
|
class |
HttpResponseEncoder
|
class |
HttpServerCodec
A combination of
HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation. |
class |
HttpServerKeepAliveHandler
HttpServerKeepAliveHandler helps close persistent connections when appropriate.
|
Modifier and Type | Class and Description |
---|---|
class |
CorsHandler
Handles Cross Origin Resource Sharing (CORS) requests.
|
Modifier and Type | Interface and Description |
---|---|
interface |
WebSocketFrameEncoder
Marker interface which all WebSocketFrame encoders need to implement.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocket00FrameEncoder
Encodes a
WebSocketFrame into a ByteBuf . |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
RtspEncoder
|
class |
RtspObjectEncoder<H extends HttpMessage>
Deprecated.
Use
RtspEncoder instead. |
class |
RtspRequestEncoder
Deprecated.
Use
RtspEncoder directly instead |
class |
RtspResponseEncoder
Deprecated.
Use
RtspEncoder directly instead |
Modifier and Type | Class and Description |
---|---|
class |
SctpOutboundByteStreamHandler
A ChannelHandler which transform
ByteBuf to SctpMessage and send it through a specific stream
with given protocol identifier. |
Modifier and Type | Class and Description |
---|---|
class |
CompatibleObjectEncoder
An encoder which serializes a Java object into a
ByteBuf
(interoperability version). |
class |
ObjectEncoder
An encoder which serializes a Java object into a
ByteBuf . |
Modifier and Type | Class and Description |
---|---|
class |
SocksMessageEncoder
Encodes an
SocksMessage into a ByteBuf . |
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 |
SpdyHttpEncoder
Encodes
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
Manages streams within a SPDY session.
|
Modifier and Type | Class and Description |
---|---|
class |
StringEncoder
Encodes the requested
String into a ByteBuf . |
Modifier and Type | Class and Description |
---|---|
class |
FlushConsolidationHandler
ChannelDuplexHandler which consolidates Channel.flush() / ChannelHandlerContext.flush()
operations (which also includes
Channel.writeAndFlush(Object) / Channel.writeAndFlush(Object, ChannelPromise) and
ChannelHandlerContext.writeAndFlush(Object) /
ChannelHandlerContext.writeAndFlush(Object, ChannelPromise) ). |
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 |
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. |
class |
WriteTimeoutHandler
Raises a
WriteTimeoutException when a write operation cannot finish in 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.This version shall not be in the same pipeline than other TrafficShapingHandler. The general use should be as follow: Create your unique GlobalChannelTrafficShapingHandler like: GlobalChannelTrafficShapingHandler myHandler = new GlobalChannelTrafficShapingHandler(executor); The executor could be the underlying IO worker pool pipeline.addLast(myHandler); Note that this handler has a Pipeline Coverage of "all" which means only one such handler must be created and shared among all channels as the counter must be shared among all channels. Other arguments can be passed like write or read limitation (in bytes/s where 0 means no limitation) or the check interval (in millisecond) that represents the delay between two computations of the bandwidth and so the call back of the doAccounting method (0 means no accounting at all). Note that as this is a fusion of both Global and Channel Traffic Shaping, limits are in 2 sets, respectively Global and Channel. A value of 0 means no accounting for checkInterval. |
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. |