Uses of Annotation Type
io.netty.channel.ChannelHandler.Sharable
Packages that use ChannelHandler.Sharable
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, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, handshakers to handle most common WebSocket Compression Extensions.
Handlers for sending and receiving HTTP/2 frames.
Encoder, decoder and different Message Types for MQTT.
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.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.
Package to filter IP addresses (allow/deny).
Logs the I/O events for debugging purpose.
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
-
Uses of ChannelHandler.Sharable in io.netty.channel
Classes in io.netty.channel with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
ChannelInitializer<C extends Channel>
A specialChannelInboundHandler
which offers an easy way to initialize aChannel
once it was registered to itsEventLoop
. -
Uses of ChannelHandler.Sharable in io.netty.handler.address
Classes in io.netty.handler.address with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
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.Sharable in io.netty.handler.codec
Classes in io.netty.handler.codec with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
An encoder that prepends the length of the message. -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.base64
Classes in io.netty.handler.codec.base64 with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
class
-
Uses of ChannelHandler.Sharable in io.netty.handler.codec.bytes
Classes in io.netty.handler.codec.bytes with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.dns
Classes in io.netty.handler.codec.dns with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
Decodes aDatagramPacket
into aDatagramDnsQuery
.class
class
Decodes aDatagramPacket
into aDatagramDnsResponse
.class
final class
final class
-
Uses of ChannelHandler.Sharable in io.netty.handler.codec.haproxy
Classes in io.netty.handler.codec.haproxy with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionfinal class
Encodes an HAProxy proxy protocol message -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.http.websocketx
Classes in io.netty.handler.codec.http.websocketx with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.http.websocketx.extensions.compression
Classes in io.netty.handler.codec.http.websocketx.extensions.compression with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionfinal class
Extends io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientExtensionHandler to handle the most common WebSocket Compression Extensions. -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
This handler converts fromHttp2StreamFrame
toHttpObject
, and back. -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.mqtt
Classes in io.netty.handler.codec.mqtt with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionfinal class
-
Uses of ChannelHandler.Sharable in io.netty.handler.codec.rtsp
Classes in io.netty.handler.codec.rtsp with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.serialization
Classes in io.netty.handler.codec.serialization with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
Deprecated.This class has been deprecated with no replacement, because serialization can be a security liability -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.socks
Classes in io.netty.handler.codec.socks with annotations of type ChannelHandler.Sharable -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.socksx.v4
Classes in io.netty.handler.codec.socksx.v4 with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionfinal class
Encodes aSocks4CommandRequest
into aByteBuf
.final class
Encodes aSocks4CommandResponse
into aByteBuf
. -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.socksx.v5
Classes in io.netty.handler.codec.socksx.v5 with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
Encodes a client-sideSocks5Message
into aByteBuf
.class
Encodes a server-sideSocks5Message
into aByteBuf
. -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.string
Classes in io.netty.handler.codec.string with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
class
class
-
Uses of ChannelHandler.Sharable in io.netty.handler.ipfilter
Classes in io.netty.handler.ipfilter with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
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.Sharable in io.netty.handler.logging
Classes in io.netty.handler.logging with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
AChannelHandler
that logs all events using a logging framework. -
Uses of ChannelHandler.Sharable in io.netty.handler.traffic
Classes in io.netty.handler.traffic with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclass
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.
RtspEncoder
instead.