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.channel.socket.http An HTTP-based client-sideSocketChanneland its corresponding server-side Servlet implementation that make your existing server application work in a firewalled network.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-encodedStringorChannelBufferinto a decodedChannelBufferand vice versa.org.jboss.netty.handler.codec.compression Encoder and decoder which compresses and decompressesChannelBuffers 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 BuffersMessageinto aChannelBufferand vice versa.org.jboss.netty.handler.codec.replay Specialized variation ofFrameDecoderwhich 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 aSerializableobject 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 aStringinto aChannelBufferand 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 aChannelEventfor 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 SSL · TLS implementation based onSSLEngineorg.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
Classes in org.jboss.netty.bootstrap that implement ChannelHandler Modifier and Type Class Description private classServerBootstrap.BinderFields in org.jboss.netty.bootstrap declared as ChannelHandler Modifier and Type Field Description private ChannelHandlerServerBootstrap. parentHandlerMethods in org.jboss.netty.bootstrap that return ChannelHandler Modifier and Type Method Description ChannelHandlerServerBootstrap. getParentHandler()Returns an optionalChannelHandlerwhich 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 java.util.Map<java.lang.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 voidServerBootstrap. setParentHandler(ChannelHandler parentHandler)Sets an optionalChannelHandlerwhich 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 voidBootstrap. setPipelineAsMap(java.util.Map<java.lang.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 interfaceChannelDownstreamHandlerHandles or intercepts a downstreamChannelEvent, and sends aChannelEventto the next handler in aChannelPipeline.interfaceChannelUpstreamHandlerHandles or intercepts an upstreamChannelEvent, and sends aChannelEventto the next handler in aChannelPipeline.interfaceLifeCycleAwareChannelHandlerAChannelHandlerthat 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 classSimpleChannelDownstreamHandlerAChannelDownstreamHandlerwhich provides an individual handler method for each event type.classSimpleChannelHandlerAChannelHandlerwhich provides an individual handler method for each event type.classSimpleChannelUpstreamHandlerAChannelUpstreamHandlerwhich provides an individual handler method for each event type.Fields in org.jboss.netty.channel declared as ChannelHandler Modifier and Type Field Description private ChannelHandlerDefaultChannelPipeline.DefaultChannelHandlerContext. handlerMethods in org.jboss.netty.channel with type parameters of type ChannelHandler Modifier and Type Method Description <T extends ChannelHandler>
TChannelPipeline. get(java.lang.Class<T> handlerType)Returns theChannelHandlerof the specified type in this pipeline.<T extends ChannelHandler>
TDefaultChannelPipeline. get(java.lang.Class<T> handlerType)<T extends ChannelHandler>
TChannelPipeline. remove(java.lang.Class<T> handlerType)Removes theChannelHandlerof the specified type from this pipeline<T extends ChannelHandler>
TDefaultChannelPipeline. remove(java.lang.Class<T> handlerType)<T extends ChannelHandler>
TChannelPipeline. replace(java.lang.Class<T> oldHandlerType, java.lang.String newName, ChannelHandler newHandler)Replaces theChannelHandlerof the specified type with a new handler in this pipeline.<T extends ChannelHandler>
TDefaultChannelPipeline. replace(java.lang.Class<T> oldHandlerType, java.lang.String newName, ChannelHandler newHandler)Methods in org.jboss.netty.channel that return ChannelHandler Modifier and Type Method Description ChannelHandlerChannelPipeline. get(java.lang.String name)Returns theChannelHandlerwith the specified name in this pipeline.ChannelHandlerDefaultChannelPipeline. get(java.lang.String name)ChannelHandlerChannelPipeline. getFirst()Returns the firstChannelHandlerin this pipeline.ChannelHandlerDefaultChannelPipeline. getFirst()ChannelHandlerChannelHandlerContext. getHandler()Returns theChannelHandlerthat this context object is serving.ChannelHandlerDefaultChannelPipeline.DefaultChannelHandlerContext. getHandler()ChannelHandlerChannelPipeline. getLast()Returns the lastChannelHandlerin this pipeline.ChannelHandlerDefaultChannelPipeline. getLast()ChannelHandlerChannelPipeline. remove(java.lang.String name)Removes theChannelHandlerwith the specified name from this pipeline.ChannelHandlerDefaultChannelPipeline. remove(java.lang.String name)ChannelHandlerChannelPipeline. removeFirst()Removes the firstChannelHandlerin this pipeline.ChannelHandlerDefaultChannelPipeline. removeFirst()ChannelHandlerChannelPipeline. removeLast()Removes the lastChannelHandlerin this pipeline.ChannelHandlerDefaultChannelPipeline. removeLast()ChannelHandlerChannelPipeline. replace(java.lang.String oldName, java.lang.String newName, ChannelHandler newHandler)Replaces theChannelHandlerof the specified name with a new handler in this pipeline.ChannelHandlerDefaultChannelPipeline. replace(java.lang.String oldName, java.lang.String newName, ChannelHandler newHandler)private ChannelHandlerDefaultChannelPipeline. replace(DefaultChannelPipeline.DefaultChannelHandlerContext ctx, java.lang.String newName, ChannelHandler newHandler)Methods in org.jboss.netty.channel that return types with arguments of type ChannelHandler Modifier and Type Method Description java.util.Map<java.lang.String,ChannelHandler>ChannelPipeline. toMap()Converts this pipeline into an orderedMapwhose keys are handler names and whose values are handlers.java.util.Map<java.lang.String,ChannelHandler>DefaultChannelPipeline. toMap()Methods in org.jboss.netty.channel with parameters of type ChannelHandler Modifier and Type Method Description voidChannelPipeline. addAfter(java.lang.String baseName, java.lang.String name, ChannelHandler handler)Inserts aChannelHandlerafter an existing handler of this pipeline.voidDefaultChannelPipeline. addAfter(java.lang.String baseName, java.lang.String name, ChannelHandler handler)voidChannelPipeline. addBefore(java.lang.String baseName, java.lang.String name, ChannelHandler handler)Inserts aChannelHandlerbefore an existing handler of this pipeline.voidDefaultChannelPipeline. addBefore(java.lang.String baseName, java.lang.String name, ChannelHandler handler)voidChannelPipeline. addFirst(java.lang.String name, ChannelHandler handler)Inserts aChannelHandlerat the first position of this pipeline.voidDefaultChannelPipeline. addFirst(java.lang.String name, ChannelHandler handler)voidChannelPipeline. addLast(java.lang.String name, ChannelHandler handler)Appends aChannelHandlerat the last position of this pipeline.voidDefaultChannelPipeline. addLast(java.lang.String name, ChannelHandler handler)ChannelHandlerContextChannelPipeline. getContext(ChannelHandler handler)Returns the context object of the specifiedChannelHandlerin this pipeline.ChannelHandlerContextDefaultChannelPipeline. getContext(ChannelHandler handler)private DefaultChannelPipeline.DefaultChannelHandlerContextDefaultChannelPipeline. getContextOrDie(ChannelHandler handler)private voidDefaultChannelPipeline. init(java.lang.String name, ChannelHandler handler)static ChannelPipelineChannels. pipeline(ChannelHandler... handlers)Creates a newChannelPipelinewhich contains the specifiedChannelHandlers.voidChannelPipeline. remove(ChannelHandler handler)Removes the specifiedChannelHandlerfrom this pipeline.voidDefaultChannelPipeline. remove(ChannelHandler handler)<T extends ChannelHandler>
TChannelPipeline. replace(java.lang.Class<T> oldHandlerType, java.lang.String newName, ChannelHandler newHandler)Replaces theChannelHandlerof the specified type with a new handler in this pipeline.ChannelHandlerChannelPipeline. replace(java.lang.String oldName, java.lang.String newName, ChannelHandler newHandler)Replaces theChannelHandlerof the specified name with a new handler in this pipeline.voidChannelPipeline. replace(ChannelHandler oldHandler, java.lang.String newName, ChannelHandler newHandler)Replaces the specifiedChannelHandlerwith a new handler in this pipeline.<T extends ChannelHandler>
TDefaultChannelPipeline. replace(java.lang.Class<T> oldHandlerType, java.lang.String newName, ChannelHandler newHandler)ChannelHandlerDefaultChannelPipeline. replace(java.lang.String oldName, java.lang.String newName, ChannelHandler newHandler)voidDefaultChannelPipeline. replace(ChannelHandler oldHandler, java.lang.String newName, ChannelHandler newHandler)private ChannelHandlerDefaultChannelPipeline. replace(DefaultChannelPipeline.DefaultChannelHandlerContext ctx, java.lang.String newName, ChannelHandler newHandler)Method parameters in org.jboss.netty.channel with type arguments of type ChannelHandler Modifier and Type Method Description ChannelHandlerContextChannelPipeline. getContext(java.lang.Class<? extends ChannelHandler> handlerType)Returns the context object of theChannelHandlerof the specified type in this pipeline.ChannelHandlerContextDefaultChannelPipeline. getContext(java.lang.Class<? extends ChannelHandler> handlerType)private DefaultChannelPipeline.DefaultChannelHandlerContextDefaultChannelPipeline. getContextOrDie(java.lang.Class<? extends ChannelHandler> handlerType)Constructors in org.jboss.netty.channel with parameters of type ChannelHandler Constructor Description DefaultChannelHandlerContext(DefaultChannelPipeline.DefaultChannelHandlerContext prev, DefaultChannelPipeline.DefaultChannelHandlerContext next, java.lang.String name, ChannelHandler handler) -
Uses of ChannelHandler in org.jboss.netty.channel.socket.http
Classes in org.jboss.netty.channel.socket.http that implement ChannelHandler Modifier and Type Class Description (package private) classHttpTunnelingClientSocketChannel.ServletChannelHandlerprivate static classHttpTunnelingServlet.OutboundConnectionHandler -
Uses of ChannelHandler in org.jboss.netty.example.discard
Classes in org.jboss.netty.example.discard that implement ChannelHandler Modifier and Type Class Description classDiscardClientHandlerHandles a client-side channel.classDiscardServerHandlerHandles 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 classEchoClientHandlerHandler implementation for the echo client.classEchoServerHandlerHandler 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 classBigIntegerDecoderDecodes the binary representation of aBigIntegerprepended with a magic number ('F' or 0x46) and a 32-bit integer length prefix into aBigIntegerinstance.classFactorialClientHandlerHandler for a client-side channel.classFactorialServerHandlerHandler for a server-side channel.classNumberEncoderEncodes aNumberinto 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 classHttpStaticFileServerHandlerA 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 classHttpHelloWorldServerHandler -
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 classHttpSnoopClientHandlerclassHttpSnoopServerHandler -
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 classHttpUploadClientHandlerclassHttpUploadServerHandler -
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 classAutobahnServerHandlerHandles 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 classWebSocketClientHandler -
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 classWebSocketServerHandlerHandles 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 classLocalTimeClientHandlerclassLocalTimeServerHandler -
Uses of ChannelHandler in org.jboss.netty.example.objectecho
Classes in org.jboss.netty.example.objectecho that implement ChannelHandler Modifier and Type Class Description classObjectEchoClientHandlerHandler implementation for the object echo client.classObjectEchoServerHandlerHandles 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 classPortUnificationServerHandlerManipulates 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 classHexDumpProxyInboundHandlerprivate classHexDumpProxyInboundHandler.OutboundHandler -
Uses of ChannelHandler in org.jboss.netty.example.qotm
Classes in org.jboss.netty.example.qotm that implement ChannelHandler Modifier and Type Class Description classQuoteOfTheMomentClientHandlerclassQuoteOfTheMomentServerHandler -
Uses of ChannelHandler in org.jboss.netty.example.securechat
Classes in org.jboss.netty.example.securechat that implement ChannelHandler Modifier and Type Class Description classSecureChatClientHandlerHandles a client-side channel.classSecureChatServerHandlerHandles 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 classTelnetClientHandlerHandles a client-side channel.classTelnetServerHandlerHandles 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 classUptimeClientHandlerKeep 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 classBase64DecoderclassBase64EncoderEncodes aChannelBufferinto 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 classJdkZlibEncoderCompresses aChannelBufferusing the deflate algorithm.classZlibDecoderDecompresses aChannelBufferusing the deflate algorithm.classZlibEncoderCompresses aChannelBufferusing the deflate algorithm. -
Uses of ChannelHandler in org.jboss.netty.handler.codec.embedder
Classes in org.jboss.netty.handler.codec.embedder that implement ChannelHandler Modifier and Type Class Description private classAbstractCodecEmbedder.EmbeddedChannelSinkMethods in org.jboss.netty.handler.codec.embedder with parameters of type ChannelHandler Modifier and Type Method Description private voidAbstractCodecEmbedder. configurePipeline(ChannelHandler... handlers)Constructors in org.jboss.netty.handler.codec.embedder with parameters of type ChannelHandler Constructor Description AbstractCodecEmbedder(ChannelBufferFactory bufferFactory, ChannelHandler... handlers)Creates a new embedder whose pipeline is composed of the specified handlers.AbstractCodecEmbedder(ChannelHandler... handlers)Creates a new embedder whose pipeline is composed of the specified handlers. -
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 classDelimiterBasedFrameDecoderA decoder that splits the receivedChannelBuffers by one or more delimiters.classFixedLengthFrameDecoderA decoder that splits the receivedChannelBuffers by the fixed number of bytes.classFrameDecoderDecodes the receivedChannelBuffers into a meaningful frame object.classLengthFieldBasedFrameDecoderA decoder that splits the receivedChannelBuffers dynamically by the value of the length field in the message.classLengthFieldPrependerAn encoder that prepends the length of the message.classLineBasedFrameDecoderA decoder that splits the receivedChannelBuffers on line endings.Methods in org.jboss.netty.handler.codec.frame with parameters of type ChannelHandler Modifier and Type Method Description voidFrameDecoder. replace(java.lang.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 classHttpChunkAggregatorAChannelHandlerthat aggregates anHttpMessageand its followingHttpChunks into a singleHttpMessagewith no followingHttpChunks.classHttpClientCodecA combination ofHttpRequestEncoderandHttpResponseDecoderwhich enables easier client side HTTP implementation.private classHttpClientCodec.Decoderprivate classHttpClientCodec.EncoderclassHttpContentCompressorCompresses anHttpMessageand anHttpChunkingzipordeflateencoding while respecting the"Accept-Encoding"header.classHttpContentDecoderDecodes the content of the receivedHttpRequestandHttpChunk.classHttpContentDecompressorclassHttpContentEncoderEncodes the content of the outboundHttpResponseandHttpChunk.classHttpMessageDecoderclassHttpMessageEncoderclassHttpRequestDecoderclassHttpRequestEncoderclassHttpResponseDecoderclassHttpResponseEncoderclassHttpServerCodecA combination ofHttpRequestDecoderandHttpResponseEncoderwhich 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 classWebSocket00FrameDecoderDecodesChannelBuffers intoWebSocketFrames.classWebSocket00FrameEncoderEncodes aWebSocketFrameinto aChannelBuffer.classWebSocket07FrameDecoderDecodes a web socket frame from wire protocol version 7 format.classWebSocket07FrameEncoderEncodes a web socket frame into wire protocol version 7 format.classWebSocket08FrameDecoderDecodes a web socket frame from wire protocol version 8 format.classWebSocket08FrameEncoderEncodes a web socket frame into wire protocol version 8 format.classWebSocket13FrameDecoderDecodes a web socket frame from wire protocol version 13 format.classWebSocket13FrameEncoderEncodes a web socket frame into wire protocol version 13 format.classWebSocketFrameAggregatorHandler that aggregate fragmented WebSocketFrame's.classWebSocketServerProtocolHandlerHandles WebSocket control frames (Close, Ping, Pong) and data frames (Text and Binary) are passed to the next handler in the pipeline.classWebSocketServerProtocolHandshakeHandlerHandles the HTTP handshake (the HTTP Upgrade request)Methods in org.jboss.netty.handler.codec.http.websocketx that return ChannelHandler Modifier and Type Method Description (package private) static ChannelHandlerWebSocketServerProtocolHandler. forbiddenHttpRequestResponder()Methods in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelHandler Modifier and Type Method Description (package private) static voidWebSocketClientHandshaker. replaceDecoder(Channel channel, ChannelHandler wsDecoder)Replace the HTTP decoder with a new Web Socket decoder.protected ChannelFutureWebSocketServerHandshaker. 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 classCompatibleMarshallingDecoderclassCompatibleMarshallingEncoderOneToOneEncoderimplementation which uses JBoss Marshalling to marshal an Object.classMarshallingDecoderDecoder which MUST be used withMarshallingEncoder.classMarshallingEncoderOneToOneEncoderimplementation 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 classOneToOneDecoderTransforms a received message into another message.classOneToOneEncoderTransforms a write request into another write request.classOneToOneStrictEncoderSpecialOneToOneEncoderwhich 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 classProtobufDecoderclassProtobufEncoderclassProtobufVarint32FrameDecoderA decoder that splits the receivedChannelBuffers dynamically by the value of the Google Protocol Buffers Base 128 Varints integer length field in the message.classProtobufVarint32LengthFieldPrependerAn 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 classReplayingDecoder<T extends java.lang.Enum<T>>A specialized variation ofFrameDecoderwhich 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 classRtspMessageDecoderDecodesChannelBuffers into RTSP messages represented inHttpMessages.classRtspMessageEncoderEncodes an RTSP message represented inHttpMessageinto aChannelBuffer.classRtspRequestDecoderDecodesChannelBuffers into RTSP requests represented inHttpRequests.classRtspRequestEncoderEncodes an RTSP request represented inHttpRequestinto aChannelBuffer.classRtspResponseDecoderDecodesChannelBuffers into RTSP responses represented inHttpResponses.classRtspResponseEncoderEncodes an RTSP response represented inHttpResponseinto 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 classCompatibleObjectEncoderAn encoder which serializes a Java object into aChannelBuffer(interoperability version).classObjectDecoderA decoder which deserializes the receivedChannelBuffers into Java objects.classObjectEncoderAn 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 classSocksAuthRequestDecoderDecodesChannelBuffers intoSocksAuthRequest.classSocksAuthResponseDecoderDecodesChannelBuffers intoSocksAuthResponse.classSocksCmdRequestDecoderDecodesChannelBuffers intoSocksCmdRequest.classSocksCmdResponseDecoderDecodesChannelBuffers intoSocksCmdResponse.classSocksInitRequestDecoderDecodesChannelBuffers intoSocksInitRequest.classSocksInitResponseDecoderDecodesChannelBuffers intoSocksInitResponse.classSocksMessageEncoderEncodes anSocksMessageinto 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 classSpdyFrameCodecAChannelHandlerthat encodes and decodes SPDY Frames.classSpdyHttpCodecA combination ofSpdyHttpDecoderandSpdyHttpEncoderclassSpdyHttpDecoderDecodesSpdySynStreamFrames,SpdySynReplyFrames, andSpdyDataFrames intoHttpRequests andHttpResponses.classSpdyHttpEncoderEncodesHttpRequests,HttpResponses, andHttpChunks intoSpdySynStreamFrames andSpdySynReplyFrames.classSpdyHttpResponseStreamIdHandlerSimpleChannelHandlerthat takes care of adding the right streamId to theHttpResponseif one is not present.classSpdyOrHttpChooserChannelUpstreamHandlerwhich is responsible to setup theChannelPipelineeither for HTTP or SPDY.classSpdySessionHandlerManages 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 classStringDecoderDecodes a receivedChannelBufferinto aString.classStringEncoderEncodes the requestedStringinto 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 classExecutionHandlerForwards an upstreamChannelEventto 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 classIpFilteringHandlerImplGeneral class that handle Ip Filtering.classIpFilterRuleHandlerImplementation of Filter of IP based on ALLOW and DENY rules.
This implementation could be changed by implementing a newIpFilterRulethan 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.
EachIpFilterRuleanswers to the method accept if theInetAddressis accepted or not, according to its implementation.classOneIpFilterHandlerHandler 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 classLoggingHandlerAChannelHandlerthat 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 classBlockingReadHandler<E>Emulates blocking read operation.classBufferedWriteHandlerEmulates 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 classSslHandler -
Uses of ChannelHandler in org.jboss.netty.handler.stream
Classes in org.jboss.netty.handler.stream that implement ChannelHandler Modifier and Type Class Description classChunkedWriteHandlerAChannelHandlerthat 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 classIdleStateAwareChannelHandlerAn extendedSimpleChannelHandlerthat adds the handler method for anIdleStateEvent.classIdleStateAwareChannelUpstreamHandlerAn extendedSimpleChannelUpstreamHandlerthat adds the handler method for anIdleStateEvent.classIdleStateHandlerTriggers anIdleStateEventwhen aChannelhas not performed read, write, or both operation for a while.classReadTimeoutHandlerRaises aReadTimeoutExceptionwhen no data was read within a certain period of time.classWriteTimeoutHandlerRaises aWriteTimeoutExceptionwhen 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 classAbstractTrafficShapingHandlerAbstractTrafficShapingHandler allows to limit the global bandwidth (seeGlobalTrafficShapingHandler) or per session bandwidth (seeChannelTrafficShapingHandler), as traffic shaping.classChannelTrafficShapingHandlerThis implementation of theAbstractTrafficShapingHandleris for channel traffic shaping, that is to say a per channel limitation of the bandwidth.classGlobalChannelTrafficShapingHandlerThis implementation of theAbstractTrafficShapingHandleris 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.classGlobalTrafficShapingHandlerThis implementation of theAbstractTrafficShapingHandleris for global traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels.
-