Utility classes used across multiple packages.
Interface Summary Interface Description AsyncMapping<IN,OUT> Attribute<T>An attribute which allows to store a value reference. AttributeMapHolds
Attributes which can be accessed via
ByteProcessorProvides a mechanism to iterate over a collection of bytes. Constant<T extends Constant<T>>A singleton which is safe to compare via the
HashingStrategy<T>Abstraction for hash code generation and equality comparison. Mapping<IN,OUT>Maintains the mapping from the objects of one type to the objects of the other type. Recycler.Handle<T> ReferenceCountedA reference-counted object that requires explicit deallocation. Resource<T extends Resource<T>>A resource that has a life-time, and can be closed. ResourceLeakHintA hint object that provides human-readable message for easier resource leak tracking. ResourceLeakTracker<T> SafeCloseableA
SafeCloseablecan be safely closed without risk of an exception being thrown.
Send<T extends Resource<T>>A temporary holder of a
Resource, used for transferring the ownership of the resource from one thread to another.
TimerTasks for one-time future execution in a background thread.
TimerTaskA task which is executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit).
Class Summary Class Description AbstractConstant<T extends AbstractConstant<T>>Base implementation of
AbstractReferenceCountedAbstract base class for classes wants to implement
AsciiStringA string which has been encoded into a character encoding whose character always takes a single byte, similarly to ASCII. AttributeKey<T>Key which can be used to access
Attributeout of the
ByteProcessorwhich finds the first appearance which is not of a specific byte.
ByteProcessorwhich finds the first appearance of a specific byte.
CharsetUtilA utility class that provides various common operations and constants related with
Charsetand its relevant classes.
ConstantPool<T extends Constant<T>>A pool of
AttributeMapimplementation which not exibit any blocking behaviour on attribute lookup while using a copy-on-write approach on the modify path.
Attributes lookup and remove exibit
O(logn)time worst-case complexity, hence
attribute::set(null)is to be preferred to
DomainNameMapping<V> Deprecated. DomainNameMappingBuilder<V> Deprecated. DomainWildcardMappingBuilder<V>Builder that allows to build
Mappings that support DNS wildcard matching.
Timeroptimized for approximated I/O timeout scheduling.
NettyRuntimeA utility class for wrapping calls to
NetUtilA class that holds a number of network-related constants. Recycler<T>Light-weight object pool based on a thread-local stack. ReferenceCountUtilCollection of method to handle objects that may implement
ResourceLeakDetector<T> ResourceLeakDetectorFactoryThis static factory should be used to load
ResourceLeakDetectors as needed
VersionRetrieves the version information of available Netty artifacts.
Enum Summary Enum Description ResourceLeakDetector.LevelRepresents the level of resource leak detection.
Exception Summary Exception Description IllegalReferenceCountExceptionAn
IllegalStateExceptionwhich is raised when a user attempts to access a
ReferenceCountedwhose reference count has been decreased to 0 (and consequently freed).
Annotation Types Summary Annotation Type Description SuppressForbiddenAnnotation to suppress forbidden-apis errors inside a whole class, a method, or a field.