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.
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.
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 TypeClassDescriptionclass
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,
O extends ChannelOutboundHandler> Classes in io.netty.channel that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
ChannelHandler
implementation which represents a combination out of aChannelInboundHandler
and theChannelOutboundHandler
.class
Skeleton implementation of aChannelOutboundHandler
.class
CombinedChannelDuplexHandler<I extends ChannelInboundHandler,
O extends ChannelOutboundHandler> (package private) final class
Fields in io.netty.channel declared as ChannelOutboundHandler -
Uses of ChannelOutboundHandler in io.netty.handler.address
Classes in io.netty.handler.address that implement ChannelOutboundHandlerModifier 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 ChannelOutboundHandler in io.netty.handler.codec
Classes in io.netty.handler.codec that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa.private final class
class
An encoder that encodes the content inAddressedEnvelope
toDatagramPacket
using the specified message encoder.class
An encoder that prepends the length of the 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
ChannelOutboundHandlerAdapter
which encodes from one message to an other message For example here is an implementation which decodes anInteger
to 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 TypeClassDescriptionclass
Compresses aByteBuf
using the Bzip2 algorithm.class
Compresses aByteBuf
using the FastLZ algorithm.class
Compresses aByteBuf
using the deflate algorithm.class
Compresses aByteBuf
using the deflate algorithm.class
Deprecated.class
Compresses aByteBuf
using the Snappy framing format.class
Compresses aByteBuf
using the deflate algorithm. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.dns
Classes in io.netty.handler.codec.dns that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
class
final class
final class
-
Uses of ChannelOutboundHandler in io.netty.handler.codec.haproxy
Classes in io.netty.handler.codec.haproxy that implement ChannelOutboundHandlerModifier and TypeClassDescriptionfinal class
Encodes 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 class
A combination ofHttpRequestEncoder
andHttpResponseDecoder
which enables easier client side HTTP implementation.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
Encodes the content of the outboundHttpResponse
andHttpContent
.class
HttpObjectEncoder<H extends HttpMessage>
class
class
final class
A combination ofHttpRequestDecoder
andHttpResponseEncoder
which enables easier server side HTTP implementation.private final class
class
HttpServerKeepAliveHandler 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 TypeInterfaceDescriptioninterface
Marker interface which all WebSocketFrame encoders need to implement.Classes in io.netty.handler.codec.http.websocketx that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
Encodes aWebSocketFrame
into aByteBuf
.class
Encodes a web socket frame into wire protocol version 7 format.class
Encodes a web socket frame into wire protocol version 8 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
This 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 TypeClassDescriptionclass
This handler negotiates and initializes the WebSocket Extensions.class
Convenient class for io.netty.handler.codec.http.websocketx.extensions.WebSocketExtension encoder.class
This 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 TypeClassDescription(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 compressor.(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 ChannelOutboundHandler in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
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
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. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.memcache
Classes in io.netty.handler.codec.memcache that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
AbstractMemcacheObjectEncoder<M extends MemcacheMessage>
A general purposeAbstractMemcacheObjectEncoder
that encodesMemcacheMessage
s. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.memcache.binary
Classes in io.netty.handler.codec.memcache.binary that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
AMessageToByteEncoder
that encodes binary memcache messages into bytes.final class
The client codec that combines the proper encoder and decoder.private final class
class
The encoder part which takes care of encoding the request 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 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.redis
Classes in io.netty.handler.codec.redis that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
EncodesRedisMessage
into 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 TypeClassDescriptionclass
class
RtspObjectEncoder<H extends HttpMessage>
Deprecated.UseRtspEncoder
instead.class
Deprecated.UseRtspEncoder
directly insteadclass
Deprecated.UseRtspEncoder
directly instead -
Uses of ChannelOutboundHandler in io.netty.handler.codec.serialization
Classes in io.netty.handler.codec.serialization that implement ChannelOutboundHandlerModifier 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 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 class
Encodes aSocks4CommandRequest
into aByteBuf
.final class
Encodes aSocks4CommandResponse
into aByteBuf
. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.socksx.v5
Classes in io.netty.handler.codec.socksx.v5 that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
Encodes a client-sideSocks5Message
into aByteBuf
.class
Encodes a server-sideSocks5Message
into aByteBuf
. -
Uses of ChannelOutboundHandler in io.netty.handler.codec.spdy
Classes in io.netty.handler.codec.spdy that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
AChannelHandler
that encodes and decodes SPDY Frames.final class
A combination ofSpdyHttpDecoder
andSpdyHttpEncoder
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 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 TypeClassDescriptionclass
class
-
Uses of ChannelOutboundHandler in io.netty.handler.flow
Classes in io.netty.handler.flow that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
TheFlowControlHandler
ensures 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 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 ChannelOutboundHandler in io.netty.handler.logging
Classes in io.netty.handler.logging that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
AChannelHandler
that 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 class
PcapWriteHandler
capturesByteBuf
fromSocketChannel
/ServerChannel
orDatagramPacket
and writes it into PcapOutputStream
. -
Uses of ChannelOutboundHandler in io.netty.handler.proxy
Classes in io.netty.handler.proxy that implement ChannelOutboundHandlerModifier 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 ChannelOutboundHandler in io.netty.handler.ssl
Classes in io.netty.handler.ssl that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
Enables SNI (Server Name Indication) extension for server side SSL.class
Enables SNI (Server Name Indication) extension for server side SSL.class
ByteToMessageDecoder
which allows to be notified once a fullClientHello
was received.class
-
Uses of ChannelOutboundHandler in io.netty.handler.stream
Classes in io.netty.handler.stream that implement ChannelOutboundHandlerModifier and TypeClassDescriptionclass
AChannelHandler
that 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 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 ChannelOutboundHandler in io.netty.handler.traffic
Classes in io.netty.handler.traffic that implement ChannelOutboundHandlerModifier 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.
SnappyFrameEncoder
instead.