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 aByteBuf
and 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.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 BuffersMessage
andMessageNano
into aByteBuf
and vice versa.io.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 aSerializable
object 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 aString
into aByteBuf
and 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 onSSLEngine
io.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 class
ChannelDuplexHandler
ChannelHandler
implementation which represents a combination out of aChannelInboundHandler
and theChannelOutboundHandler
.class
ChannelInboundHandlerAdapter
Abstract base class forChannelInboundHandler
implementations which provide implementations of all of their methods.class
ChannelInitializer<C extends Channel>
A specialChannelInboundHandler
which offers an easy way to initialize aChannel
once it was registered to itsEventLoop
.class
ChannelOutboundHandlerAdapter
Skeleton implementation of aChannelOutboundHandler
.class
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler>
class
SimpleChannelInboundHandler<I>
ChannelInboundHandlerAdapter
which allows to explicit only handle a specific type of messages.class
SimpleUserEventChannelHandler<I>
ChannelInboundHandlerAdapter
which 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 class
DynamicAddressConnectHandler
ChannelOutboundHandler
implementation which allows to dynamically replace the usedremoteAddress
and / orlocalAddress
when making a connection attempt.class
ResolveAddressHandler
ChannelOutboundHandlerAdapter
which will resolve theSocketAddress
that is passed toResolveAddressHandler.connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise)
if it is not already resolved and theAddressResolver
supports the type ofSocketAddress
. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec Modifier and Type Class Description class
ByteToMessageCodec<I>
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.class
ByteToMessageDecoder
ChannelInboundHandlerAdapter
which decodes bytes in a stream-like fashion from oneByteBuf
to an other Message type.class
DatagramPacketDecoder
A decoder that decodes the content of the receivedDatagramPacket
using the specifiedByteBuf
decoder.class
DatagramPacketEncoder<M>
An encoder that encodes the content inAddressedEnvelope
toDatagramPacket
using the specified message encoder.class
DelimiterBasedFrameDecoder
A decoder that splits the receivedByteBuf
s by one or more delimiters.class
FixedLengthFrameDecoder
A decoder that splits the receivedByteBuf
s by the fixed number of bytes.class
LengthFieldBasedFrameDecoder
A decoder that splits the receivedByteBuf
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 receivedByteBuf
s on line endings.class
MessageAggregator<I,S,C extends ByteBufHolder,O extends ByteBufHolder>
An abstractChannelHandler
that aggregates a series of message objects into a single aggregated message.class
MessageToByteEncoder<I>
ChannelOutboundHandlerAdapter
which encodes message in a stream-like fashion from one message to anByteBuf
.class
MessageToMessageCodec<INBOUND_IN,OUTBOUND_IN>
A Codec for on-the-fly encoding/decoding of message.class
MessageToMessageDecoder<I>
ChannelInboundHandlerAdapter
which decodes from one message to an other message.class
MessageToMessageEncoder<I>
ChannelOutboundHandlerAdapter
which encodes from one message to an other message For example here is an implementation which decodes anInteger
to anString
.class
ReplayingDecoder<S>
A specialized variation ofByteToMessageDecoder
which 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 class
Base64Decoder
class
Base64Encoder
-
Uses of ChannelHandlerAdapter in io.netty.handler.codec.bytes
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.bytes Modifier and Type Class Description class
ByteArrayDecoder
Decodes a receivedByteBuf
into an array of bytes.class
ByteArrayEncoder
Encodes 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 class
BrotliDecoder
Decompresses aByteBuf
encoded with the brotli format.class
BrotliEncoder
Compress aByteBuf
with the Brotli compression.class
Bzip2Decoder
Uncompresses aByteBuf
encoded with the Bzip2 format.class
Bzip2Encoder
Compresses aByteBuf
using the Bzip2 algorithm.class
FastLzFrameDecoder
Uncompresses aByteBuf
encoded byFastLzFrameEncoder
using the FastLZ algorithm.class
FastLzFrameEncoder
Compresses aByteBuf
using the FastLZ algorithm.class
JdkZlibDecoder
Decompress aByteBuf
using the inflate algorithm.class
JdkZlibEncoder
Compresses aByteBuf
using the deflate algorithm.class
JZlibDecoder
class
JZlibEncoder
Compresses aByteBuf
using the deflate algorithm.class
Lz4FrameDecoder
Uncompresses aByteBuf
encoded with the LZ4 format.class
Lz4FrameEncoder
Compresses aByteBuf
using the LZ4 format.class
LzfDecoder
Uncompresses aByteBuf
encoded with the LZF format.class
LzfEncoder
Compresses aByteBuf
using the LZF format.class
LzmaFrameEncoder
Compresses aByteBuf
using the LZMA algorithm.class
SnappyFramedDecoder
Deprecated.UseSnappyFrameDecoder
instead.class
SnappyFrameDecoder
Uncompresses aByteBuf
encoded with the Snappy framing format.class
SnappyFramedEncoder
Deprecated.UseSnappyFrameEncoder
instead.class
SnappyFrameEncoder
Compresses aByteBuf
using the Snappy framing format.class
ZlibDecoder
Decompresses aByteBuf
using the deflate algorithm.class
ZlibEncoder
Compresses aByteBuf
using the deflate algorithm.class
ZstdDecoder
Decompresses a compressed blockByteBuf
using the Zstandard algorithm.class
ZstdEncoder
Compresses aByteBuf
using 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 class
DatagramDnsQueryDecoder
Decodes aDatagramPacket
into aDatagramDnsQuery
.class
DatagramDnsQueryEncoder
class
DatagramDnsResponseDecoder
Decodes aDatagramPacket
into aDatagramDnsResponse
.class
DatagramDnsResponseEncoder
class
TcpDnsQueryDecoder
class
TcpDnsQueryEncoder
class
TcpDnsResponseDecoder
class
TcpDnsResponseEncoder
-
Uses of ChannelHandlerAdapter in io.netty.handler.codec.haproxy
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.haproxy Modifier and Type Class Description class
HAProxyMessageDecoder
Decodes an HAProxy proxy protocol headerclass
HAProxyMessageEncoder
Encodes 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 class
HttpClientCodec
A combination ofHttpRequestEncoder
andHttpResponseDecoder
which enables easier client side HTTP implementation.class
HttpClientUpgradeHandler
Client-side handler for handling an HTTP upgrade handshake to another protocol.class
HttpContentCompressor
Compresses anHttpMessage
and anHttpContent
ingzip
ordeflate
encoding while respecting the"Accept-Encoding"
header.class
HttpContentDecoder
Decodes the content of the receivedHttpRequest
andHttpContent
.class
HttpContentDecompressor
class
HttpContentEncoder
Encodes the content of the outboundHttpResponse
andHttpContent
.class
HttpObjectAggregator
AChannelHandler
that aggregates anHttpMessage
and its followingHttpContent
s into a singleFullHttpRequest
orFullHttpResponse
(depending on if it used to handle requests or responses) with no followingHttpContent
s.class
HttpObjectDecoder
class
HttpObjectEncoder<H extends HttpMessage>
class
HttpRequestDecoder
class
HttpRequestEncoder
class
HttpResponseDecoder
class
HttpResponseEncoder
class
HttpServerCodec
A combination ofHttpRequestDecoder
andHttpResponseEncoder
which enables easier server side HTTP implementation.class
HttpServerExpectContinueHandler
class
HttpServerKeepAliveHandler
HttpServerKeepAliveHandler helps close persistent connections when appropriate.class
HttpServerUpgradeHandler
A 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 class
CorsHandler
Handles 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 class
Utf8FrameValidator
class
WebSocket00FrameDecoder
DecodesByteBuf
s intoWebSocketFrame
s.class
WebSocket00FrameEncoder
Encodes aWebSocketFrame
into aByteBuf
.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
WebSocketClientProtocolHandler
This handler does all the heavy lifting for you to run a websocket client.class
WebSocketFrameAggregator
Handler that aggregate fragmented WebSocketFrame's.class
WebSocketServerProtocolHandler
This 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 class
WebSocketClientExtensionHandler
This handler negotiates and initializes the WebSocket Extensions.class
WebSocketExtensionDecoder
Convenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension decoder.class
WebSocketExtensionEncoder
Convenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension encoder.class
WebSocketServerExtensionHandler
This 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 class
WebSocketClientCompressionHandler
Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler to handle the most common WebSocket Compression Extensions.class
WebSocketServerCompressionHandler
Extends 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 class
CleartextHttp2ServerUpgradeHandler
Performing cleartext upgrade, by h2c HTTP upgrade or Prior Knowledge.class
Http2ChannelDuplexHandler
AChannelDuplexHandler
providing additional functionality for HTTP/2.class
Http2ConnectionHandler
Provides the default implementation for processing inbound frame events and delegates to aHttp2FrameListener
class
Http2FrameCodec
This API is very immature. The Http2Connection-based API is currently preferred over this API.class
Http2FrameLogger
Logs HTTP2 frames for debugging purposes.class
Http2MultiplexCodec
Deprecated.useHttp2FrameCodecBuilder
together withHttp2MultiplexHandler
.class
Http2MultiplexHandler
An HTTP/2 handler that creates child channels for each stream.class
Http2StreamFrameToHttpObjectCodec
This handler converts fromHttp2StreamFrame
toHttpObject
, and back.class
HttpToHttp2ConnectionHandler
Translates HTTP/1.x object writes into HTTP/2 frames.class
InboundHttpToHttp2Adapter
Translates HTTP/1.x object reads into HTTP/2 frames. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.json
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.json Modifier and Type Class Description class
JsonObjectDecoder
Splits 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 class
CompatibleMarshallingDecoder
class
CompatibleMarshallingEncoder
MessageToByteEncoder
implementation which uses JBoss Marshalling to marshal an Object.class
MarshallingDecoder
Decoder which MUST be used withMarshallingEncoder
.class
MarshallingEncoder
MessageToByteEncoder
implementation 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 class
AbstractMemcacheObjectAggregator<H extends MemcacheMessage>
AChannelHandler
that aggregates anMemcacheMessage
and its followingMemcacheContent
s into a singleMemcacheMessage
with no followingMemcacheContent
s.class
AbstractMemcacheObjectDecoder
Abstract super class for both ascii and binary decoders.class
AbstractMemcacheObjectEncoder<M extends MemcacheMessage>
A general purposeAbstractMemcacheObjectEncoder
that encodesMemcacheMessage
s. -
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 class
AbstractBinaryMemcacheDecoder<M extends BinaryMemcacheMessage>
Decoder for bothBinaryMemcacheRequest
andBinaryMemcacheResponse
.class
AbstractBinaryMemcacheEncoder<M extends BinaryMemcacheMessage>
AMessageToByteEncoder
that encodes binary memcache messages into bytes.class
BinaryMemcacheClientCodec
The client codec that combines the proper encoder and decoder.class
BinaryMemcacheObjectAggregator
An object aggregator for the memcache binary protocol.class
BinaryMemcacheRequestDecoder
The decoder part which takes care of decoding the request-specific headers.class
BinaryMemcacheRequestEncoder
The encoder part which takes care of encoding the request headers.class
BinaryMemcacheResponseDecoder
The decoder which takes care of decoding the response headers.class
BinaryMemcacheResponseEncoder
The encoder which takes care of encoding the response headers.class
BinaryMemcacheServerCodec
The 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 class
MqttDecoder
class
MqttEncoder
-
Uses of ChannelHandlerAdapter in io.netty.handler.codec.protobuf
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.protobuf Modifier and Type Class Description class
ProtobufDecoder
class
ProtobufDecoderNano
class
ProtobufEncoder
class
ProtobufEncoderNano
class
ProtobufVarint32FrameDecoder
A decoder that splits the receivedByteBuf
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 Google Protocol Buffers Base 128 Varints integer length field. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.redis
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.redis Modifier and Type Class Description class
RedisArrayAggregator
AggregatesRedisMessage
parts intoArrayRedisMessage
.class
RedisBulkStringAggregator
AChannelHandler
that aggregates anBulkStringHeaderRedisMessage
and its followingBulkStringRedisContent
s into a singleFullBulkStringRedisMessage
with no followingBulkStringRedisContent
s.class
RedisDecoder
Decodes the Redis protocol intoRedisMessage
objects following RESP (REdis Serialization Protocol).class
RedisEncoder
EncodesRedisMessage
into 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 class
RtspDecoder
DecodesByteBuf
s into RTSP messages represented inHttpMessage
s.class
RtspEncoder
class
RtspObjectDecoder
Deprecated.UseRtspDecoder
instead.class
RtspObjectEncoder<H extends HttpMessage>
Deprecated.UseRtspEncoder
instead.class
RtspRequestDecoder
Deprecated.UseRtspDecoder
directly insteadclass
RtspRequestEncoder
Deprecated.UseRtspEncoder
directly insteadclass
RtspResponseDecoder
Deprecated.UseRtspDecoder
directly insteadclass
RtspResponseEncoder
Deprecated.UseRtspEncoder
directly instead -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.sctp
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.sctp Modifier and Type Class Description class
SctpInboundByteStreamHandler
A ChannelHandler which receivesSctpMessage
s which belong to a application protocol form a specific SCTP Stream and decode it asByteBuf
.class
SctpMessageCompletionHandler
MessageToMessageDecoder
which will take care of handle fragmentedSctpMessage
s, so only completeSctpMessage
s will be forwarded to the nextChannelInboundHandler
.class
SctpMessageToMessageDecoder
class
SctpOutboundByteStreamHandler
A ChannelHandler which transformByteBuf
toSctpMessage
and 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 class
CompatibleObjectEncoder
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liabilityclass
ObjectDecoder
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liabilityclass
ObjectEncoder
Deprecated.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 class
SmtpRequestEncoder
Encoder for SMTP requests.class
SmtpResponseDecoder
Decoder 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 class
SocksAuthRequestDecoder
DecodesByteBuf
s intoSocksAuthRequest
.class
SocksAuthResponseDecoder
DecodesByteBuf
s intoSocksAuthResponse
.class
SocksCmdRequestDecoder
DecodesByteBuf
s intoSocksCmdRequest
.class
SocksCmdResponseDecoder
DecodesByteBuf
s intoSocksCmdResponse
.class
SocksInitRequestDecoder
DecodesByteBuf
s intoSocksInitRequest
.class
SocksInitResponseDecoder
DecodesByteBuf
s intoSocksInitResponse
.class
SocksMessageEncoder
Encodes anSocksMessage
into aByteBuf
. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.socksx
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.socksx Modifier and Type Class Description class
SocksPortUnificationServerHandler
Detects the version of the current SOCKS connection and initializes the pipeline withSocks4ServerDecoder
orSocks5InitialRequestDecoder
. -
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 class
Socks4ClientDecoder
Decodes a singleSocks4CommandResponse
from the inboundByteBuf
s.class
Socks4ClientEncoder
Encodes aSocks4CommandRequest
into aByteBuf
.class
Socks4ServerDecoder
Decodes a singleSocks4CommandRequest
from the inboundByteBuf
s.class
Socks4ServerEncoder
Encodes aSocks4CommandResponse
into aByteBuf
. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.socksx.v5
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.socksx.v5 Modifier and Type Class Description class
Socks5ClientEncoder
Encodes a client-sideSocks5Message
into aByteBuf
.class
Socks5CommandRequestDecoder
Decodes a singleSocks5CommandRequest
from the inboundByteBuf
s.class
Socks5CommandResponseDecoder
Decodes a singleSocks5CommandResponse
from the inboundByteBuf
s.class
Socks5InitialRequestDecoder
Decodes a singleSocks5InitialRequest
from the inboundByteBuf
s.class
Socks5InitialResponseDecoder
Decodes a singleSocks5InitialResponse
from the inboundByteBuf
s.class
Socks5PasswordAuthRequestDecoder
Decodes a singleSocks5PasswordAuthRequest
from the inboundByteBuf
s.class
Socks5PasswordAuthResponseDecoder
Decodes a singleSocks5PasswordAuthResponse
from the inboundByteBuf
s.class
Socks5ServerEncoder
Encodes a server-sideSocks5Message
into aByteBuf
. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.spdy
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.spdy 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 intoFullHttpRequest
s andFullHttpResponse
s.class
SpdyHttpEncoder
EncodesHttpRequest
s,HttpResponse
s, andHttpContent
s intoSpdySynStreamFrame
s andSpdySynReplyFrame
s.class
SpdyHttpResponseStreamIdHandler
MessageToMessageCodec
that takes care of adding the rightSpdyHttpHeaders.Names.STREAM_ID
to theHttpMessage
if one is not present.class
SpdySessionHandler
Manages 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 class
StompSubframeAggregator
AChannelHandler
that aggregates anStompHeadersSubframe
and its followingStompContentSubframe
s into a singleStompFrame
.class
StompSubframeDecoder
class
StompSubframeEncoder
-
Uses of ChannelHandlerAdapter in io.netty.handler.codec.string
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.string Modifier and Type Class Description class
LineEncoder
Apply a line separator to the requestedString
and encode it into aByteBuf
.class
StringDecoder
Decodes a receivedByteBuf
into aString
.class
StringEncoder
Encodes the requestedString
into aByteBuf
. -
Uses of ChannelHandlerAdapter in io.netty.handler.codec.xml
Subclasses of ChannelHandlerAdapter in io.netty.handler.codec.xml Modifier and Type Class Description class
XmlDecoder
Async XML decoder based on Aalto XML parser.class
XmlFrameDecoder
A 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 class
FlowControlHandler
TheFlowControlHandler
ensures 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 class
FlushConsolidationHandler
ChannelDuplexHandler
which 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 class
AbstractRemoteAddressFilter<T extends java.net.SocketAddress>
This class provides the functionality to either accept or reject newChannel
s based on their IP address.class
IpSubnetFilter
This class allows one to filter newChannel
s based on theIpSubnetFilter
s passed to its constructor.class
RuleBasedIpFilter
This class allows one to filter newChannel
s based on theIpFilterRule
s passed to its constructor.class
UniqueIpFilter
This class allows one to ensure that at all times for every IP address there is at most oneChannel
connected to the server. -
Uses of ChannelHandlerAdapter in io.netty.handler.logging
Subclasses of ChannelHandlerAdapter in io.netty.handler.logging Modifier and Type Class Description class
LoggingHandler
AChannelHandler
that 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 class
PcapWriteHandler
PcapWriteHandler
capturesByteBuf
fromSocketChannel
/ServerChannel
orDatagramPacket
and 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 class
HttpProxyHandler
Handler that establishes a blind forwarding proxy tunnel using HTTP/1.1 CONNECT request.class
ProxyHandler
A common abstraction for protocols that establish blind forwarding proxy tunnels.class
Socks4ProxyHandler
Handler that establishes a blind forwarding proxy tunnel using SOCKS4 protocol.class
Socks5ProxyHandler
Handler 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 class
AbstractSniHandler<T>
Enables SNI (Server Name Indication) extension for server side SSL.class
ApplicationProtocolNegotiationHandler
Configures aChannelPipeline
depending on the application-level protocol negotiation result ofSslHandler
.class
OptionalSslHandler
OptionalSslHandler
is a utility decoder to support both SSL and non-SSL handlers based on the first message received.class
SniHandler
Enables SNI (Server Name Indication) extension for server side SSL.class
SslClientHelloHandler<T>
ByteToMessageDecoder
which allows to be notified once a fullClientHello
was received.class
SslHandler
class
SslMasterKeyHandler
TheSslMasterKeyHandler
is 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 class
OcspClientHandler
A handler for SSL clients to handle and act upon stapled OCSP responses.class
OcspServerCertificateValidator
OcspServerCertificateValidator
validates 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 class
ChunkedWriteHandler
AChannelHandler
that 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 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 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 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.
-