Uses of Interface
io.netty.channel.ChannelOutboundHandler
Packages that use ChannelOutboundHandler
Package
Description
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
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.
HTTP/3 implementation.
Decoder and Encoder which uses JBoss Marshalling.
Common superset of ascii and binary classes.
Implementations and Interfaces for the Memcache Binary protocol.
Encoder, decoder and different Message Types for MQTT.
Encoder and decoder which transform a
Google Protocol Buffers
Message and MessageNano into a
ByteBuf and vice versa.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 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
Package to control the flow of messages.
Package to control flush behavior.
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
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.
-
Uses of ChannelOutboundHandler in io.netty.channel
Classes in io.netty.channel with type parameters of type ChannelOutboundHandlerModifier and TypeClassDescriptionclassCombinedChannelDuplexHandler<I extends ChannelInboundHandler, O extends ChannelOutboundHandler>Classes in io.netty.channel that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassChannelHandlerimplementation which represents a combination out of aChannelInboundHandlerand theChannelOutboundHandler.classSkeleton implementation of aChannelOutboundHandler.classCombinedChannelDuplexHandler<I extends ChannelInboundHandler, O extends ChannelOutboundHandler> -
Uses of ChannelOutboundHandler in io.netty.handler.address
Classes in io.netty.handler.address that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassChannelOutboundHandlerimplementation which allows to dynamically replace the usedremoteAddressand / orlocalAddresswhen making a connection attempt.classChannelOutboundHandlerAdapterwhich will resolve theSocketAddressthat is passed toResolveAddressHandler.connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise)if it is not already resolved and theAddressResolversupports the type ofSocketAddress. -
Uses of ChannelOutboundHandler in io.netty.handler.codec
Classes in io.netty.handler.codec that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassA Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.classAn encoder that encodes the content inAddressedEnvelopetoDatagramPacketusing the specified message encoder.classAn encoder that prepends the length of the message.classChannelOutboundHandlerAdapterwhich 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.classChannelOutboundHandlerAdapterwhich encodes from one message to an other message For example here is an implementation which decodes anIntegerto anString. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.base64
Classes in io.netty.handler.codec.base64 that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass -
Uses of ChannelOutboundHandler in io.netty.handler.codec.bytes
Classes in io.netty.handler.codec.bytes that implement ChannelOutboundHandler -
Uses of ChannelOutboundHandler in io.netty.handler.codec.compression
Classes in io.netty.handler.codec.compression that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classCompress aByteBufwith the Brotli compression.classCompresses aByteBufusing the Bzip2 algorithm.classCompresses aByteBufusing the FastLZ algorithm.classCompresses aByteBufusing the deflate algorithm.classCompresses aByteBufusing the deflate algorithm.classCompresses aByteBufusing the LZ4 format.classCompresses aByteBufusing the LZF format.classCompresses aByteBufusing the LZMA algorithm.classDeprecated.classCompresses aByteBufusing the Snappy framing format.classCompresses aByteBufusing the deflate algorithm.final classCompresses aByteBufusing the Zstandard algorithm. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.dns
Classes in io.netty.handler.codec.dns that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassclassfinal classfinal class -
Uses of ChannelOutboundHandler in io.netty.handler.codec.haproxy
Classes in io.netty.handler.codec.haproxy that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classEncodes an HAProxy proxy protocol message -
Uses of ChannelOutboundHandler in io.netty.handler.codec.http
Classes in io.netty.handler.codec.http that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classA combination ofHttpRequestEncoderandHttpResponseDecoderwhich enables easier client side HTTP implementation.classClient-side handler for handling an HTTP upgrade handshake to another protocol.classCompresses anHttpMessageand anHttpContentingzipordeflateencoding while respecting the"Accept-Encoding"header.classEncodes the content of the outboundHttpResponseandHttpContent.classHttpObjectEncoder<H extends HttpMessage>classclassfinal classA combination ofHttpRequestDecoderandHttpResponseEncoderwhich enables easier server side HTTP implementation.classHttpServerKeepAliveHandler helps close persistent connections when appropriate. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.http.cors
Classes in io.netty.handler.codec.http.cors that implement ChannelOutboundHandler -
Uses of ChannelOutboundHandler in io.netty.handler.codec.http.websocketx
Subinterfaces of ChannelOutboundHandler in io.netty.handler.codec.http.websocketxModifier and TypeInterfaceDescriptioninterfaceMarker interface which all WebSocketFrame encoders need to implement.Classes in io.netty.handler.codec.http.websocketx that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassEncodes aWebSocketFrameinto aByteBuf.classEncodes a web socket frame into wire protocol version 7 format.classEncodes a web socket frame into wire protocol version 8 format.classEncodes a web socket frame into wire protocol version 13 format.classThis handler does all the heavy lifting for you to run a websocket client.classThis handler does all the heavy lifting for you to run a websocket server. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.http.websocketx.extensions
Classes in io.netty.handler.codec.http.websocketx.extensions that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassThis handler negotiates and initializes the WebSocket Extensions.classConvenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension encoder.classThis handler negotiates and initializes the WebSocket Extensions. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.http.websocketx.extensions.compression
Classes in io.netty.handler.codec.http.websocketx.extensions.compression that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classExtends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler to handle the most common WebSocket Compression Extensions.classExtends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketServerExtensionHandler to handle the most common WebSocket Compression Extensions. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassAChannelDuplexHandlerproviding additional functionality for HTTP/2.classProvides the default implementation for processing inbound frame events and delegates to aHttp2FrameListenerclassAn HTTP/2 handler that maps HTTP/2 frames toHttp2Frameobjects and vice versa.classDeprecated.useHttp2FrameCodecBuildertogether withHttp2MultiplexHandler.final classAn HTTP/2 handler that creates child channels for each stream.classThis handler converts fromHttp2StreamFrametoHttpObject, and back.classTranslates HTTP/1.x object writes into HTTP/2 frames. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.http3
Classes in io.netty.handler.codec.http3 that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classThis handler converts fromHttp3RequestStreamFrametoHttpObject, and back. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.marshalling
Classes in io.netty.handler.codec.marshalling that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal an Object.classMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal an Object. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.memcache
Classes in io.netty.handler.codec.memcache that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassAbstractMemcacheObjectEncoder<M extends MemcacheMessage>A general purposeAbstractMemcacheObjectEncoderthat encodesMemcacheMessages. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.memcache.binary
Classes in io.netty.handler.codec.memcache.binary that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassAMessageToByteEncoderthat encodes binary memcache messages into bytes.final classThe client codec that combines the proper encoder and decoder.classThe encoder part which takes care of encoding the request headers.classThe encoder which takes care of encoding the response headers.classThe full server codec that combines the correct encoder and decoder. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.mqtt
Classes in io.netty.handler.codec.mqtt that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal class -
Uses of ChannelOutboundHandler in io.netty.handler.codec.protobuf
Classes in io.netty.handler.codec.protobuf that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassclassclassAn encoder that prepends the Google Protocol Buffers Base 128 Varints integer length field. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.redis
Classes in io.netty.handler.codec.redis that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassEncodesRedisMessageinto bytes following RESP (REdis Serialization Protocol). -
Uses of ChannelOutboundHandler in io.netty.handler.codec.rtsp
Classes in io.netty.handler.codec.rtsp that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassclassRtspObjectEncoder<H extends HttpMessage>Deprecated.UseRtspEncoderinstead.classDeprecated.UseRtspEncoderdirectly insteadclassDeprecated.UseRtspEncoderdirectly instead -
Uses of ChannelOutboundHandler in io.netty.handler.codec.sctp
Classes in io.netty.handler.codec.sctp that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassA ChannelHandler which transformByteBuftoSctpMessageand send it through a specific stream with given protocol identifier. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.serialization
Classes in io.netty.handler.codec.serialization that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassDeprecated.This class has been deprecated with no replacement, because serialization can be a security liabilityclassDeprecated.This class has been deprecated with no replacement, because serialization can be a security liability -
Uses of ChannelOutboundHandler in io.netty.handler.codec.smtp
Classes in io.netty.handler.codec.smtp that implement ChannelOutboundHandler -
Uses of ChannelOutboundHandler in io.netty.handler.codec.socks
Classes in io.netty.handler.codec.socks that implement ChannelOutboundHandler -
Uses of ChannelOutboundHandler in io.netty.handler.codec.socksx.v4
Classes in io.netty.handler.codec.socksx.v4 that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classEncodes aSocks4CommandRequestinto aByteBuf.final classEncodes aSocks4CommandResponseinto aByteBuf. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.socksx.v5
Classes in io.netty.handler.codec.socksx.v5 that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassEncodes a client-sideSocks5Messageinto aByteBuf.classEncodes a server-sideSocks5Messageinto aByteBuf. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.spdy
Classes in io.netty.handler.codec.spdy that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassAChannelHandlerthat encodes and decodes SPDY Frames.final classA combination ofSpdyHttpDecoderandSpdyHttpEncoderclassEncodesHttpRequests,HttpResponses, andHttpContents intoSpdySynStreamFrames andSpdySynReplyFrames.classMessageToMessageCodecthat takes care of adding the rightSpdyHttpHeaders.Names.STREAM_IDto theHttpMessageif one is not present.classManages streams within a SPDY session. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.stomp
Classes in io.netty.handler.codec.stomp that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass -
Uses of ChannelOutboundHandler in io.netty.handler.codec.string
Classes in io.netty.handler.codec.string that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassclass -
Uses of ChannelOutboundHandler in io.netty.handler.flow
Classes in io.netty.handler.flow that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassTheFlowControlHandlerensures that only one message perread()is sent downstream. -
Uses of ChannelOutboundHandler in io.netty.handler.flush
Classes in io.netty.handler.flush that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassChannelDuplexHandlerwhich consolidatesChannel.flush()/ChannelHandlerContext.flush()operations (which also includesChannel.writeAndFlush(Object)/Channel.writeAndFlush(Object, ChannelPromise)andChannelOutboundInvoker.writeAndFlush(Object)/ChannelOutboundInvoker.writeAndFlush(Object, ChannelPromise)). -
Uses of ChannelOutboundHandler in io.netty.handler.logging
Classes in io.netty.handler.logging that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassAChannelHandlerthat logs all events using a logging framework. -
Uses of ChannelOutboundHandler in io.netty.handler.pcap
Classes in io.netty.handler.pcap that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classPcapWriteHandlercapturesByteBuffromSocketChannel/ServerChannelorDatagramPacketand writes it into PcapOutputStream. -
Uses of ChannelOutboundHandler in io.netty.handler.proxy
Classes in io.netty.handler.proxy that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal classHandler that establishes a blind forwarding proxy tunnel using HTTP/1.1 CONNECT request.classA common abstraction for protocols that establish blind forwarding proxy tunnels.final classHandler that establishes a blind forwarding proxy tunnel using SOCKS4 protocol.final classHandler that establishes a blind forwarding proxy tunnel using SOCKS Protocol Version 5. -
Uses of ChannelOutboundHandler in io.netty.handler.ssl
Classes in io.netty.handler.ssl that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassEnables SNI (Server Name Indication) extension for server side SSL.classEnables SNI (Server Name Indication) extension for server side SSL.classByteToMessageDecoderwhich allows to be notified once a fullClientHellowas received.class -
Uses of ChannelOutboundHandler in io.netty.handler.stream
Classes in io.netty.handler.stream that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassAChannelHandlerthat adds support for writing a large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError. -
Uses of ChannelOutboundHandler in io.netty.handler.timeout
Classes in io.netty.handler.timeout that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassTriggers anIdleStateEventwhen aChannelhas not performed read, write, or both operation for a while.classRaises aReadTimeoutExceptionwhen no data was read within a certain period of time.classRaises aWriteTimeoutExceptionwhen a write operation cannot finish in a certain period of time. -
Uses of ChannelOutboundHandler in io.netty.handler.traffic
Classes in io.netty.handler.traffic that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclassAbstractTrafficShapingHandler allows to limit the global bandwidth (seeGlobalTrafficShapingHandler) or per session bandwidth (seeChannelTrafficShapingHandler), as traffic shaping.classThis implementation of theAbstractTrafficShapingHandleris for channel traffic shaping, that is to say a per channel limitation of the bandwidth.classThis 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.classThis implementation of theAbstractTrafficShapingHandleris for global traffic shaping, that is to say a global limitation of the bandwidth, whatever the number of opened channels.
SnappyFrameEncoderinstead.