Top Description Interfaces Annotations Classes
module io.netty.common

Package io.netty.util


Utility classes used across multiple packages.

Interface Summary

Modifier and TypeInterface and Description
public interface
AsyncMapping<IN, OUT>

public interface
Attribute<
the type of the value it holds.
T
>

An attribute which allows to store a value reference.

public interface
AttributeMap

Holds Attributes which can be accessed via AttributeKey.

public interface
BooleanSupplier

Represents a supplier of boolean-valued results.

public interface
ByteProcessor

Provides a mechanism to iterate over a collection of bytes.

public interface
Constant<T extends Constant<T>>

A singleton which is safe to compare via the == operator.

public interface
HashingStrategy<T>

Abstraction for hash code generation and equality comparison.

public interface
IntSupplier

Represents a supplier of int-valued results.

public interface
Mapping<IN, OUT>

Maintains the mapping from the objects of one type to the objects of the other type.

public interface
ReferenceCounted

A reference-counted object that requires explicit deallocation.

public interface
ResourceLeak

Deprecated please use ResourceLeakTracker as it may lead to false-positives.
public interface
ResourceLeakHint

A hint object that provides human-readable message for easier resource leak tracking.

public interface
public interface
Timeout

A handle associated with a TimerTask that is returned by a Timer.

public interface
Timer

Schedules TimerTasks for one-time future execution in a background thread.

public interface
TimerTask

A task which is executed after the delay specified with Timer#newTimeout(TimerTask, long, TimeUnit).

public interface
UncheckedBooleanSupplier

Represents a supplier of boolean-valued results which doesn't throw any checked exceptions.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
SuppressForbidden

Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractConstant<T extends AbstractConstant<T>>

Base implementation of Constant.

public abstract class
AbstractReferenceCounted

Abstract base class for classes wants to implement ReferenceCounted.

public class
AsciiString

A string which has been encoded into a character encoding whose character always takes a single byte, similarly to ASCII.

public class
AttributeKey<
the type of the Attribute which can be accessed via this AttributeKey.
T
>

Key which can be used to access Attribute out of the AttributeMap.

pack-priv class
public class
CharsetUtil

A utility class that provides various common operations and constants related with Charset and its relevant classes.

public abstract class
ConstantPool<
the type of the constant
T extends Constant<T>
>

A pool of Constants.

public class
DefaultAttributeMap

Default AttributeMap implementation which not exibit any blocking behaviour on attribute lookup while using a copy-on-write approach on the modify path.

public class
DomainMappingBuilder<
concrete type of value objects
V
>

Deprecated Use DomainWildcardMappingBuilder instead.
Builder for immutable DomainNameMapping instances.
public class
DomainNameMapping<V>

Maps a domain name to its associated value object.
public class
DomainNameMappingBuilder<
concrete type of value objects
V
>

Builder for immutable DomainNameMapping instances.
public class
DomainWildcardMappingBuilder<
the type of the value that we map to.
V
>

Builder that allows to build Mappings that support DNS wildcard matching.

public class
HashedWheelTimer

A Timer optimized for approximated I/O timeout scheduling.

public class
IllegalReferenceCountException

An IllegalStateException which is raised when a user attempts to access a ReferenceCounted whose reference count has been decreased to 0 (and consequently freed).

public class
NettyRuntime

A utility class for wrapping calls to Runtime.

public class
NetUtil

A class that holds a number of network-related constants.

pack-priv class
pack-priv class
public abstract class
Recycler<
the type of the pooled object
T
>

Light-weight object pool based on a thread-local stack.

public class
ReferenceCountUtil

Collection of method to handle objects that may implement ReferenceCounted.

public class
public abstract class
ResourceLeakDetectorFactory

This static factory should be used to load ResourceLeakDetectors as needed

public class
ResourceLeakException

Deprecated This class will be removed in the future version.
public class
Signal

A special Error which is used to signal some state or request by throwing it.

public class
ThreadDeathWatcher

Deprecated will be removed in the next major release
Checks if a thread is alive periodically and runs a task when a thread dies.
public class
Version

Retrieves the version information of available Netty artifacts.