Uses of Interface
org.jboss.netty.channel.ChannelHandler
-
Packages that use ChannelHandler Package Description org.jboss.netty.bootstrap IoC/DI friendly helper classes which enable an easy implementation of typical client side and server side channel initialization.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.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 ChannelHandler in org.jboss.netty.bootstrap
Methods in org.jboss.netty.bootstrap that return ChannelHandler Modifier and Type Method Description ChannelHandler
ServerBootstrap. getParentHandler()
Returns an optionalChannelHandler
which intercepts an event of a newly bound server-side channel which accepts incoming connections.Methods in org.jboss.netty.bootstrap that return types with arguments of type ChannelHandler Modifier and Type Method Description Map<String,ChannelHandler>
Bootstrap. getPipelineAsMap()
Dependency injection friendly convenience method forBootstrap.getPipeline()
which returns the default pipeline of this bootstrap as an ordered map.Methods in org.jboss.netty.bootstrap with parameters of type ChannelHandler Modifier and Type Method Description void
ServerBootstrap. setParentHandler(ChannelHandler parentHandler)
Sets an optionalChannelHandler
which intercepts an event of a newly bound server-side channel which accepts incoming connections.Method parameters in org.jboss.netty.bootstrap with type arguments of type ChannelHandler Modifier and Type Method Description void
Bootstrap. setPipelineAsMap(Map<String,ChannelHandler> pipelineMap)
Dependency injection friendly convenience method forBootstrap.setPipeline(ChannelPipeline)
which sets the default pipeline of this bootstrap from an ordered map. -
Uses of ChannelHandler in org.jboss.netty.channel
Subinterfaces of ChannelHandler in org.jboss.netty.channel Modifier and Type Interface Description interface
ChannelDownstreamHandler
Handles or intercepts a downstreamChannelEvent
, and sends aChannelEvent
to the next handler in aChannelPipeline
.interface
ChannelUpstreamHandler
Handles or intercepts an upstreamChannelEvent
, and sends aChannelEvent
to the next handler in aChannelPipeline
.interface
LifeCycleAwareChannelHandler
AChannelHandler
that is notified when it is added to or removed from aChannelPipeline
.Classes in org.jboss.netty.channel that implement ChannelHandler Modifier and Type Class Description class
SimpleChannelDownstreamHandler
AChannelDownstreamHandler
which provides an individual handler method for each event type.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.Methods in org.jboss.netty.channel with type parameters of type ChannelHandler Modifier and Type Method Description <T extends ChannelHandler>
TChannelPipeline. get(Class<T> handlerType)
Returns theChannelHandler
of the specified type in this pipeline.<T extends ChannelHandler>
TDefaultChannelPipeline. get(Class<T> handlerType)
<T extends ChannelHandler>
TChannelPipeline. remove(Class<T> handlerType)
Removes theChannelHandler
of the specified type from this pipeline<T extends ChannelHandler>
TDefaultChannelPipeline. remove(Class<T> handlerType)
<T extends ChannelHandler>
TChannelPipeline. replace(Class<T> oldHandlerType, String newName, ChannelHandler newHandler)
Replaces theChannelHandler
of the specified type with a new handler in this pipeline.<T extends ChannelHandler>
TDefaultChannelPipeline. replace(Class<T> oldHandlerType, String newName, ChannelHandler newHandler)
Methods in org.jboss.netty.channel that return ChannelHandler Modifier and Type Method Description ChannelHandler
ChannelPipeline. get(String name)
Returns theChannelHandler
with the specified name in this pipeline.ChannelHandler
DefaultChannelPipeline. get(String name)
ChannelHandler
ChannelPipeline. getFirst()
Returns the firstChannelHandler
in this pipeline.ChannelHandler
DefaultChannelPipeline. getFirst()
ChannelHandler
ChannelHandlerContext. getHandler()
Returns theChannelHandler
that this context object is serving.ChannelHandler
ChannelPipeline. getLast()
Returns the lastChannelHandler
in this pipeline.ChannelHandler
DefaultChannelPipeline. getLast()
ChannelHandler
ChannelPipeline. remove(String name)
Removes theChannelHandler
with the specified name from this pipeline.ChannelHandler
DefaultChannelPipeline. remove(String name)
ChannelHandler
ChannelPipeline. removeFirst()
Removes the firstChannelHandler
in this pipeline.ChannelHandler
DefaultChannelPipeline. removeFirst()
ChannelHandler
ChannelPipeline. removeLast()
Removes the lastChannelHandler
in this pipeline.ChannelHandler
DefaultChannelPipeline. removeLast()
ChannelHandler
ChannelPipeline. replace(String oldName, String newName, ChannelHandler newHandler)
Replaces theChannelHandler
of the specified name with a new handler in this pipeline.ChannelHandler
DefaultChannelPipeline. replace(String oldName, String newName, ChannelHandler newHandler)
Methods in org.jboss.netty.channel that return types with arguments of type ChannelHandler Modifier and Type Method Description Map<String,ChannelHandler>
ChannelPipeline. toMap()
Converts this pipeline into an orderedMap
whose keys are handler names and whose values are handlers.Map<String,ChannelHandler>
DefaultChannelPipeline. toMap()
Methods in org.jboss.netty.channel with parameters of type ChannelHandler Modifier and Type Method Description void
ChannelPipeline. addAfter(String baseName, String name, ChannelHandler handler)
Inserts aChannelHandler
after an existing handler of this pipeline.void
DefaultChannelPipeline. addAfter(String baseName, String name, ChannelHandler handler)
void
ChannelPipeline. addBefore(String baseName, String name, ChannelHandler handler)
Inserts aChannelHandler
before an existing handler of this pipeline.void
DefaultChannelPipeline. addBefore(String baseName, String name, ChannelHandler handler)
void
ChannelPipeline. addFirst(String name, ChannelHandler handler)
Inserts aChannelHandler
at the first position of this pipeline.void
DefaultChannelPipeline. addFirst(String name, ChannelHandler handler)
void
ChannelPipeline. addLast(String name, ChannelHandler handler)
Appends aChannelHandler
at the last position of this pipeline.void
DefaultChannelPipeline. addLast(String name, ChannelHandler handler)
ChannelHandlerContext
ChannelPipeline. getContext(ChannelHandler handler)
Returns the context object of the specifiedChannelHandler
in this pipeline.ChannelHandlerContext
DefaultChannelPipeline. getContext(ChannelHandler handler)
static ChannelPipeline
Channels. pipeline(ChannelHandler... handlers)
Creates a newChannelPipeline
which contains the specifiedChannelHandler
s.void
ChannelPipeline. remove(ChannelHandler handler)
Removes the specifiedChannelHandler
from this pipeline.void
DefaultChannelPipeline. remove(ChannelHandler handler)
<T extends ChannelHandler>
TChannelPipeline. replace(Class<T> oldHandlerType, String newName, ChannelHandler newHandler)
Replaces theChannelHandler
of the specified type with a new handler in this pipeline.ChannelHandler
ChannelPipeline. replace(String oldName, String newName, ChannelHandler newHandler)
Replaces theChannelHandler
of the specified name with a new handler in this pipeline.void
ChannelPipeline. replace(ChannelHandler oldHandler, String newName, ChannelHandler newHandler)
Replaces the specifiedChannelHandler
with a new handler in this pipeline.<T extends ChannelHandler>
TDefaultChannelPipeline. replace(Class<T> oldHandlerType, String newName, ChannelHandler newHandler)
ChannelHandler
DefaultChannelPipeline. replace(String oldName, String newName, ChannelHandler newHandler)
void
DefaultChannelPipeline. replace(ChannelHandler oldHandler, String newName, ChannelHandler newHandler)
Method parameters in org.jboss.netty.channel with type arguments of type ChannelHandler Modifier and Type Method Description ChannelHandlerContext
ChannelPipeline. getContext(Class<? extends ChannelHandler> handlerType)
Returns the context object of theChannelHandler
of the specified type in this pipeline.ChannelHandlerContext
DefaultChannelPipeline. getContext(Class<? extends ChannelHandler> handlerType)
-
Uses of ChannelHandler in org.jboss.netty.example.discard
Classes in org.jboss.netty.example.discard that implement ChannelHandler Modifier and Type Class Description class
DiscardClientHandler
Handles a client-side channel.class
DiscardServerHandler
Handles a server-side channel. -
Uses of ChannelHandler in org.jboss.netty.example.echo
Classes in org.jboss.netty.example.echo that implement ChannelHandler Modifier and Type Class Description class
EchoClientHandler
Handler implementation for the echo client.class
EchoServerHandler
Handler implementation for the echo server. -
Uses of ChannelHandler in org.jboss.netty.example.factorial
Classes in org.jboss.netty.example.factorial that implement ChannelHandler 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.class
NumberEncoder
Encodes aNumber
into the binary representation prepended with a magic number ('F' or 0x46) and a 32-bit length prefix. -
Uses of ChannelHandler in org.jboss.netty.example.http.file
Classes in org.jboss.netty.example.http.file that implement ChannelHandler Modifier and Type Class Description class
HttpStaticFileServerHandler
A simple handler that serves incoming HTTP requests to send their respective HTTP responses. -
Uses of ChannelHandler in org.jboss.netty.example.http.helloworld
Classes in org.jboss.netty.example.http.helloworld that implement ChannelHandler Modifier and Type Class Description class
HttpHelloWorldServerHandler
-
Uses of ChannelHandler in org.jboss.netty.example.http.snoop
Classes in org.jboss.netty.example.http.snoop that implement ChannelHandler Modifier and Type Class Description class
HttpSnoopClientHandler
class
HttpSnoopServerHandler
-
Uses of ChannelHandler in org.jboss.netty.example.http.upload
Classes in org.jboss.netty.example.http.upload that implement ChannelHandler Modifier and Type Class Description class
HttpUploadClientHandler
class
HttpUploadServerHandler
-
Uses of ChannelHandler in org.jboss.netty.example.http.websocketx.autobahn
Classes in org.jboss.netty.example.http.websocketx.autobahn that implement ChannelHandler Modifier and Type Class Description class
AutobahnServerHandler
Handles handshakes and messages -
Uses of ChannelHandler in org.jboss.netty.example.http.websocketx.client
Classes in org.jboss.netty.example.http.websocketx.client that implement ChannelHandler Modifier and Type Class Description class
WebSocketClientHandler
-
Uses of ChannelHandler in org.jboss.netty.example.http.websocketx.server
Classes in org.jboss.netty.example.http.websocketx.server that implement ChannelHandler Modifier and Type Class Description class
WebSocketServerHandler
Handles handshakes and messages -
Uses of ChannelHandler in org.jboss.netty.example.localtime
Classes in org.jboss.netty.example.localtime that implement ChannelHandler Modifier and Type Class Description class
LocalTimeClientHandler
class
LocalTimeServerHandler
-
Uses of ChannelHandler in org.jboss.netty.example.objectecho
Classes in org.jboss.netty.example.objectecho that implement ChannelHandler 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 ChannelHandler in org.jboss.netty.example.portunification
Classes in org.jboss.netty.example.portunification that implement ChannelHandler Modifier and Type Class Description class
PortUnificationServerHandler
Manipulates the current pipeline dynamically to switch protocols or enable SSL or GZIP. -
Uses of ChannelHandler in org.jboss.netty.example.proxy
Classes in org.jboss.netty.example.proxy that implement ChannelHandler Modifier and Type Class Description class
HexDumpProxyInboundHandler
-
Uses of ChannelHandler in org.jboss.netty.example.qotm
Classes in org.jboss.netty.example.qotm that implement ChannelHandler Modifier and Type Class Description class
QuoteOfTheMomentClientHandler
class
QuoteOfTheMomentServerHandler
-
Uses of ChannelHandler in org.jboss.netty.example.securechat
Classes in org.jboss.netty.example.securechat that implement ChannelHandler Modifier and Type Class Description class
SecureChatClientHandler
Handles a client-side channel.class
SecureChatServerHandler
Handles a server-side channel. -
Uses of ChannelHandler in org.jboss.netty.example.telnet
Classes in org.jboss.netty.example.telnet that implement ChannelHandler Modifier and Type Class Description class
TelnetClientHandler
Handles a client-side channel.class
TelnetServerHandler
Handles a server-side channel. -
Uses of ChannelHandler in org.jboss.netty.example.uptime
Classes in org.jboss.netty.example.uptime that implement ChannelHandler Modifier and Type Class Description class
UptimeClientHandler
Keep reconnecting to the server while printing out the current uptime and connection attempt status. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.base64
Classes in org.jboss.netty.handler.codec.base64 that implement ChannelHandler Modifier and Type Class Description class
Base64Decoder
class
Base64Encoder
Encodes aChannelBuffer
into a Base64-encodedChannelBuffer
. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.compression
Classes in org.jboss.netty.handler.codec.compression that implement ChannelHandler Modifier and Type Class Description class
JdkZlibEncoder
Compresses aChannelBuffer
using the deflate algorithm.class
ZlibDecoder
Decompresses aChannelBuffer
using the deflate algorithm.class
ZlibEncoder
Compresses aChannelBuffer
using the deflate algorithm. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.frame
Classes in org.jboss.netty.handler.codec.frame that implement ChannelHandler 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
LengthFieldPrepender
An encoder that prepends the length of the message.class
LineBasedFrameDecoder
A decoder that splits the receivedChannelBuffer
s on line endings.Methods in org.jboss.netty.handler.codec.frame with parameters of type ChannelHandler Modifier and Type Method Description void
FrameDecoder. replace(String handlerName, ChannelHandler handler)
-
Uses of ChannelHandler in org.jboss.netty.handler.codec.http
Classes in org.jboss.netty.handler.codec.http that implement ChannelHandler 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
HttpMessageEncoder
class
HttpRequestDecoder
class
HttpRequestEncoder
class
HttpResponseDecoder
class
HttpResponseEncoder
class
HttpServerCodec
A combination ofHttpRequestDecoder
andHttpResponseEncoder
which enables easier server side HTTP implementation. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.http.websocketx
Classes in org.jboss.netty.handler.codec.http.websocketx that implement ChannelHandler Modifier and Type Class Description class
WebSocket00FrameDecoder
DecodesChannelBuffer
s intoWebSocketFrame
s.class
WebSocket00FrameEncoder
Encodes aWebSocketFrame
into aChannelBuffer
.class
WebSocket07FrameDecoder
Decodes a web socket frame from wire protocol version 7 format.class
WebSocket07FrameEncoder
Encodes a web socket frame into wire protocol version 7 format.class
WebSocket08FrameDecoder
Decodes a web socket frame from wire protocol version 8 format.class
WebSocket08FrameEncoder
Encodes a web socket frame into wire protocol version 8 format.class
WebSocket13FrameDecoder
Decodes a web socket frame from wire protocol version 13 format.class
WebSocket13FrameEncoder
Encodes a web socket frame into 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)Methods in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelHandler Modifier and Type Method Description protected ChannelFuture
WebSocketServerHandshaker. writeHandshakeResponse(Channel channel, HttpResponse res, ChannelHandler encoder, ChannelHandler decoder)
Upgrades the connection and send the handshake response. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.marshalling
Classes in org.jboss.netty.handler.codec.marshalling that implement ChannelHandler Modifier and Type Class Description class
CompatibleMarshallingDecoder
class
CompatibleMarshallingEncoder
OneToOneEncoder
implementation which uses JBoss Marshalling to marshal an Object.class
MarshallingDecoder
Decoder which MUST be used withMarshallingEncoder
.class
MarshallingEncoder
OneToOneEncoder
implementation which uses JBoss Marshalling to marshal an Object. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.oneone
Classes in org.jboss.netty.handler.codec.oneone that implement ChannelHandler Modifier and Type Class Description class
OneToOneDecoder
Transforms a received message into another message.class
OneToOneEncoder
Transforms a write request into another write request.class
OneToOneStrictEncoder
SpecialOneToOneEncoder
which enforce strict ordering of encoding and writing. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.protobuf
Classes in org.jboss.netty.handler.codec.protobuf that implement ChannelHandler Modifier and Type Class Description class
ProtobufDecoder
class
ProtobufEncoder
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.class
ProtobufVarint32LengthFieldPrepender
An encoder that prepends the the Google Protocol Buffers Base 128 Varints integer length field. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.replay
Classes in org.jboss.netty.handler.codec.replay that implement ChannelHandler 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 ChannelHandler in org.jboss.netty.handler.codec.rtsp
Classes in org.jboss.netty.handler.codec.rtsp that implement ChannelHandler Modifier and Type Class Description class
RtspMessageDecoder
DecodesChannelBuffer
s into RTSP messages represented inHttpMessage
s.class
RtspMessageEncoder
Encodes an RTSP message represented inHttpMessage
into aChannelBuffer
.class
RtspRequestDecoder
DecodesChannelBuffer
s into RTSP requests represented inHttpRequest
s.class
RtspRequestEncoder
Encodes an RTSP request represented inHttpRequest
into aChannelBuffer
.class
RtspResponseDecoder
DecodesChannelBuffer
s into RTSP responses represented inHttpResponse
s.class
RtspResponseEncoder
Encodes an RTSP response represented inHttpResponse
into aChannelBuffer
. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.serialization
Classes in org.jboss.netty.handler.codec.serialization that implement ChannelHandler Modifier and Type Class Description class
CompatibleObjectEncoder
An encoder which serializes a Java object into aChannelBuffer
(interoperability version).class
ObjectDecoder
A decoder which deserializes the receivedChannelBuffer
s into Java objects.class
ObjectEncoder
An encoder which serializes a Java object into aChannelBuffer
. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.socks
Classes in org.jboss.netty.handler.codec.socks that implement ChannelHandler 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
.class
SocksMessageEncoder
Encodes anSocksMessage
into aChannelBuffer
. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.spdy
Classes in org.jboss.netty.handler.codec.spdy that implement ChannelHandler 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
SpdyHttpEncoder
EncodesHttpRequest
s,HttpResponse
s, andHttpChunk
s intoSpdySynStreamFrame
s andSpdySynReplyFrame
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. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.string
Classes in org.jboss.netty.handler.codec.string that implement ChannelHandler Modifier and Type Class Description class
StringDecoder
Decodes a receivedChannelBuffer
into aString
.class
StringEncoder
Encodes the requestedString
into aChannelBuffer
. -
Uses of ChannelHandler in org.jboss.netty.handler.execution
Classes in org.jboss.netty.handler.execution that implement ChannelHandler Modifier and Type Class Description class
ExecutionHandler
Forwards an upstreamChannelEvent
to anExecutor
. -
Uses of ChannelHandler in org.jboss.netty.handler.ipfilter
Classes in org.jboss.netty.handler.ipfilter that implement ChannelHandler 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 ChannelHandler in org.jboss.netty.handler.logging
Classes in org.jboss.netty.handler.logging that implement ChannelHandler Modifier and Type Class Description class
LoggingHandler
AChannelHandler
that logs all events viaInternalLogger
. -
Uses of ChannelHandler in org.jboss.netty.handler.queue
Classes in org.jboss.netty.handler.queue that implement ChannelHandler Modifier and Type Class Description class
BlockingReadHandler<E>
Emulates blocking read operation.class
BufferedWriteHandler
Emulates buffered write operation. -
Uses of ChannelHandler in org.jboss.netty.handler.ssl
Classes in org.jboss.netty.handler.ssl that implement ChannelHandler Modifier and Type Class Description class
SslHandler
-
Uses of ChannelHandler in org.jboss.netty.handler.stream
Classes in org.jboss.netty.handler.stream that implement ChannelHandler 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 ChannelHandler in org.jboss.netty.handler.timeout
Classes in org.jboss.netty.handler.timeout that implement ChannelHandler 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.class
WriteTimeoutHandler
Raises aWriteTimeoutException
when no data was written within a certain period of time. -
Uses of ChannelHandler in org.jboss.netty.handler.traffic
Classes in org.jboss.netty.handler.traffic that implement ChannelHandler 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.
-