Uses of Interface
org.jboss.netty.channel.ChannelUpstreamHandler
-
Packages that use ChannelUpstreamHandler 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.example.discard org.jboss.netty.example.echo org.jboss.netty.example.factorial org.jboss.netty.example.http.file org.jboss.netty.example.http.helloworld org.jboss.netty.example.http.snoop org.jboss.netty.example.http.upload org.jboss.netty.example.http.websocketx.autobahn This package is intended for use with testing against the Python AutoBahn test suite.org.jboss.netty.example.http.websocketx.client This is an example web service client.org.jboss.netty.example.http.websocketx.server This package contains an example web socket web server.org.jboss.netty.example.localtime org.jboss.netty.example.objectecho org.jboss.netty.example.portunification org.jboss.netty.example.proxy org.jboss.netty.example.qotm org.jboss.netty.example.securechat org.jboss.netty.example.telnet org.jboss.netty.example.uptime org.jboss.netty.handler.codec.base64 Encoder and decoder which transform a Base64-encodedString
orChannelBuffer
into a decodedChannelBuffer
and vice versa.org.jboss.netty.handler.codec.compression Encoder and decoder which compresses and decompressesChannelBuffer
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.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.org.jboss.netty.handler.codec.marshalling Decoder and Encoder which uses JBoss Marshalling.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 BuffersMessage
into aChannelBuffer
and vice versa.org.jboss.netty.handler.codec.replay Specialized variation ofFrameDecoder
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 aSerializable
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.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.org.jboss.netty.handler.codec.string Encoder and decoder which transform aString
into aChannelBuffer
and vice versa.org.jboss.netty.handler.execution Executor
-based implementation of various thread models that separate business logic from I/O threadsorg.jboss.netty.handler.ipfilter Implementation of a Ip based Filter handlers.
org.jboss.netty.handler.logging Logs aChannelEvent
for debugging purpose using anInternalLogger
.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 gettingOutOfMemoryError
.org.jboss.netty.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer
.org.jboss.netty.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics.
-
-
Uses of ChannelUpstreamHandler in org.jboss.netty.channel
Classes in org.jboss.netty.channel that implement ChannelUpstreamHandler Modifier and Type Class Description class
SimpleChannelHandler
AChannelHandler
which provides an individual handler method for each event type.class
SimpleChannelUpstreamHandler
AChannelUpstreamHandler
which provides an individual handler method for each event type. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.discard
Classes in org.jboss.netty.example.discard that implement ChannelUpstreamHandler Modifier and Type Class Description class
DiscardClientHandler
Handles a client-side channel.class
DiscardServerHandler
Handles a server-side channel. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.echo
Classes in org.jboss.netty.example.echo that implement ChannelUpstreamHandler Modifier and Type Class Description class
EchoClientHandler
Handler implementation for the echo client.class
EchoServerHandler
Handler implementation for the echo server. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.factorial
Classes in org.jboss.netty.example.factorial that implement ChannelUpstreamHandler Modifier and Type Class Description class
BigIntegerDecoder
Decodes the binary representation of aBigInteger
prepended with a magic number ('F' or 0x46) and a 32-bit integer length prefix into aBigInteger
instance.class
FactorialClientHandler
Handler for a client-side channel.class
FactorialServerHandler
Handler for a server-side channel. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.http.file
Classes in org.jboss.netty.example.http.file that implement ChannelUpstreamHandler Modifier and Type Class Description class
HttpStaticFileServerHandler
A simple handler that serves incoming HTTP requests to send their respective HTTP responses. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.http.helloworld
Classes in org.jboss.netty.example.http.helloworld that implement ChannelUpstreamHandler Modifier and Type Class Description class
HttpHelloWorldServerHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.example.http.snoop
Classes in org.jboss.netty.example.http.snoop that implement ChannelUpstreamHandler Modifier and Type Class Description class
HttpSnoopClientHandler
class
HttpSnoopServerHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.example.http.upload
Classes in org.jboss.netty.example.http.upload that implement ChannelUpstreamHandler Modifier and Type Class Description class
HttpUploadClientHandler
class
HttpUploadServerHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.example.http.websocketx.autobahn
Classes in org.jboss.netty.example.http.websocketx.autobahn that implement ChannelUpstreamHandler Modifier and Type Class Description class
AutobahnServerHandler
Handles handshakes and messages -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.http.websocketx.client
Classes in org.jboss.netty.example.http.websocketx.client that implement ChannelUpstreamHandler Modifier and Type Class Description class
WebSocketClientHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.example.http.websocketx.server
Classes in org.jboss.netty.example.http.websocketx.server that implement ChannelUpstreamHandler Modifier and Type Class Description class
WebSocketServerHandler
Handles handshakes and messages -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.localtime
Classes in org.jboss.netty.example.localtime that implement ChannelUpstreamHandler Modifier and Type Class Description class
LocalTimeClientHandler
class
LocalTimeServerHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.example.objectecho
Classes in org.jboss.netty.example.objectecho that implement ChannelUpstreamHandler Modifier and Type Class Description class
ObjectEchoClientHandler
Handler implementation for the object echo client.class
ObjectEchoServerHandler
Handles both client-side and server-side handler depending on which constructor was called. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.portunification
Classes in org.jboss.netty.example.portunification that implement ChannelUpstreamHandler Modifier and Type Class Description class
PortUnificationServerHandler
Manipulates the current pipeline dynamically to switch protocols or enable SSL or GZIP. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.proxy
Classes in org.jboss.netty.example.proxy that implement ChannelUpstreamHandler Modifier and Type Class Description class
HexDumpProxyInboundHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.example.qotm
Classes in org.jboss.netty.example.qotm that implement ChannelUpstreamHandler Modifier and Type Class Description class
QuoteOfTheMomentClientHandler
class
QuoteOfTheMomentServerHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.example.securechat
Classes in org.jboss.netty.example.securechat that implement ChannelUpstreamHandler Modifier and Type Class Description class
SecureChatClientHandler
Handles a client-side channel.class
SecureChatServerHandler
Handles a server-side channel. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.telnet
Classes in org.jboss.netty.example.telnet that implement ChannelUpstreamHandler Modifier and Type Class Description class
TelnetClientHandler
Handles a client-side channel.class
TelnetServerHandler
Handles a server-side channel. -
Uses of ChannelUpstreamHandler in org.jboss.netty.example.uptime
Classes in org.jboss.netty.example.uptime that implement ChannelUpstreamHandler Modifier and Type Class Description class
UptimeClientHandler
Keep reconnecting to the server while printing out the current uptime and connection attempt status. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.base64
Classes in org.jboss.netty.handler.codec.base64 that implement ChannelUpstreamHandler Modifier and Type Class Description class
Base64Decoder
-
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.compression
Classes in org.jboss.netty.handler.codec.compression that implement ChannelUpstreamHandler Modifier and Type Class Description class
ZlibDecoder
Decompresses aChannelBuffer
using the deflate algorithm. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.embedder
Constructors in org.jboss.netty.handler.codec.embedder with parameters of type ChannelUpstreamHandler Constructor 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. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.frame
Classes in org.jboss.netty.handler.codec.frame that implement ChannelUpstreamHandler Modifier and Type Class Description class
DelimiterBasedFrameDecoder
A decoder that splits the receivedChannelBuffer
s by one or more delimiters.class
FixedLengthFrameDecoder
A decoder that splits the receivedChannelBuffer
s by the fixed number of bytes.class
FrameDecoder
Decodes the receivedChannelBuffer
s into a meaningful frame object.class
LengthFieldBasedFrameDecoder
A decoder that splits the receivedChannelBuffer
s dynamically by the value of the length field in the message.class
LineBasedFrameDecoder
A decoder that splits the receivedChannelBuffer
s on line endings. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.http
Classes in org.jboss.netty.handler.codec.http that implement ChannelUpstreamHandler Modifier and Type Class Description class
HttpChunkAggregator
AChannelHandler
that aggregates anHttpMessage
and its followingHttpChunk
s into a singleHttpMessage
with no followingHttpChunk
s.class
HttpClientCodec
A combination ofHttpRequestEncoder
andHttpResponseDecoder
which enables easier client side HTTP implementation.class
HttpContentCompressor
Compresses anHttpMessage
and anHttpChunk
ingzip
ordeflate
encoding while respecting the"Accept-Encoding"
header.class
HttpContentDecoder
Decodes the content of the receivedHttpRequest
andHttpChunk
.class
HttpContentDecompressor
class
HttpContentEncoder
Encodes the content of the outboundHttpResponse
andHttpChunk
.class
HttpMessageDecoder
class
HttpRequestDecoder
class
HttpResponseDecoder
class
HttpServerCodec
A combination ofHttpRequestDecoder
andHttpResponseEncoder
which enables easier server side HTTP implementation. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.http.websocketx
Classes in org.jboss.netty.handler.codec.http.websocketx that implement ChannelUpstreamHandler Modifier and Type Class Description class
WebSocket00FrameDecoder
DecodesChannelBuffer
s intoWebSocketFrame
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
WebSocketFrameAggregator
Handler that aggregate fragmented WebSocketFrame's.class
WebSocketServerProtocolHandler
Handles WebSocket control frames (Close, Ping, Pong) and data frames (Text and Binary) are passed to the next handler in the pipeline.class
WebSocketServerProtocolHandshakeHandler
Handles the HTTP handshake (the HTTP Upgrade request) -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.marshalling
Classes in org.jboss.netty.handler.codec.marshalling that implement ChannelUpstreamHandler Modifier and Type Class Description class
CompatibleMarshallingDecoder
class
MarshallingDecoder
Decoder which MUST be used withMarshallingEncoder
. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.oneone
Classes in org.jboss.netty.handler.codec.oneone that implement ChannelUpstreamHandler Modifier and Type Class Description class
OneToOneDecoder
Transforms a received message into another message. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.protobuf
Classes in org.jboss.netty.handler.codec.protobuf that implement ChannelUpstreamHandler Modifier and Type Class Description class
ProtobufDecoder
class
ProtobufVarint32FrameDecoder
A decoder that splits the receivedChannelBuffer
s dynamically by the value of the Google Protocol Buffers Base 128 Varints integer length field in the message. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.replay
Classes in org.jboss.netty.handler.codec.replay that implement ChannelUpstreamHandler Modifier and Type Class Description class
ReplayingDecoder<T extends Enum<T>>
A specialized variation ofFrameDecoder
which enables implementation of a non-blocking decoder in the blocking I/O paradigm. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.rtsp
Classes in org.jboss.netty.handler.codec.rtsp that implement ChannelUpstreamHandler Modifier and Type Class Description class
RtspMessageDecoder
DecodesChannelBuffer
s into RTSP messages represented inHttpMessage
s.class
RtspRequestDecoder
DecodesChannelBuffer
s into RTSP requests represented inHttpRequest
s.class
RtspResponseDecoder
DecodesChannelBuffer
s into RTSP responses represented inHttpResponse
s. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.serialization
Classes in org.jboss.netty.handler.codec.serialization that implement ChannelUpstreamHandler Modifier and Type Class Description class
ObjectDecoder
A decoder which deserializes the receivedChannelBuffer
s into Java objects. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.socks
Classes in org.jboss.netty.handler.codec.socks that implement ChannelUpstreamHandler Modifier and Type Class Description class
SocksAuthRequestDecoder
DecodesChannelBuffer
s intoSocksAuthRequest
.class
SocksAuthResponseDecoder
DecodesChannelBuffer
s intoSocksAuthResponse
.class
SocksCmdRequestDecoder
DecodesChannelBuffer
s intoSocksCmdRequest
.class
SocksCmdResponseDecoder
DecodesChannelBuffer
s intoSocksCmdResponse
.class
SocksInitRequestDecoder
DecodesChannelBuffer
s intoSocksInitRequest
.class
SocksInitResponseDecoder
DecodesChannelBuffer
s intoSocksInitResponse
. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.spdy
Classes in org.jboss.netty.handler.codec.spdy that implement ChannelUpstreamHandler Modifier and Type Class Description class
SpdyFrameCodec
AChannelHandler
that encodes and decodes SPDY Frames.class
SpdyHttpCodec
A combination ofSpdyHttpDecoder
andSpdyHttpEncoder
class
SpdyHttpDecoder
DecodesSpdySynStreamFrame
s,SpdySynReplyFrame
s, andSpdyDataFrame
s intoHttpRequest
s andHttpResponse
s.class
SpdyHttpResponseStreamIdHandler
SimpleChannelHandler
that takes care of adding the right streamId to theHttpResponse
if one is not present.class
SpdyOrHttpChooser
ChannelUpstreamHandler
which is responsible to setup theChannelPipeline
either for HTTP or SPDY.class
SpdySessionHandler
Manages streams within a SPDY session.Methods in org.jboss.netty.handler.codec.spdy that return ChannelUpstreamHandler Modifier and Type Method Description protected abstract ChannelUpstreamHandler
SpdyOrHttpChooser. createHttpRequestHandlerForHttp()
Create theChannelUpstreamHandler
that is responsible for handling theHttpRequest
's when theSpdyOrHttpChooser.SelectedProtocol
wasSpdyOrHttpChooser.SelectedProtocol.HttpVersion1_0
orSpdyOrHttpChooser.SelectedProtocol.HttpVersion1_1
protected ChannelUpstreamHandler
SpdyOrHttpChooser. createHttpRequestHandlerForSpdy()
Create theChannelUpstreamHandler
that is responsible for handling theHttpRequest
's when theSpdyOrHttpChooser.SelectedProtocol
wasSpdyOrHttpChooser.SelectedProtocol.SpdyVersion3_1
. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.codec.string
Classes in org.jboss.netty.handler.codec.string that implement ChannelUpstreamHandler Modifier and Type Class Description class
StringDecoder
Decodes a receivedChannelBuffer
into aString
. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.execution
Classes in org.jboss.netty.handler.execution that implement ChannelUpstreamHandler Modifier and Type Class Description class
ExecutionHandler
Forwards an upstreamChannelEvent
to anExecutor
. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.ipfilter
Classes in org.jboss.netty.handler.ipfilter that implement ChannelUpstreamHandler Modifier and Type Class Description class
IpFilteringHandlerImpl
General class that handle Ip Filtering.class
IpFilterRuleHandler
Implementation of Filter of IP based on ALLOW and DENY rules.
This implementation could be changed by implementing a newIpFilterRule
than defaultIpV4SubnetFilterRule
(IPV4 support only),IpSubnetFilterRule
(IPV4 and IPV6 support) orIpFilterRule
(IP and host name string pattern support) .
The check is done by going from step to step in the underlying array of IpFilterRule.
EachIpFilterRule
answers to the method accept if theInetAddress
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).
-
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.logging
Classes in org.jboss.netty.handler.logging that implement ChannelUpstreamHandler Modifier and Type Class Description class
LoggingHandler
AChannelHandler
that logs all events viaInternalLogger
. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.queue
Classes in org.jboss.netty.handler.queue that implement ChannelUpstreamHandler Modifier and Type Class Description class
BlockingReadHandler<E>
Emulates blocking read operation.class
BufferedWriteHandler
Emulates buffered write operation. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.ssl
Classes in org.jboss.netty.handler.ssl that implement ChannelUpstreamHandler Modifier and Type Class Description class
SslHandler
-
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.stream
Classes in org.jboss.netty.handler.stream that implement ChannelUpstreamHandler Modifier and Type Class Description class
ChunkedWriteHandler
AChannelHandler
that adds support for writing a large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError
. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.timeout
Classes in org.jboss.netty.handler.timeout that implement ChannelUpstreamHandler Modifier and Type Class Description class
IdleStateAwareChannelHandler
An extendedSimpleChannelHandler
that adds the handler method for anIdleStateEvent
.class
IdleStateAwareChannelUpstreamHandler
An extendedSimpleChannelUpstreamHandler
that adds the handler method for anIdleStateEvent
.class
IdleStateHandler
Triggers anIdleStateEvent
when aChannel
has not performed read, write, or both operation for a while.class
ReadTimeoutHandler
Raises aReadTimeoutException
when no data was read within a certain period of time. -
Uses of ChannelUpstreamHandler in org.jboss.netty.handler.traffic
Classes in org.jboss.netty.handler.traffic that implement ChannelUpstreamHandler Modifier and Type Class Description class
AbstractTrafficShapingHandler
AbstractTrafficShapingHandler allows to limit the global bandwidth (seeGlobalTrafficShapingHandler
) or per session bandwidth (seeChannelTrafficShapingHandler
), as traffic shaping.class
ChannelTrafficShapingHandler
This implementation of theAbstractTrafficShapingHandler
is for channel traffic shaping, that is to say a per channel limitation of the bandwidth.class
GlobalChannelTrafficShapingHandler
This implementation of theAbstractTrafficShapingHandler
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 theAbstractTrafficShapingHandler
is for global traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels.
-