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.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.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.string |
Encoder and decoder which transform a
String into a
ByteBuf and vice versa. |
io.netty.handler.ipfilter |
Package to filter IP addresses (allow/deny).
|
io.netty.handler.logging |
Logs a
io.netty.channel.ChannelEvent for debugging purpose. |
io.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelInitializer<C extends Channel>
A special
ChannelInboundHandler which offers an easy way to initialize a Channel once it was
registered to its EventLoop . |
Modifier and Type | Class and Description |
---|---|
class |
LengthFieldPrepender
An encoder that prepends the length of the message.
|
Modifier and Type | Class and Description |
---|---|
class |
Base64Decoder
|
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 |
WebSocket00FrameEncoder
Encodes a
WebSocketFrame into a ByteBuf . |
Modifier and Type | Class and Description |
---|---|
class |
RtspObjectEncoder<H extends HttpMessage>
Deprecated.
Use
RtspEncoder instead. |
Modifier and Type | Class and Description |
---|---|
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 |
StringDecoder
Decodes a received
ByteBuf into a String . |
class |
StringEncoder
Encodes the requested
String into a ByteBuf . |
Modifier and Type | Class and Description |
---|---|
class |
RuleBasedIpFilter
This class allows one to filter new
Channel s based on the
IpFilterRule s passed to its constructor. |
class |
UniqueIpFilter
This class allows one to ensure that at all times for every IP address there is at most one
Channel connected to the server. |
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 |
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. |