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.
Decoder and Encoder which uses JBoss Marshalling.
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.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 TypeClassDescriptionclassChannelInitializer<C extends Channel>A specialChannelInboundHandlerwhich offers an easy way to initialize aChannelonce 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 TypeClassDescriptionclassChannelOutboundHandlerAdapterwhich will resolve theSocketAddressthat is passed toResolveAddressHandler.connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise)if it is not already resolved and theAddressResolversupports 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 TypeClassDescriptionclassAn 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 TypeClassDescriptionclassclass -
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.compression
Classes in io.netty.handler.codec.compression 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 TypeClassDescriptionclassDecodes aDatagramPacketinto aDatagramDnsQuery.classclassDecodes aDatagramPacketinto aDatagramDnsResponse.classfinal classfinal 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 classEncodes 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 classExtends 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 TypeClassDescriptionclassThis handler converts fromHttp2StreamFrametoHttpObject, and back. -
Uses of ChannelHandler.Sharable in io.netty.handler.codec.marshalling
Classes in io.netty.handler.codec.marshalling with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclassMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal an Object.classMessageToByteEncoderimplementation which uses JBoss Marshalling to marshal an Object. -
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.protobuf
Classes in io.netty.handler.codec.protobuf with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclassclassclassclassclassAn encoder that prepends the Google Protocol Buffers Base 128 Varints integer length field. -
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 TypeClassDescriptionclassDeprecated.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 classEncodes aSocks4CommandRequestinto aByteBuf.final classEncodes aSocks4CommandResponseinto 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 TypeClassDescriptionclassEncodes a client-sideSocks5Messageinto aByteBuf.classEncodes a server-sideSocks5Messageinto 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 TypeClassDescriptionclassclassclass -
Uses of ChannelHandler.Sharable in io.netty.handler.ipfilter
Classes in io.netty.handler.ipfilter with annotations of type ChannelHandler.SharableModifier and TypeClassDescriptionclassThis class allows one to filter newChannels based on theIpSubnetFilters passed to its constructor.classThis class allows one to filter newChannels based on theIpFilterRules passed to its constructor.classThis class allows one to ensure that at all times for every IP address there is at most oneChannelconnected 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 TypeClassDescriptionclassAChannelHandlerthat 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 TypeClassDescriptionclassThis 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.
RtspEncoderinstead.