Package | Description |
---|---|
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.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.websocket | |
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.protobuf |
Encoder and decoder which transform a
Google Protocol Buffers
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.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.ipfilter |
Implementation of a Ip based Filter handlers.
|
org.jboss.netty.handler.logging |
Logs a
ChannelEvent for debugging purpose
using an InternalLogger . |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
Base64Decoder
|
class |
Base64Encoder
Encodes a
ChannelBuffer into a Base64-encoded ChannelBuffer . |
Modifier and Type | Class and Description |
---|---|
class |
LengthFieldPrepender
An encoder that prepends the length of the message.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketFrameEncoder
Deprecated.
Use org.jboss.netty.handler.codec.http.websocketx instead.
Encodes a
WebSocketFrame into a ChannelBuffer .
For the detailed instruction on adding add Web Socket support to your HTTP
server, take a look into the WebSocketServer example located in the
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocket00FrameEncoder
Encodes a
WebSocketFrame into a ChannelBuffer . |
Modifier and Type | Class and Description |
---|---|
class |
ProtobufDecoder
|
class |
ProtobufEncoder
|
class |
ProtobufVarint32LengthFieldPrepender
An encoder that prepends the the Google Protocol Buffers
Base
128 Varints integer length field.
|
Modifier and Type | Class and Description |
---|---|
class |
RtspMessageEncoder
Encodes an RTSP message represented in
HttpMessage into
a ChannelBuffer . |
Modifier and Type | Class and Description |
---|---|
class |
ObjectEncoder
An encoder which serializes a Java object into a
ChannelBuffer . |
Modifier and Type | Class and Description |
---|---|
class |
SocksMessageEncoder
Encodes an
SocksMessage into a ChannelBuffer . |
Modifier and Type | Class and Description |
---|---|
class |
StringDecoder
Decodes a received
ChannelBuffer into a String . |
class |
StringEncoder
Encodes the requested
String into a ChannelBuffer . |
Modifier and Type | Class and Description |
---|---|
class |
ExecutionHandler
Forwards an upstream
ChannelEvent to an Executor . |
Modifier and Type | Class and Description |
---|---|
class |
IpFilterRuleHandler
Implementation of Filter of IP based on ALLOW and DENY rules.
This implementation could be changed by implementing a new IpFilterRule than default
IpV4SubnetFilterRule (IPV4 support only), IpSubnetFilterRule (IPV4 and IPV6 support)
or IpFilterRule (IP and host name string pattern support) .The check is done by going from step to step in the underlying array of IpFilterRule. Each IpFilterRule answers to the method accept if the InetAddress is accepted or not,
according to its implementation. |
class |
OneIpFilterHandler
Handler that block any new connection if there are already a currently active
channel connected with the same InetAddress (IP).
Take care to not change isBlocked method except if you know what you are doing since it is used to test if the current closed connection is to be removed or not from the map of currently connected channel. |
Modifier and Type | Class and Description |
---|---|
class |
LoggingHandler
A
ChannelHandler that logs all events via InternalLogger . |
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 no data was written within a
certain period of time. |
Modifier and Type | Class and Description |
---|---|
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.The general use should be as follow: Create your unique GlobalTrafficShapingHandler like: GlobalTrafficShapingHandler myHandler = new GlobalTrafficShapingHandler(timer); timer could be created using HashedWheelTimer pipeline.addLast("GLOBAL_TRAFFIC_SHAPING", 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). A value of 0 means no accounting for checkInterval. |
Copyright © 2008-2016 The Netty Project. All Rights Reserved.