Uses of Interface
io.netty.channel.ChannelHandler
Packages that use ChannelHandler
Package
Description
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
A virtual
Channel
that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context.Package to dynamically replace local / remote
SocketAddress
.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.
Encoder and decoder which transform an array of bytes into a
ByteBuf
and vice versa.DNS codec.
Decodes an HAProxy proxy protocol header
Encoder, decoder and their related message types for HTTP.
This package contains Cross Origin Resource Sharing (CORS) related classes.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, handshakers to handle
WebSocket Extensions.
Encoder, decoder, handshakers to handle most common WebSocket Compression Extensions.
Handlers for sending and receiving HTTP/2 frames.
JSON specific codecs.
Common superset of ascii and binary classes.
Implementations and Interfaces for the Memcache Binary protocol.
Encoder, decoder and different Message Types for MQTT.
Encoder, decoder for Redis.
An RTSP
extension based on the HTTP codec.
Decoder and encoders to manage message completion and multi-streaming codec in SCTP/IP.
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable
object into a byte buffer and
vice versa.SMTP codec.
Encoder, decoder and their related message types for Socks.
Encoder, decoder and their related message types for SOCKS protocol.
Encoder, decoder and their related message types for SOCKSv4 protocol.
Encoder, decoder and their related message types for SOCKSv5 protocol.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
STOMP codec
XML codec provides asynchronous and non-blocking XML parser based on the
Aalto XML parser.
Package to control the flow of messages.
Package to control flush behavior.
Package to filter IP addresses (allow/deny).
Logs the I/O events for debugging purpose.
Capture data and write into Pcap format which helps in troubleshooting.
Adds support for client connections via proxy protocols such as
SOCKS and
HTTP CONNECT tunneling
Certificate validation using OCSP
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError
.Adds support for read and write timeout and idle connection notification
using a
Timer
.Implementation of a Traffic Shaping Handler and Dynamic Statistics.
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
-
Uses of ChannelHandler in io.netty.bootstrap
Classes in io.netty.bootstrap that implement ChannelHandlerFields in io.netty.bootstrap declared as ChannelHandlerModifier and TypeFieldDescriptionprivate ChannelHandler
ServerBootstrap.childHandler
private final ChannelHandler
ServerBootstrap.ServerBootstrapAcceptor.childHandler
private ChannelHandler
AbstractBootstrap.handler
Methods in io.netty.bootstrap that return ChannelHandlerModifier and TypeMethodDescription(package private) final ChannelHandler
ServerBootstrap.childHandler()
ServerBootstrapConfig.childHandler()
Returns the configuredChannelHandler
be used for the child channels ornull
if non is configured yet.(package private) final ChannelHandler
AbstractBootstrap.handler()
final ChannelHandler
AbstractBootstrapConfig.handler()
Returns the configuredChannelHandler
ornull
if non is configured yet.Methods in io.netty.bootstrap with parameters of type ChannelHandlerModifier and TypeMethodDescriptionServerBootstrap.childHandler
(ChannelHandler childHandler) Set theChannelHandler
which is used to serve the request for theChannel
's.AbstractBootstrap.handler
(ChannelHandler handler) theChannelHandler
to use for serving the requests.Constructors in io.netty.bootstrap with parameters of type ChannelHandlerModifierConstructorDescription(package private)
ServerBootstrapAcceptor
(Channel channel, EventLoopGroup childGroup, ChannelHandler childHandler, Map.Entry<ChannelOption<?>, Object>[] childOptions, Map.Entry<AttributeKey<?>, Object>[] childAttrs, Collection<ChannelInitializerExtension> extensions) -
Uses of ChannelHandler in io.netty.channel
Subinterfaces of ChannelHandler in io.netty.channelModifier and TypeInterfaceDescriptioninterface
ChannelHandler
which adds callbacks for state changes.interface
ChannelHandler
which will get notified for IO-outbound-operations.Classes in io.netty.channel that implement ChannelHandlerModifier and TypeClassDescriptionclass
ChannelHandler
implementation which represents a combination out of aChannelInboundHandler
and theChannelOutboundHandler
.class
Skeleton implementation of aChannelHandler
.class
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
Skeleton implementation of aChannelOutboundHandler
.class
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,
O extends ChannelOutboundHandler> (package private) final class
(package private) final class
class
ChannelInboundHandlerAdapter
which allows to explicit only handle a specific type of messages.class
ChannelInboundHandlerAdapter
which allows to conveniently only handle a specific type of user events.Fields in io.netty.channel declared as ChannelHandlerModifier and TypeFieldDescriptionprivate final ChannelHandler
CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.handler
private final ChannelHandler
DefaultChannelHandlerContext.handler
Fields in io.netty.channel with type parameters of type ChannelHandlerModifier and TypeFieldDescriptionprivate static final FastThreadLocal
<Map<Class<? extends ChannelHandler>, Integer>> ChannelHandlerMask.MASKS
Methods in io.netty.channel with type parameters of type ChannelHandlerModifier and TypeMethodDescription<T extends ChannelHandler>
TReturns theChannelHandler
of the specified type in this pipeline.final <T extends ChannelHandler>
T<T extends ChannelHandler>
TRemoves theChannelHandler
of the specified type from this pipeline.final <T extends ChannelHandler>
Tfinal <T extends ChannelHandler>
TDefaultChannelPipeline.removeIfExists
(ChannelHandler handler) private <T extends ChannelHandler>
TDefaultChannelPipeline.removeIfExists
(ChannelHandlerContext ctx) final <T extends ChannelHandler>
TDefaultChannelPipeline.removeIfExists
(Class<T> handlerType) final <T extends ChannelHandler>
TDefaultChannelPipeline.removeIfExists
(String name) <T extends ChannelHandler>
TChannelPipeline.replace
(Class<T> oldHandlerType, String newName, ChannelHandler newHandler) Replaces theChannelHandler
of the specified type with a new handler in this pipeline.final <T extends ChannelHandler>
TDefaultChannelPipeline.replace
(Class<T> oldHandlerType, String newName, ChannelHandler newHandler) Methods in io.netty.channel that return ChannelHandlerModifier and TypeMethodDescriptionChannelPipeline.first()
Returns the firstChannelHandler
in this pipeline.final ChannelHandler
DefaultChannelPipeline.first()
Returns theChannelHandler
with the specified name in this pipeline.final ChannelHandler
ChannelHandlerContext.handler()
TheChannelHandler
that is bound thisChannelHandlerContext
.CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.handler()
DefaultChannelHandlerContext.handler()
DefaultChannelPipeline.HeadContext.handler()
DefaultChannelPipeline.TailContext.handler()
ChannelPipeline.last()
Returns the lastChannelHandler
in this pipeline.final ChannelHandler
DefaultChannelPipeline.last()
Removes theChannelHandler
with the specified name from this pipeline.final ChannelHandler
ChannelPipeline.removeFirst()
Removes the firstChannelHandler
in this pipeline.final ChannelHandler
DefaultChannelPipeline.removeFirst()
ChannelPipeline.removeLast()
Removes the lastChannelHandler
in this pipeline.final ChannelHandler
DefaultChannelPipeline.removeLast()
ChannelPipeline.replace
(String oldName, String newName, ChannelHandler newHandler) Replaces theChannelHandler
of the specified name with a new handler in this pipeline.private ChannelHandler
DefaultChannelPipeline.replace
(AbstractChannelHandlerContext ctx, String newName, ChannelHandler newHandler) final ChannelHandler
DefaultChannelPipeline.replace
(String oldName, String newName, ChannelHandler newHandler) Methods in io.netty.channel that return types with arguments of type ChannelHandlerModifier and TypeMethodDescriptionfinal Iterator
<Map.Entry<String, ChannelHandler>> DefaultChannelPipeline.iterator()
ChannelPipeline.toMap()
Converts this pipeline into an orderedMap
whose keys are handler names and whose values are handlers.final Map
<String, ChannelHandler> DefaultChannelPipeline.toMap()
Methods in io.netty.channel with parameters of type ChannelHandlerModifier and TypeMethodDescriptionChannelPipeline.addAfter
(EventExecutorGroup group, String baseName, String name, ChannelHandler handler) Inserts aChannelHandler
after an existing handler of this pipeline.ChannelPipeline.addAfter
(String baseName, String name, ChannelHandler handler) Inserts aChannelHandler
after an existing handler of this pipeline.final ChannelPipeline
DefaultChannelPipeline.addAfter
(EventExecutorGroup group, String baseName, String name, ChannelHandler handler) final ChannelPipeline
DefaultChannelPipeline.addAfter
(String baseName, String name, ChannelHandler handler) ChannelPipeline.addBefore
(EventExecutorGroup group, String baseName, String name, ChannelHandler handler) Inserts aChannelHandler
before an existing handler of this pipeline.ChannelPipeline.addBefore
(String baseName, String name, ChannelHandler handler) Inserts aChannelHandler
before an existing handler of this pipeline.final ChannelPipeline
DefaultChannelPipeline.addBefore
(EventExecutorGroup group, String baseName, String name, ChannelHandler handler) final ChannelPipeline
DefaultChannelPipeline.addBefore
(String baseName, String name, ChannelHandler handler) ChannelPipeline.addFirst
(ChannelHandler... handlers) InsertsChannelHandler
s at the first position of this pipeline.ChannelPipeline.addFirst
(EventExecutorGroup group, ChannelHandler... handlers) InsertsChannelHandler
s at the first position of this pipeline.ChannelPipeline.addFirst
(EventExecutorGroup group, String name, ChannelHandler handler) Inserts aChannelHandler
at the first position of this pipeline.ChannelPipeline.addFirst
(String name, ChannelHandler handler) Inserts aChannelHandler
at the first position of this pipeline.final ChannelPipeline
DefaultChannelPipeline.addFirst
(ChannelHandler handler) final ChannelPipeline
DefaultChannelPipeline.addFirst
(ChannelHandler... handlers) final ChannelPipeline
DefaultChannelPipeline.addFirst
(EventExecutorGroup executor, ChannelHandler... handlers) final ChannelPipeline
DefaultChannelPipeline.addFirst
(EventExecutorGroup group, String name, ChannelHandler handler) final ChannelPipeline
DefaultChannelPipeline.addFirst
(String name, ChannelHandler handler) ChannelPipeline.addLast
(ChannelHandler... handlers) InsertsChannelHandler
s at the last position of this pipeline.ChannelPipeline.addLast
(EventExecutorGroup group, ChannelHandler... handlers) InsertsChannelHandler
s at the last position of this pipeline.ChannelPipeline.addLast
(EventExecutorGroup group, String name, ChannelHandler handler) Appends aChannelHandler
at the last position of this pipeline.ChannelPipeline.addLast
(String name, ChannelHandler handler) Appends aChannelHandler
at the last position of this pipeline.final ChannelPipeline
DefaultChannelPipeline.addLast
(ChannelHandler handler) final ChannelPipeline
DefaultChannelPipeline.addLast
(ChannelHandler... handlers) final ChannelPipeline
DefaultChannelPipeline.addLast
(EventExecutorGroup executor, ChannelHandler... handlers) final ChannelPipeline
DefaultChannelPipeline.addLast
(EventExecutorGroup group, String name, ChannelHandler handler) final ChannelPipeline
DefaultChannelPipeline.addLast
(String name, ChannelHandler handler) private static void
DefaultChannelPipeline.checkMultiplicity
(ChannelHandler handler) ChannelPipeline.context
(ChannelHandler handler) Returns the context object of the specifiedChannelHandler
in this pipeline.final ChannelHandlerContext
DefaultChannelPipeline.context
(ChannelHandler handler) private String
DefaultChannelPipeline.filterName
(String name, ChannelHandler handler) private String
DefaultChannelPipeline.generateName
(ChannelHandler handler) private AbstractChannelHandlerContext
DefaultChannelPipeline.getContextOrDie
(ChannelHandler handler) private ChannelPipeline
DefaultChannelPipeline.internalAdd
(EventExecutorGroup group, String name, ChannelHandler handler, String baseName, DefaultChannelPipeline.AddStrategy addStrategy) private AbstractChannelHandlerContext
DefaultChannelPipeline.newContext
(EventExecutorGroup group, String name, ChannelHandler handler) ChannelPipeline.remove
(ChannelHandler handler) Removes the specifiedChannelHandler
from this pipeline.final ChannelPipeline
DefaultChannelPipeline.remove
(ChannelHandler handler) final <T extends ChannelHandler>
TDefaultChannelPipeline.removeIfExists
(ChannelHandler handler) ChannelPipeline.replace
(ChannelHandler oldHandler, String newName, ChannelHandler newHandler) Replaces the specifiedChannelHandler
with a new handler in this pipeline.<T extends ChannelHandler>
TChannelPipeline.replace
(Class<T> oldHandlerType, String newName, ChannelHandler newHandler) Replaces theChannelHandler
of the specified type with a new handler in this pipeline.ChannelPipeline.replace
(String oldName, String newName, ChannelHandler newHandler) Replaces theChannelHandler
of the specified name with a new handler in this pipeline.private ChannelHandler
DefaultChannelPipeline.replace
(AbstractChannelHandlerContext ctx, String newName, ChannelHandler newHandler) final ChannelPipeline
DefaultChannelPipeline.replace
(ChannelHandler oldHandler, String newName, ChannelHandler newHandler) final <T extends ChannelHandler>
TDefaultChannelPipeline.replace
(Class<T> oldHandlerType, String newName, ChannelHandler newHandler) final ChannelHandler
DefaultChannelPipeline.replace
(String oldName, String newName, ChannelHandler newHandler) Method parameters in io.netty.channel with type arguments of type ChannelHandlerModifier and TypeMethodDescriptionChannelPipeline.context
(Class<? extends ChannelHandler> handlerType) Returns the context object of theChannelHandler
of the specified type in this pipeline.final ChannelHandlerContext
DefaultChannelPipeline.context
(Class<? extends ChannelHandler> handlerType) private AbstractChannelHandlerContext
DefaultChannelPipeline.getContextOrDie
(Class<? extends ChannelHandler> handlerType) (package private) static int
ChannelHandlerMask.mask
(Class<? extends ChannelHandler> clazz) Return theexecutionMask
.private static int
ChannelHandlerMask.mask0
(Class<? extends ChannelHandler> handlerType) Calculate theexecutionMask
.Constructors in io.netty.channel with parameters of type ChannelHandlerModifierConstructorDescription(package private)
DefaultChannelHandlerContext
(DefaultChannelPipeline pipeline, EventExecutor executor, String name, ChannelHandler handler) (package private)
Constructor parameters in io.netty.channel with type arguments of type ChannelHandlerModifierConstructorDescription(package private)
AbstractChannelHandlerContext
(DefaultChannelPipeline pipeline, EventExecutor executor, String name, Class<? extends ChannelHandler> handlerClass) -
Uses of ChannelHandler in io.netty.channel.embedded
Fields in io.netty.channel.embedded declared as ChannelHandlerModifier and TypeFieldDescriptionprivate static final ChannelHandler[]
EmbeddedChannel.EMPTY_HANDLERS
Methods in io.netty.channel.embedded with parameters of type ChannelHandlerModifier and TypeMethodDescriptionprivate void
EmbeddedChannel.setup
(boolean register, ChannelHandler... handlers) Constructors in io.netty.channel.embedded with parameters of type ChannelHandlerModifierConstructorDescriptionEmbeddedChannel
(boolean register, boolean hasDisconnect, ChannelHandler... handlers) Create a new instance with the pipeline initialized with the specified handlers.EmbeddedChannel
(boolean hasDisconnect, ChannelHandler... handlers) Create a new instance with the pipeline initialized with the specified handlers.EmbeddedChannel
(ChannelHandler... handlers) Create a new instance with the pipeline initialized with the specified handlers.EmbeddedChannel
(ChannelId channelId, boolean register, boolean hasDisconnect, ChannelHandler... handlers) Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.EmbeddedChannel
(ChannelId channelId, boolean hasDisconnect, ChannelConfig config, ChannelHandler... handlers) Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.EmbeddedChannel
(ChannelId channelId, boolean hasDisconnect, ChannelHandler... handlers) Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.EmbeddedChannel
(ChannelId channelId, ChannelHandler... handlers) Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.EmbeddedChannel
(Channel parent, ChannelId channelId, boolean register, boolean hasDisconnect, ChannelHandler... handlers) Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers. -
Uses of ChannelHandler in io.netty.handler.address
Classes in io.netty.handler.address that implement ChannelHandlerModifier and TypeClassDescriptionclass
ChannelOutboundHandler
implementation which allows to dynamically replace the usedremoteAddress
and / orlocalAddress
when making a connection attempt.class
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 ChannelHandler in io.netty.handler.codec
Classes in io.netty.handler.codec that implement ChannelHandlerModifier and TypeClassDescriptionclass
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.private final class
class
ChannelInboundHandlerAdapter
which decodes bytes in a stream-like fashion from oneByteBuf
to an other Message type.class
A decoder that decodes the content of the receivedDatagramPacket
using the specifiedByteBuf
decoder.class
An encoder that encodes the content inAddressedEnvelope
toDatagramPacket
using the specified message encoder.class
A decoder that splits the receivedByteBuf
s by one or more delimiters.class
A decoder that splits the receivedByteBuf
s by the fixed number of bytes.class
A decoder that splits the receivedByteBuf
s dynamically by the value of the length field in the message.class
An encoder that prepends the length of the message.class
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
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
ChannelInboundHandlerAdapter
which decodes from one message to an other message.class
ChannelOutboundHandlerAdapter
which encodes from one message to an other message For example here is an implementation which decodes anInteger
to anString
.class
A specialized variation ofByteToMessageDecoder
which enables implementation of a non-blocking decoder in the blocking I/O paradigm. -
Uses of ChannelHandler in io.netty.handler.codec.base64
Classes in io.netty.handler.codec.base64 that implement ChannelHandlerModifier and TypeClassDescriptionclass
class
-
Uses of ChannelHandler in io.netty.handler.codec.bytes
Classes in io.netty.handler.codec.bytes that implement ChannelHandler -
Uses of ChannelHandler in io.netty.handler.codec.compression
Classes in io.netty.handler.codec.compression that implement ChannelHandlerModifier and TypeClassDescriptionclass
Uncompresses aByteBuf
encoded with the Bzip2 format.class
Compresses aByteBuf
using the Bzip2 algorithm.class
Uncompresses aByteBuf
encoded byFastLzFrameEncoder
using the FastLZ algorithm.class
Compresses aByteBuf
using the FastLZ algorithm.class
Decompress aByteBuf
using the inflate algorithm.class
Compresses aByteBuf
using the deflate algorithm.class
class
Compresses aByteBuf
using the deflate algorithm.class
Deprecated.class
Uncompresses aByteBuf
encoded with the Snappy framing format.class
Deprecated.UseSnappyFrameEncoder
instead.class
Compresses aByteBuf
using the Snappy framing format.class
Decompresses aByteBuf
using the deflate algorithm.class
Compresses aByteBuf
using the deflate algorithm. -
Uses of ChannelHandler in io.netty.handler.codec.dns
Classes in io.netty.handler.codec.dns that implement ChannelHandlerModifier and TypeClassDescriptionclass
Decodes aDatagramPacket
into aDatagramDnsQuery
.class
class
Decodes aDatagramPacket
into aDatagramDnsResponse
.class
final class
final class
final class
final class
-
Uses of ChannelHandler in io.netty.handler.codec.haproxy
Classes in io.netty.handler.codec.haproxy that implement ChannelHandlerModifier and TypeClassDescriptionclass
Decodes an HAProxy proxy protocol headerfinal class
Encodes an HAProxy proxy protocol message -
Uses of ChannelHandler in io.netty.handler.codec.http
Classes in io.netty.handler.codec.http that implement ChannelHandlerModifier and TypeClassDescriptionfinal class
A combination ofHttpRequestEncoder
andHttpResponseDecoder
which enables easier client side HTTP implementation.private final class
private final class
class
Client-side handler for handling an HTTP upgrade handshake to another protocol.class
Compresses anHttpMessage
and anHttpContent
ingzip
ordeflate
encoding while respecting the"Accept-Encoding"
header.class
Decodes the content of the receivedHttpRequest
andHttpContent
.class
class
Encodes the content of the outboundHttpResponse
andHttpContent
.class
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
class
HttpObjectEncoder<H extends HttpMessage>
class
class
class
class
final class
A combination ofHttpRequestDecoder
andHttpResponseEncoder
which enables easier server side HTTP implementation.private final class
private final class
class
class
HttpServerKeepAliveHandler helps close persistent connections when appropriate.class
A server-side handler that receives HTTP requests and optionally performs a protocol switch if the requested protocol is supported. -
Uses of ChannelHandler in io.netty.handler.codec.http.cors
Classes in io.netty.handler.codec.http.cors that implement ChannelHandler -
Uses of ChannelHandler in io.netty.handler.codec.http.websocketx
Subinterfaces of ChannelHandler in io.netty.handler.codec.http.websocketxModifier and TypeInterfaceDescriptioninterface
Marker interface which all WebSocketFrame decoders need to implement.interface
Marker interface which all WebSocketFrame encoders need to implement.Classes in io.netty.handler.codec.http.websocketx that implement ChannelHandlerModifier and TypeClassDescriptionclass
class
DecodesByteBuf
s intoWebSocketFrame
s.class
Encodes aWebSocketFrame
into aByteBuf
.class
Decodes a web socket frame from wire protocol version 7 format.class
Encodes a web socket frame into wire protocol version 7 format.class
Decodes a web socket frame from wire protocol version 8 format.class
Encodes a web socket frame into wire protocol version 8 format.class
Decodes a web socket frame from wire protocol version 13 format.class
Encodes a web socket frame into wire protocol version 13 format.class
This handler does all the heavy lifting for you to run a websocket client.(package private) class
class
Handler that aggregate fragmented WebSocketFrame's.(package private) class
class
This handler does all the heavy lifting for you to run a websocket server.(package private) class
Handles the HTTP handshake (the HTTP Upgrade request) forWebSocketServerProtocolHandler
. -
Uses of ChannelHandler in io.netty.handler.codec.http.websocketx.extensions
Classes in io.netty.handler.codec.http.websocketx.extensions that implement ChannelHandlerModifier and TypeClassDescriptionclass
This handler negotiates and initializes the WebSocket Extensions.class
Convenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension decoder.class
Convenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension encoder.class
This handler negotiates and initializes the WebSocket Extensions. -
Uses of ChannelHandler in io.netty.handler.codec.http.websocketx.extensions.compression
Classes in io.netty.handler.codec.http.websocketx.extensions.compression that implement ChannelHandlerModifier and TypeClassDescription(package private) class
Deflate implementation of a payload decompressor for io.netty.handler.codec.http.websocketx.WebSocketFrame.(package private) class
Deflate implementation of a payload compressor for io.netty.handler.codec.http.websocketx.WebSocketFrame.(package private) class
Per-frame implementation of deflate decompressor.(package private) class
Per-frame implementation of deflate compressor.(package private) class
Per-message implementation of deflate decompressor.(package private) class
Per-message implementation of deflate compressor.final class
Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler to handle the most common WebSocket Compression Extensions.class
Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerExtensionHandler to handle the most common WebSocket Compression Extensions. -
Uses of ChannelHandler in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement ChannelHandlerModifier and TypeClassDescriptionfinal class
Performing cleartext upgrade, by h2c HTTP upgrade or Prior Knowledge.class
AChannelDuplexHandler
providing additional functionality for HTTP/2.class
Provides the default implementation for processing inbound frame events and delegates to aHttp2FrameListener
class
This API is very immature. The Http2Connection-based API is currently preferred over this API.class
Logs HTTP2 frames for debugging purposes.class
Deprecated.useHttp2FrameCodecBuilder
together withHttp2MultiplexHandler
.final class
An HTTP/2 handler that creates child channels for each stream.class
This handler converts fromHttp2StreamFrame
toHttpObject
, and back.class
Translates HTTP/1.x object writes into HTTP/2 frames.class
Translates HTTP/1.x object reads into HTTP/2 frames.Fields in io.netty.handler.codec.http2 declared as ChannelHandlerModifier and TypeFieldDescription(package private) final ChannelHandler
Http2MultiplexCodecBuilder.childHandler
Deprecated.private static final ChannelHandler[]
Http2ServerUpgradeCodec.EMPTY_HANDLERS
private ChannelHandler
Http2StreamChannelBootstrap.handler
private final ChannelHandler[]
Http2ServerUpgradeCodec.handlers
private final ChannelHandler
Http2ClientUpgradeCodec.http2MultiplexHandler
private final ChannelHandler
CleartextHttp2ServerUpgradeHandler.http2ServerHandler
private final ChannelHandler
Http2MultiplexCodec.inboundStreamHandler
Deprecated.private final ChannelHandler
Http2MultiplexHandler.inboundStreamHandler
private final ChannelHandler
Http2MultiplexCodec.upgradeStreamHandler
Deprecated.private ChannelHandler
Http2MultiplexCodecBuilder.upgradeStreamHandler
Deprecated.private final ChannelHandler
Http2MultiplexHandler.upgradeStreamHandler
private final ChannelHandler
Http2ClientUpgradeCodec.upgradeToHandler
Methods in io.netty.handler.codec.http2 that return ChannelHandlerModifier and TypeMethodDescriptionprivate static ChannelHandler
Http2MultiplexCodecBuilder.checkSharable
(ChannelHandler handler) Deprecated.Methods in io.netty.handler.codec.http2 with parameters of type ChannelHandlerModifier and TypeMethodDescriptionprivate static ChannelHandler
Http2MultiplexCodecBuilder.checkSharable
(ChannelHandler handler) Deprecated.static Http2MultiplexCodecBuilder
Http2MultiplexCodecBuilder.forClient
(ChannelHandler childHandler) Deprecated.Creates a builder for an HTTP/2 client.static Http2MultiplexCodecBuilder
Http2MultiplexCodecBuilder.forServer
(ChannelHandler childHandler) Deprecated.Creates a builder for an HTTP/2 server.Http2StreamChannelBootstrap.handler
(ChannelHandler handler) theChannelHandler
to use for serving the requests.Http2MultiplexCodecBuilder.withUpgradeStreamHandler
(ChannelHandler upgradeStreamHandler) Deprecated.Constructors in io.netty.handler.codec.http2 with parameters of type ChannelHandlerModifierConstructorDescription(package private)
AbstractHttp2StreamChannel
(Http2FrameCodec.DefaultHttp2FrameStream stream, int id, ChannelHandler inboundHandler) CleartextHttp2ServerUpgradeHandler
(HttpServerCodec httpServerCodec, HttpServerUpgradeHandler httpServerUpgradeHandler, ChannelHandler http2ServerHandler) Creates the channel handler provide cleartext HTTP/2 upgrade from HTTP upgrade or prior knowledgeHttp2ClientUpgradeCodec
(Http2FrameCodec frameCodec, ChannelHandler upgradeToHandler) private
Http2ClientUpgradeCodec
(String handlerName, Http2ConnectionHandler connectionHandler, ChannelHandler upgradeToHandler, Http2MultiplexHandler http2MultiplexHandler) Http2ClientUpgradeCodec
(String handlerName, Http2FrameCodec frameCodec, ChannelHandler upgradeToHandler) (package private)
Http2MultiplexCodec
(Http2ConnectionEncoder encoder, Http2ConnectionDecoder decoder, Http2Settings initialSettings, ChannelHandler inboundStreamHandler, ChannelHandler upgradeStreamHandler, boolean decoupleCloseAndGoAway, boolean flushPreface) Deprecated.(package private)
Http2MultiplexCodecBuilder
(boolean server, ChannelHandler childHandler) Deprecated.(package private)
Http2MultiplexCodecStreamChannel
(Http2FrameCodec.DefaultHttp2FrameStream stream, ChannelHandler inboundHandler) Http2MultiplexHandler
(ChannelHandler inboundStreamHandler) Creates a new instanceHttp2MultiplexHandler
(ChannelHandler inboundStreamHandler, ChannelHandler upgradeStreamHandler) Creates a new instance(package private)
Http2MultiplexHandlerStreamChannel
(Http2FrameCodec.DefaultHttp2FrameStream stream, ChannelHandler inboundHandler) Http2ServerUpgradeCodec
(Http2FrameCodec http2Codec, ChannelHandler... handlers) Creates the codec using a default name for the connection handler when adding to the pipeline.private
Http2ServerUpgradeCodec
(String handlerName, Http2ConnectionHandler connectionHandler, ChannelHandler... handlers) -
Uses of ChannelHandler in io.netty.handler.codec.json
Classes in io.netty.handler.codec.json that implement ChannelHandlerModifier and TypeClassDescriptionclass
Splits a byte stream of JSON objects and arrays into individual objects/arrays and passes them up theChannelPipeline
. -
Uses of ChannelHandler in io.netty.handler.codec.memcache
Classes in io.netty.handler.codec.memcache that implement ChannelHandlerModifier and TypeClassDescriptionclass
AbstractMemcacheObjectAggregator<H extends MemcacheMessage>
AChannelHandler
that aggregates anMemcacheMessage
and its followingMemcacheContent
s into a singleMemcacheMessage
with no followingMemcacheContent
s.class
Abstract super class for both ascii and binary decoders.class
AbstractMemcacheObjectEncoder<M extends MemcacheMessage>
A general purposeAbstractMemcacheObjectEncoder
that encodesMemcacheMessage
s. -
Uses of ChannelHandler in io.netty.handler.codec.memcache.binary
Classes in io.netty.handler.codec.memcache.binary that implement ChannelHandlerModifier and TypeClassDescriptionclass
Decoder for bothBinaryMemcacheRequest
andBinaryMemcacheResponse
.class
AMessageToByteEncoder
that encodes binary memcache messages into bytes.final class
The client codec that combines the proper encoder and decoder.private final class
private final class
class
An object aggregator for the memcache binary protocol.class
The decoder part which takes care of decoding the request-specific headers.class
The encoder part which takes care of encoding the request headers.class
The decoder which takes care of decoding the response headers.class
The encoder which takes care of encoding the response headers.class
The full server codec that combines the correct encoder and decoder. -
Uses of ChannelHandler in io.netty.handler.codec.mqtt
Classes in io.netty.handler.codec.mqtt that implement ChannelHandlerModifier and TypeClassDescriptionfinal class
final class
-
Uses of ChannelHandler in io.netty.handler.codec.redis
Classes in io.netty.handler.codec.redis that implement ChannelHandlerModifier and TypeClassDescriptionfinal class
AggregatesRedisMessage
parts intoArrayRedisMessage
.final class
AChannelHandler
that aggregates anBulkStringHeaderRedisMessage
and its followingBulkStringRedisContent
s into a singleFullBulkStringRedisMessage
with no followingBulkStringRedisContent
s.final class
Decodes the Redis protocol intoRedisMessage
objects following RESP (REdis Serialization Protocol).class
EncodesRedisMessage
into bytes following RESP (REdis Serialization Protocol). -
Uses of ChannelHandler in io.netty.handler.codec.rtsp
Classes in io.netty.handler.codec.rtsp that implement ChannelHandlerModifier and TypeClassDescriptionclass
DecodesByteBuf
s into RTSP messages represented inHttpMessage
s.class
class
Deprecated.UseRtspDecoder
instead.class
RtspObjectEncoder<H extends HttpMessage>
Deprecated.UseRtspEncoder
instead.class
Deprecated.UseRtspDecoder
directly insteadclass
Deprecated.UseRtspEncoder
directly insteadclass
Deprecated.UseRtspDecoder
directly insteadclass
Deprecated.UseRtspEncoder
directly instead -
Uses of ChannelHandler in io.netty.handler.codec.sctp
Classes in io.netty.handler.codec.sctp that implement ChannelHandlerModifier and TypeClassDescriptionclass
A ChannelHandler which receivesSctpMessage
s which belong to a application protocol form a specific SCTP Stream and decode it asByteBuf
.class
MessageToMessageDecoder
which will take care of handle fragmentedSctpMessage
s, so only completeSctpMessage
s will be forwarded to the nextChannelInboundHandler
.class
class
A ChannelHandler which transformByteBuf
toSctpMessage
and send it through a specific stream with given protocol identifier. -
Uses of ChannelHandler in io.netty.handler.codec.serialization
Classes in io.netty.handler.codec.serialization that implement ChannelHandlerModifier and TypeClassDescriptionclass
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liabilityclass
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liabilityclass
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability -
Uses of ChannelHandler in io.netty.handler.codec.smtp
Classes in io.netty.handler.codec.smtp that implement ChannelHandlerModifier and TypeClassDescriptionfinal class
Encoder for SMTP requests.final class
Decoder for SMTP responses. -
Uses of ChannelHandler in io.netty.handler.codec.socks
Classes in io.netty.handler.codec.socks that implement ChannelHandlerModifier and TypeClassDescriptionclass
DecodesByteBuf
s intoSocksAuthRequest
.class
DecodesByteBuf
s intoSocksAuthResponse
.class
DecodesByteBuf
s intoSocksCmdRequest
.class
DecodesByteBuf
s intoSocksCmdResponse
.class
DecodesByteBuf
s intoSocksInitRequest
.class
DecodesByteBuf
s intoSocksInitResponse
.class
Encodes anSocksMessage
into aByteBuf
. -
Uses of ChannelHandler in io.netty.handler.codec.socksx
Classes in io.netty.handler.codec.socksx that implement ChannelHandlerModifier and TypeClassDescriptionclass
Detects the version of the current SOCKS connection and initializes the pipeline withSocks4ServerDecoder
orSocks5InitialRequestDecoder
. -
Uses of ChannelHandler in io.netty.handler.codec.socksx.v4
Classes in io.netty.handler.codec.socksx.v4 that implement ChannelHandlerModifier and TypeClassDescriptionclass
Decodes a singleSocks4CommandResponse
from the inboundByteBuf
s.final class
Encodes aSocks4CommandRequest
into aByteBuf
.class
Decodes a singleSocks4CommandRequest
from the inboundByteBuf
s.final class
Encodes aSocks4CommandResponse
into aByteBuf
. -
Uses of ChannelHandler in io.netty.handler.codec.socksx.v5
Classes in io.netty.handler.codec.socksx.v5 that implement ChannelHandlerModifier and TypeClassDescriptionclass
Encodes a client-sideSocks5Message
into aByteBuf
.class
Decodes a singleSocks5CommandRequest
from the inboundByteBuf
s.class
Decodes a singleSocks5CommandResponse
from the inboundByteBuf
s.class
Decodes a singleSocks5InitialRequest
from the inboundByteBuf
s.class
Decodes a singleSocks5InitialResponse
from the inboundByteBuf
s.class
Decodes a singleSocks5PasswordAuthRequest
from the inboundByteBuf
s.class
Decodes a singleSocks5PasswordAuthResponse
from the inboundByteBuf
s.class
Encodes a server-sideSocks5Message
into aByteBuf
. -
Uses of ChannelHandler in io.netty.handler.codec.spdy
Classes in io.netty.handler.codec.spdy that implement ChannelHandlerModifier and TypeClassDescriptionclass
AChannelHandler
that encodes and decodes SPDY Frames.final class
A combination ofSpdyHttpDecoder
andSpdyHttpEncoder
class
DecodesSpdySynStreamFrame
s,SpdySynReplyFrame
s, andSpdyDataFrame
s intoFullHttpRequest
s andFullHttpResponse
s.class
EncodesHttpRequest
s,HttpResponse
s, andHttpContent
s intoSpdySynStreamFrame
s andSpdySynReplyFrame
s.class
MessageToMessageCodec
that takes care of adding the rightSpdyHttpHeaders.Names.STREAM_ID
to theHttpMessage
if one is not present.class
Manages streams within a SPDY session. -
Uses of ChannelHandler in io.netty.handler.codec.stomp
Classes in io.netty.handler.codec.stomp that implement ChannelHandlerModifier and TypeClassDescriptionclass
AChannelHandler
that aggregates anStompHeadersSubframe
and its followingStompContentSubframe
s into a singleStompFrame
.class
class
-
Uses of ChannelHandler in io.netty.handler.codec.string
Classes in io.netty.handler.codec.string that implement ChannelHandlerModifier and TypeClassDescriptionclass
class
class
-
Uses of ChannelHandler in io.netty.handler.codec.xml
Classes in io.netty.handler.codec.xml that implement ChannelHandlerModifier and TypeClassDescriptionclass
Async XML decoder based on Aalto XML parser.class
A frame decoder for single separate XML based message streams. -
Uses of ChannelHandler in io.netty.handler.flow
Classes in io.netty.handler.flow that implement ChannelHandlerModifier and TypeClassDescriptionclass
TheFlowControlHandler
ensures that only one message perread()
is sent downstream. -
Uses of ChannelHandler in io.netty.handler.flush
Classes in io.netty.handler.flush that implement ChannelHandlerModifier and TypeClassDescriptionclass
ChannelDuplexHandler
which consolidatesChannel.flush()
/ChannelHandlerContext.flush()
operations (which also includesChannelOutboundInvoker.writeAndFlush(Object)
/ChannelOutboundInvoker.writeAndFlush(Object, ChannelPromise)
andChannelOutboundInvoker.writeAndFlush(Object)
/ChannelOutboundInvoker.writeAndFlush(Object, ChannelPromise)
). -
Uses of ChannelHandler in io.netty.handler.ipfilter
Classes in io.netty.handler.ipfilter that implement ChannelHandlerModifier and TypeClassDescriptionclass
AbstractRemoteAddressFilter<T extends SocketAddress>
This class provides the functionality to either accept or reject newChannel
s based on their IP address.class
This class allows one to filter newChannel
s based on theIpSubnetFilter
s passed to its constructor.class
This class allows one to filter newChannel
s based on theIpFilterRule
s passed to its constructor.class
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 ChannelHandler in io.netty.handler.logging
Classes in io.netty.handler.logging that implement ChannelHandlerModifier and TypeClassDescriptionclass
AChannelHandler
that logs all events using a logging framework. -
Uses of ChannelHandler in io.netty.handler.pcap
Classes in io.netty.handler.pcap that implement ChannelHandlerModifier and TypeClassDescriptionfinal class
PcapWriteHandler
capturesByteBuf
fromSocketChannel
/ServerChannel
orDatagramPacket
and writes it into PcapOutputStream
. -
Uses of ChannelHandler in io.netty.handler.proxy
Classes in io.netty.handler.proxy that implement ChannelHandlerModifier and TypeClassDescriptionfinal class
Handler that establishes a blind forwarding proxy tunnel using HTTP/1.1 CONNECT request.private static final class
class
A common abstraction for protocols that establish blind forwarding proxy tunnels.final class
Handler that establishes a blind forwarding proxy tunnel using SOCKS4 protocol.final class
Handler that establishes a blind forwarding proxy tunnel using SOCKS Protocol Version 5. -
Uses of ChannelHandler in io.netty.handler.ssl
Classes in io.netty.handler.ssl that implement ChannelHandlerModifier and TypeClassDescriptionclass
Enables SNI (Server Name Indication) extension for server side SSL.class
Configures aChannelPipeline
depending on the application-level protocol negotiation result ofSslHandler
.class
OptionalSslHandler
is a utility decoder to support both SSL and non-SSL handlers based on the first message received.class
Enables SNI (Server Name Indication) extension for server side SSL.class
ByteToMessageDecoder
which allows to be notified once a fullClientHello
was received.class
class
TheSslMasterKeyHandler
is a channel-handler you can include in your pipeline to consume the master key invalid input: '&' session identifier for a TLS session.private static final class
Record the session identifier and master key to theInternalLogger
namedio.netty.wireshark
.Methods in io.netty.handler.ssl that return ChannelHandlerModifier and TypeMethodDescriptionprotected ChannelHandler
OptionalSslHandler.newNonSslHandler
(ChannelHandlerContext context) Override to configure the ChannelHandler. -
Uses of ChannelHandler in io.netty.handler.ssl.ocsp
Classes in io.netty.handler.ssl.ocsp that implement ChannelHandlerModifier and TypeClassDescription(package private) static final class
class
A handler for SSL clients to handle and act upon stapled OCSP responses.(package private) final class
class
OcspServerCertificateValidator
validates incoming server's certificate using OCSP. -
Uses of ChannelHandler in io.netty.handler.stream
Classes in io.netty.handler.stream that implement ChannelHandlerModifier and TypeClassDescriptionclass
AChannelHandler
that adds support for writing a large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError
. -
Uses of ChannelHandler in io.netty.handler.timeout
Classes in io.netty.handler.timeout that implement ChannelHandlerModifier and TypeClassDescriptionclass
Triggers anIdleStateEvent
when aChannel
has not performed read, write, or both operation for a while.class
Raises aReadTimeoutException
when no data was read within a certain period of time.class
Raises aWriteTimeoutException
when a write operation cannot finish in a certain period of time. -
Uses of ChannelHandler in io.netty.handler.traffic
Classes in io.netty.handler.traffic that implement ChannelHandlerModifier and TypeClassDescriptionclass
AbstractTrafficShapingHandler allows to limit the global bandwidth (seeGlobalTrafficShapingHandler
) or per session bandwidth (seeChannelTrafficShapingHandler
), as traffic shaping.class
This implementation of theAbstractTrafficShapingHandler
is for channel traffic shaping, that is to say a per channel limitation of the bandwidth.class
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
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. -
Uses of ChannelHandler in io.netty.resolver.dns
Classes in io.netty.resolver.dns that implement ChannelHandlerFields in io.netty.resolver.dns declared as ChannelHandlerModifier and TypeFieldDescriptionprivate static final ChannelHandler
DnsNameResolver.NOOP_HANDLER
SnappyFrameDecoder
instead.