Uses of Class
io.netty.channel.ChannelHandlerAdapter
-
Packages that use ChannelHandlerAdapter Package Description io.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty.handler.address Package to dynamically replace local / remoteSocketAddress.io.netty.handler.codec Extensible decoder and its common implementations which deal with the packet fragmentation and reassembly issue found in a stream-based transport such as TCP/IP.io.netty.handler.codec.base64 io.netty.handler.codec.bytes Encoder and decoder which transform an array of bytes into aByteBufand vice versa.io.netty.handler.codec.compression io.netty.handler.codec.dns DNS codec.io.netty.handler.codec.haproxy Decodes an HAProxy proxy protocol headerio.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.http.cors This package contains Cross Origin Resource Sharing (CORS) related classes.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http.websocketx.extensions Encoder, decoder, handshakers to handle WebSocket Extensions.io.netty.handler.codec.http.websocketx.extensions.compression Encoder, decoder, handshakers to handle most common WebSocket Compression Extensions.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.codec.http3 HTTP/3 implementation.io.netty.handler.codec.json JSON specific codecs.io.netty.handler.codec.marshalling Decoder and Encoder which uses JBoss Marshalling.io.netty.handler.codec.memcache Common superset of ascii and binary classes.io.netty.handler.codec.memcache.binary Implementations and Interfaces for the Memcache Binary protocol.io.netty.handler.codec.mqtt Encoder, decoder and different Message Types for MQTT.io.netty.handler.codec.protobuf Encoder and decoder which transform a Google Protocol BuffersMessageandMessageNanointo aByteBufand vice versa.io.netty.handler.codec.quic QUIC implementationio.netty.handler.codec.redis Encoder, decoder for Redis.io.netty.handler.codec.rtsp An RTSP extension based on the HTTP codec.io.netty.handler.codec.sctp Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.io.netty.handler.codec.serialization Encoder, decoder and their compatibility stream implementations which transform aSerializableobject into a byte buffer and vice versa.io.netty.handler.codec.smtp SMTP codec.io.netty.handler.codec.socks Encoder, decoder and their related message types for Socks.io.netty.handler.codec.socksx Encoder, decoder and their related message types for SOCKS protocol.io.netty.handler.codec.socksx.v4 Encoder, decoder and their related message types for SOCKSv4 protocol.io.netty.handler.codec.socksx.v5 Encoder, decoder and their related message types for SOCKSv5 protocol.io.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.io.netty.handler.codec.stomp STOMP codecio.netty.handler.codec.string Encoder and decoder which transform aStringinto aByteBufand vice versa.io.netty.handler.codec.xml XML codec provides asynchronous and non-blocking XML parser based on the Aalto XML parser.io.netty.handler.flow Package to control the flow of messages.io.netty.handler.flush Package to control flush behavior.io.netty.handler.ipfilter Package to filter IP addresses (allow/deny).io.netty.handler.logging Logs the I/O events for debugging purpose.io.netty.handler.pcap Capture data and write into Pcap format which helps in troubleshooting.io.netty.handler.proxy Adds support for client connections via proxy protocols such as SOCKS and HTTP CONNECT tunnelingio.netty.handler.ssl SSL · TLS implementation based onSSLEngineio.netty.handler.ssl.ocsp Certificate validation using OCSPio.netty.handler.stream Writes very large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError.io.netty.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer.io.netty.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics. -
-
Uses of ChannelHandlerAdapter in io.netty.channel
Subclasses of ChannelHandlerAdapter in io.netty.channel Modifier and Type Class Description classChannelDuplexHandlerChannelHandlerimplementation which represents a combination out of aChannelInboundHandlerand theChannelOutboundHandler.classChannelInboundHandlerAdapterAbstract base class forChannelInboundHandlerimplementations which provide implementations of all of their methods.classChannelInitializer<C extends Channel>A specialChannelInboundHandlerwhich offers an easy way to initialize aChannelonce it was registered to itsEventLoop.classChannelOutboundHandlerAdapterSkeleton implementation of aChannelOutboundHandler.classCombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>classSimpleChannelInboundHandler<I>ChannelInboundHandlerAdapterwhich allows to explicit only handle a specific type of messages.classSimpleUserEventChannelHandler<I>ChannelInboundHandlerAdapterwhich allows to conveniently only handle a specific type of user events. -
Uses of ChannelHandlerAdapter in io.netty.handler.address
Subclasses of ChannelHandlerAdapter in io.netty.handler.address Modifier and Type Class Description classDynamicAddressConnectHandlerChannelOutboundHandlerimplementation which allows to dynamically replace the usedremoteAddressand / orlocalAddresswhen making a connection attempt.classResolveAddressHandlerChannelOutboundHandlerAdapterwhich will resolve theSocketAddressthat is passed toResolveAddressHandler.connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise)if it is not already resolved and theAddressResolversupports the type ofSocketAddress. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec Modifier and Type Class Description classByteToMessageCodec<I>A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.classByteToMessageDecoderChannelInboundHandlerAdapterwhich decodes bytes in a stream-like fashion from oneByteBufto an other Message type.classDatagramPacketDecoderA decoder that decodes the content of the receivedDatagramPacketusing the specifiedByteBufdecoder.classDatagramPacketEncoder<M>An encoder that encodes the content inAddressedEnvelopetoDatagramPacketusing the specified message encoder.classDelimiterBasedFrameDecoderA decoder that splits the receivedByteBufs by one or more delimiters.classFixedLengthFrameDecoderA decoder that splits the receivedByteBufs by the fixed number of bytes.classLengthFieldBasedFrameDecoderA decoder that splits the receivedByteBufs 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 receivedByteBufs on line endings.classMessageAggregator<I,S,C extends ByteBufHolder,O extends ByteBufHolder>An abstractChannelHandlerthat aggregates a series of message objects into a single aggregated message.classMessageToByteEncoder<I>ChannelOutboundHandlerAdapterwhich encodes message in a stream-like fashion from one message to anByteBuf.classMessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>A Codec for on-the-fly encoding/decoding of message.classMessageToMessageDecoder<I>ChannelInboundHandlerAdapterwhich decodes from one message to an other message.classMessageToMessageEncoder<I>ChannelOutboundHandlerAdapterwhich encodes from one message to an other message For example here is an implementation which decodes anIntegerto anString.classReplayingDecoder<S>A specialized variation ofByteToMessageDecoderwhich enables implementation of a non-blocking decoder in the blocking I/O paradigm. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.base64
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.base64 Modifier and Type Class Description classBase64DecoderclassBase64Encoder -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.bytes
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.bytes Modifier and Type Class Description classByteArrayDecoderDecodes a receivedByteBufinto an array of bytes.classByteArrayEncoderEncodes the requested array of bytes into aByteBuf. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.compression
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.compression Modifier and Type Class Description classBrotliDecoderDecompresses aByteBufencoded with the brotli format.classBrotliEncoderCompress aByteBufwith the Brotli compression.classBzip2DecoderUncompresses aByteBufencoded with the Bzip2 format.classBzip2EncoderCompresses aByteBufusing the Bzip2 algorithm.classFastLzFrameDecoderUncompresses aByteBufencoded byFastLzFrameEncoderusing the FastLZ algorithm.classFastLzFrameEncoderCompresses aByteBufusing the FastLZ algorithm.classJdkZlibDecoderDecompress aByteBufusing the inflate algorithm.classJdkZlibEncoderCompresses aByteBufusing the deflate algorithm.classJZlibDecoderclassJZlibEncoderCompresses aByteBufusing the deflate algorithm.classLz4FrameDecoderUncompresses aByteBufencoded with the LZ4 format.classLz4FrameEncoderCompresses aByteBufusing the LZ4 format.classLzfDecoderUncompresses aByteBufencoded with the LZF format.classLzfEncoderCompresses aByteBufusing the LZF format.classLzmaFrameEncoderCompresses aByteBufusing the LZMA algorithm.classSnappyFramedDecoderDeprecated.UseSnappyFrameDecoderinstead.classSnappyFrameDecoderUncompresses aByteBufencoded with the Snappy framing format.classSnappyFramedEncoderDeprecated.UseSnappyFrameEncoderinstead.classSnappyFrameEncoderCompresses aByteBufusing the Snappy framing format.classZlibDecoderDecompresses aByteBufusing the deflate algorithm.classZlibEncoderCompresses aByteBufusing the deflate algorithm.classZstdDecoderDecompresses a compressed blockByteBufusing the Zstandard algorithm.classZstdEncoderCompresses aByteBufusing the Zstandard algorithm. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.dns
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.dns Modifier and Type Class Description classDatagramDnsQueryDecoderDecodes aDatagramPacketinto aDatagramDnsQuery.classDatagramDnsQueryEncoderclassDatagramDnsResponseDecoderDecodes aDatagramPacketinto aDatagramDnsResponse.classDatagramDnsResponseEncoderclassTcpDnsQueryDecoderclassTcpDnsQueryEncoderclassTcpDnsResponseDecoderclassTcpDnsResponseEncoder -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.haproxy
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.haproxy Modifier and Type Class Description classHAProxyMessageDecoderDecodes an HAProxy proxy protocol headerclassHAProxyMessageEncoderEncodes an HAProxy proxy protocol message -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.http
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.http Modifier and Type Class Description classHttpClientCodecA combination ofHttpRequestEncoderandHttpResponseDecoderwhich enables easier client side HTTP implementation.classHttpClientUpgradeHandlerClient-side handler for handling an HTTP upgrade handshake to another protocol.classHttpContentCompressorCompresses anHttpMessageand anHttpContentingzipordeflateencoding while respecting the"Accept-Encoding"header.classHttpContentDecoderDecodes the content of the receivedHttpRequestandHttpContent.classHttpContentDecompressorclassHttpContentEncoderEncodes the content of the outboundHttpResponseandHttpContent.classHttpObjectAggregatorAChannelHandlerthat aggregates anHttpMessageand its followingHttpContents into a singleFullHttpRequestorFullHttpResponse(depending on if it used to handle requests or responses) with no followingHttpContents.classHttpObjectDecoderclassHttpObjectEncoder<H extends HttpMessage>classHttpRequestDecoderclassHttpRequestEncoderclassHttpResponseDecoderclassHttpResponseEncoderclassHttpServerCodecA combination ofHttpRequestDecoderandHttpResponseEncoderwhich enables easier server side HTTP implementation.classHttpServerExpectContinueHandlerclassHttpServerKeepAliveHandlerHttpServerKeepAliveHandler helps close persistent connections when appropriate.classHttpServerUpgradeHandlerA server-side handler that receives HTTP requests and optionally performs a protocol switch if the requested protocol is supported. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.http.cors
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.http.cors Modifier and Type Class Description classCorsHandlerHandles Cross Origin Resource Sharing (CORS) requests. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.http.websocketx
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.http.websocketx Modifier and Type Class Description classUtf8FrameValidatorclassWebSocket00FrameDecoderDecodesByteBufs intoWebSocketFrames.classWebSocket00FrameEncoderEncodes aWebSocketFrameinto aByteBuf.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.classWebSocketClientProtocolHandlerThis handler does all the heavy lifting for you to run a websocket client.classWebSocketFrameAggregatorHandler that aggregate fragmented WebSocketFrame's.classWebSocketServerProtocolHandlerThis handler does all the heavy lifting for you to run a websocket server. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.http.websocketx.extensions
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.http.websocketx.extensions Modifier and Type Class Description classWebSocketClientExtensionHandlerThis handler negotiates and initializes the WebSocket Extensions.classWebSocketExtensionDecoderConvenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension decoder.classWebSocketExtensionEncoderConvenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension encoder.classWebSocketServerExtensionHandlerThis handler negotiates and initializes the WebSocket Extensions. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.http.websocketx.extensions.compression
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.http.websocketx.extensions.compression Modifier and Type Class Description classWebSocketClientCompressionHandlerExtends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler to handle the most common WebSocket Compression Extensions.classWebSocketServerCompressionHandlerExtends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerExtensionHandler to handle the most common WebSocket Compression Extensions. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.http2
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.http2 Modifier and Type Class Description classCleartextHttp2ServerUpgradeHandlerPerforming cleartext upgrade, by h2c HTTP upgrade or Prior Knowledge.classHttp2ChannelDuplexHandlerAChannelDuplexHandlerproviding additional functionality for HTTP/2.classHttp2ConnectionHandlerProvides the default implementation for processing inbound frame events and delegates to aHttp2FrameListenerclassHttp2FrameCodecAn HTTP/2 handler that maps HTTP/2 frames toHttp2Frameobjects and vice versa.classHttp2FrameLoggerLogs HTTP2 frames for debugging purposes.classHttp2MultiplexCodecDeprecated.useHttp2FrameCodecBuildertogether withHttp2MultiplexHandler.classHttp2MultiplexHandlerAn HTTP/2 handler that creates child channels for each stream.classHttp2StreamFrameToHttpObjectCodecThis handler converts fromHttp2StreamFrametoHttpObject, and back.classHttpToHttp2ConnectionHandlerTranslates HTTP/1.x object writes into HTTP/2 frames.classInboundHttpToHttp2AdapterTranslates HTTP/1.x object reads into HTTP/2 frames. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.http3
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.http3 Modifier and Type Class Description classHttp3ClientConnectionHandlerclassHttp3ConnectionHandlerHandler that handles HTTP3 connections.classHttp3FrameToHttpObjectCodecThis handler converts fromHttp3RequestStreamFrametoHttpObject, and back.classHttp3PushStreamClientInitializerAbstract base class that users can extend to init HTTP/3 push-streams for clients.classHttp3PushStreamServerInitializerAbstract base class that users can extend to init HTTP/3 push-streams for servers.classHttp3RequestStreamInboundHandlerChannelInboundHandlerAdapterwhich makes it easy to handle HTTP3 request streams.classHttp3RequestStreamInitializerAbstract base class that users can extend to init HTTP/3 request-streams.classHttp3ServerConnectionHandlerHandler that handles HTTP3 for the server-side. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.json
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.json Modifier and Type Class Description classJsonObjectDecoderSplits a byte stream of JSON objects and arrays into individual objects/arrays and passes them up theChannelPipeline. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.marshalling
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.marshalling Modifier and Type Class Description classCompatibleMarshallingDecoderclassCompatibleMarshallingEncoderMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal an Object.classMarshallingDecoderDecoder which MUST be used withMarshallingEncoder.classMarshallingEncoderMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal an Object. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.memcache
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.memcache Modifier and Type Class Description classAbstractMemcacheObjectAggregator<H extends MemcacheMessage>AChannelHandlerthat aggregates anMemcacheMessageand its followingMemcacheContents into a singleMemcacheMessagewith no followingMemcacheContents.classAbstractMemcacheObjectDecoderAbstract super class for both ascii and binary decoders.classAbstractMemcacheObjectEncoder<M extends MemcacheMessage>A general purposeAbstractMemcacheObjectEncoderthat encodesMemcacheMessages. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.memcache.binary
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.memcache.binary Modifier and Type Class Description classAbstractBinaryMemcacheDecoder<M extends BinaryMemcacheMessage>Decoder for bothBinaryMemcacheRequestandBinaryMemcacheResponse.classAbstractBinaryMemcacheEncoder<M extends BinaryMemcacheMessage>AMessageToByteEncoderthat encodes binary memcache messages into bytes.classBinaryMemcacheClientCodecThe client codec that combines the proper encoder and decoder.classBinaryMemcacheObjectAggregatorAn object aggregator for the memcache binary protocol.classBinaryMemcacheRequestDecoderThe decoder part which takes care of decoding the request-specific headers.classBinaryMemcacheRequestEncoderThe encoder part which takes care of encoding the request headers.classBinaryMemcacheResponseDecoderThe decoder which takes care of decoding the response headers.classBinaryMemcacheResponseEncoderThe encoder which takes care of encoding the response headers.classBinaryMemcacheServerCodecThe full server codec that combines the correct encoder and decoder. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.mqtt
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.mqtt Modifier and Type Class Description classMqttDecoderclassMqttEncoder -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.protobuf
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.protobuf Modifier and Type Class Description classProtobufDecoderclassProtobufDecoderNanoclassProtobufEncoderclassProtobufEncoderNanoclassProtobufVarint32FrameDecoderA decoder that splits the receivedByteBufs dynamically by the value of the Google Protocol Buffers Base 128 Varints integer length field in the message.classProtobufVarint32LengthFieldPrependerAn encoder that prepends the Google Protocol Buffers Base 128 Varints integer length field. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.quic
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.quic Modifier and Type Class Description classQuicCodecDispatcherSpecialChannelHandlerthat should be used to initChannels that will be used for QUIC while SO_REUSEPORT is used to bind to sameInetSocketAddressmultiple times. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.redis
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.redis Modifier and Type Class Description classRedisArrayAggregatorAggregatesRedisMessageparts intoArrayRedisMessage.classRedisBulkStringAggregatorAChannelHandlerthat aggregates anBulkStringHeaderRedisMessageand its followingBulkStringRedisContents into a singleFullBulkStringRedisMessagewith no followingBulkStringRedisContents.classRedisDecoderDecodes the Redis protocol intoRedisMessageobjects following RESP (REdis Serialization Protocol).classRedisEncoderEncodesRedisMessageinto bytes following RESP (REdis Serialization Protocol). -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.rtsp
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.rtsp Modifier and Type Class Description classRtspDecoderDecodesByteBufs into RTSP messages represented inHttpMessages.classRtspEncoderclassRtspObjectDecoderDeprecated.UseRtspDecoderinstead.classRtspObjectEncoder<H extends HttpMessage>Deprecated.UseRtspEncoderinstead.classRtspRequestDecoderDeprecated.UseRtspDecoderdirectly insteadclassRtspRequestEncoderDeprecated.UseRtspEncoderdirectly insteadclassRtspResponseDecoderDeprecated.UseRtspDecoderdirectly insteadclassRtspResponseEncoderDeprecated.UseRtspEncoderdirectly instead -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.sctp
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.sctp Modifier and Type Class Description classSctpInboundByteStreamHandlerA ChannelHandler which receivesSctpMessages which belong to a application protocol form a specific SCTP Stream and decode it asByteBuf.classSctpMessageCompletionHandlerMessageToMessageDecoderwhich will take care of handle fragmentedSctpMessages, so only completeSctpMessages will be forwarded to the nextChannelInboundHandler.classSctpMessageToMessageDecoderclassSctpOutboundByteStreamHandlerA ChannelHandler which transformByteBuftoSctpMessageand send it through a specific stream with given protocol identifier. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.serialization
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.serialization Modifier and Type Class Description classCompatibleObjectEncoderDeprecated.This class has been deprecated with no replacement, because serialization can be a security liabilityclassObjectDecoderDeprecated.This class has been deprecated with no replacement, because serialization can be a security liabilityclassObjectEncoderDeprecated.This class has been deprecated with no replacement, because serialization can be a security liability -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.smtp
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.smtp Modifier and Type Class Description classSmtpRequestEncoderEncoder for SMTP requests.classSmtpResponseDecoderDecoder for SMTP responses. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.socks
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.socks Modifier and Type Class Description classSocksAuthRequestDecoderDecodesByteBufs intoSocksAuthRequest.classSocksAuthResponseDecoderDecodesByteBufs intoSocksAuthResponse.classSocksCmdRequestDecoderDecodesByteBufs intoSocksCmdRequest.classSocksCmdResponseDecoderDecodesByteBufs intoSocksCmdResponse.classSocksInitRequestDecoderDecodesByteBufs intoSocksInitRequest.classSocksInitResponseDecoderDecodesByteBufs intoSocksInitResponse.classSocksMessageEncoderEncodes anSocksMessageinto aByteBuf. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.socksx
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.socksx Modifier and Type Class Description classSocksPortUnificationServerHandlerDetects the version of the current SOCKS connection and initializes the pipeline withSocks4ServerDecoderorSocks5InitialRequestDecoder. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.socksx.v4
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.socksx.v4 Modifier and Type Class Description classSocks4ClientDecoderDecodes a singleSocks4CommandResponsefrom the inboundByteBufs.classSocks4ClientEncoderEncodes aSocks4CommandRequestinto aByteBuf.classSocks4ServerDecoderDecodes a singleSocks4CommandRequestfrom the inboundByteBufs.classSocks4ServerEncoderEncodes aSocks4CommandResponseinto aByteBuf. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.socksx.v5
-
Uses of ChannelHandlerAdapter in io.netty.handler.codec.spdy
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.spdy Modifier and Type Class Description classSpdyFrameCodecAChannelHandlerthat encodes and decodes SPDY Frames.classSpdyHttpCodecA combination ofSpdyHttpDecoderandSpdyHttpEncoderclassSpdyHttpDecoderDecodesSpdySynStreamFrames,SpdySynReplyFrames, andSpdyDataFrames intoFullHttpRequests andFullHttpResponses.classSpdyHttpEncoderEncodesHttpRequests,HttpResponses, andHttpContents intoSpdySynStreamFrames andSpdySynReplyFrames.classSpdyHttpResponseStreamIdHandlerMessageToMessageCodecthat takes care of adding the rightSpdyHttpHeaders.Names.STREAM_IDto theHttpMessageif one is not present.classSpdySessionHandlerManages streams within a SPDY session. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.stomp
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.stomp Modifier and Type Class Description classStompSubframeAggregatorAChannelHandlerthat aggregates anStompHeadersSubframeand its followingStompContentSubframes into a singleStompFrame.classStompSubframeDecoderclassStompSubframeEncoder -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.string
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.string Modifier and Type Class Description classLineEncoderApply a line separator to the requestedStringand encode it into aByteBuf.classStringDecoderDecodes a receivedByteBufinto aString.classStringEncoderEncodes the requestedStringinto aByteBuf. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.xml
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.xml Modifier and Type Class Description classXmlDecoderAsync XML decoder based on Aalto XML parser.classXmlFrameDecoderA frame decoder for single separate XML based message streams. -
Uses of ChannelHandlerAdapter in io.netty.handler.flow
Subclasses of ChannelHandlerAdapter in io.netty.handler.flow Modifier and Type Class Description classFlowControlHandlerTheFlowControlHandlerensures that only one message perread()is sent downstream. -
Uses of ChannelHandlerAdapter in io.netty.handler.flush
Subclasses of ChannelHandlerAdapter in io.netty.handler.flush Modifier and Type Class Description classFlushConsolidationHandlerChannelDuplexHandlerwhich consolidatesChannel.flush()/ChannelHandlerContext.flush()operations (which also includesChannel.writeAndFlush(Object)/Channel.writeAndFlush(Object, ChannelPromise)andChannelOutboundInvoker.writeAndFlush(Object)/ChannelOutboundInvoker.writeAndFlush(Object, ChannelPromise)). -
Uses of ChannelHandlerAdapter in io.netty.handler.ipfilter
Subclasses of ChannelHandlerAdapter in io.netty.handler.ipfilter Modifier and Type Class Description classAbstractRemoteAddressFilter<T extends java.net.SocketAddress>This class provides the functionality to either accept or reject newChannels based on their IP address.classIpSubnetFilterThis class allows one to filter newChannels based on theIpSubnetFilters passed to its constructor.classRuleBasedIpFilterThis class allows one to filter newChannels based on theIpFilterRules passed to its constructor.classUniqueIpFilterThis class allows one to ensure that at all times for every IP address there is at most oneChannelconnected to the server. -
Uses of ChannelHandlerAdapter in io.netty.handler.logging
Subclasses of ChannelHandlerAdapter in io.netty.handler.logging Modifier and Type Class Description classLoggingHandlerAChannelHandlerthat logs all events using a logging framework. -
Uses of ChannelHandlerAdapter in io.netty.handler.pcap
Subclasses of ChannelHandlerAdapter in io.netty.handler.pcap Modifier and Type Class Description classPcapWriteHandlerPcapWriteHandlercapturesByteBuffromSocketChannel/ServerChannelorDatagramPacketand writes it into PcapOutputStream. -
Uses of ChannelHandlerAdapter in io.netty.handler.proxy
Subclasses of ChannelHandlerAdapter in io.netty.handler.proxy Modifier and Type Class Description classHttpProxyHandlerHandler that establishes a blind forwarding proxy tunnel using HTTP/1.1 CONNECT request.classProxyHandlerA common abstraction for protocols that establish blind forwarding proxy tunnels.classSocks4ProxyHandlerHandler that establishes a blind forwarding proxy tunnel using SOCKS4 protocol.classSocks5ProxyHandlerHandler that establishes a blind forwarding proxy tunnel using SOCKS Protocol Version 5. -
Uses of ChannelHandlerAdapter in io.netty.handler.ssl
Subclasses of ChannelHandlerAdapter in io.netty.handler.ssl Modifier and Type Class Description classAbstractSniHandler<T>Enables SNI (Server Name Indication) extension for server side SSL.classApplicationProtocolNegotiationHandlerConfigures aChannelPipelinedepending on the application-level protocol negotiation result ofSslHandler.classOptionalSslHandlerOptionalSslHandleris a utility decoder to support both SSL and non-SSL handlers based on the first message received.classSniHandlerEnables SNI (Server Name Indication) extension for server side SSL.classSslClientHelloHandler<T>ByteToMessageDecoderwhich allows to be notified once a fullClientHellowas received.classSslHandlerclassSslMasterKeyHandlerTheSslMasterKeyHandleris a channel-handler you can include in your pipeline to consume the master key & session identifier for a TLS session. -
Uses of ChannelHandlerAdapter in io.netty.handler.ssl.ocsp
Subclasses of ChannelHandlerAdapter in io.netty.handler.ssl.ocsp Modifier and Type Class Description classOcspClientHandlerA handler for SSL clients to handle and act upon stapled OCSP responses.classOcspServerCertificateValidatorOcspServerCertificateValidatorvalidates incoming server's certificate using OCSP. -
Uses of ChannelHandlerAdapter in io.netty.handler.stream
Subclasses of ChannelHandlerAdapter in io.netty.handler.stream 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 ChannelHandlerAdapter in io.netty.handler.timeout
Subclasses of ChannelHandlerAdapter in io.netty.handler.timeout Modifier and Type Class Description 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 a write operation cannot finish in a certain period of time. -
Uses of ChannelHandlerAdapter in io.netty.handler.traffic
Subclasses of ChannelHandlerAdapter in io.netty.handler.traffic 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.
-