All Classes and Interfaces
Class
Description
Abstract base class for code that seeks to avoid pinning of webapp classloaders by using the jetty classloader to
proactively call the code that pins them (generally pinned as static data members, or as static
data members that are daemon threads (which use the context classloader)).
Basic implementation of the life cycle interface for components.
Deprecated, for removal: This API element is subject to removal in a future version.
An exception, which when thrown by
AbstractLifeCycle.doStart() will immediately stop the componentAn adaptive execution strategy that uses the
Invocable status
of both the task and the current thread to select an optimal strategy
that prioritizes executing the task immediately in the current
producing thread if it can be done so without thread starvation issues.An
X509ExtendedKeyManager that select a key with desired alias,
delegating other processing to a nested X509ExtendedKeyManager.Cause the classloader that is pinned by AppContext.getAppContext() to be
a container or system classloader, not a webapp classloader.
Utility methods for Array manipulation
An AtomicLong with additional methods to treat it as two hi/lo integers.
Abstract mechanism to support attachment of miscellaneous objects.
An Attributes implementation that holds it's values in an immutable
ContainerLifeCycleNormalize Attribute to String.
Attributes.
An
Attributes implementation backed by another Attributes instance, which is treated as immutable, but with a
ConcurrentHashMap used as a mutable layer over it.An
Attributes implementation that lazily creates a backing map iff it is actually needed.An Attributes implementation backed by a
ConcurrentHashMap.An abstract implementation of
Attributes.Wrapper that provides a mechanism
for synthetic attributes that can be modified or deleted.A Wrapper of attributes
Deprecated.
Reentrant lock that can be used in a try-with-resources statement.
A reentrant lock with a condition that can be used in a try-with-resources statement.
The java.awt.Toolkit class has a static field that is the default toolkit.
A shared reusable Blocking source.
A BlockingQueue backed by a circular array capable of growing.
Buffer utility methods.
Byte Array ISO 8859 writer.
ByteArrayOutputStream with public internals
A callback abstraction that handles completed/failed events of asynchronous operations.
A combination of multiple Callbacks, that must all be completed before a specific callback is completed.
A
CompletableFuture that is also a Callback.A Callback implementation that calls the
Callback.Completing.completed() method when it either succeeds or fails.Nested Completing Callback that completes after
completing the nested callback
Convenience class to handle validation of certificates, aliases and keystores
Build a string from a sequence of bytes and/or characters.
For re-inflating serialized objects, this class uses the thread context classloader
rather than the jvm's default classloader selection.
A matcher for classes based on package and/or location and/or module/
Deprecated.
Interface to be implemented by classes capable of checking class visibility
for a context.
A
CompletableFuture that implements Runnable to perform
a one-shot task that eventually completes this CompletableFuture.A concurrent implementation of
Pool.A Pool entry that holds metadata and a pooled object.
The type of the strategy to use for the pool.
A
Throwable that may be used in static contexts,
for example when stored as a static field.A Container
Inherited Listener.
A listener for Container events.
A ContainerLifeCycle is an
LifeCycle implementation for a collection of contained beans.Statistics on a counter value.
A callback wrapper that succeeds the wrapped callback when the count is
reached, or on first failure.
Credentials.
Unix Crypt Credentials
MD5 Credentials
Provider of credentials, it converts a String into a credential if it starts with a given prefix
Computes String representations of Dates then caches the results so
that subsequent requests within the same second will be fast.
An ObjectFactory enhanced by
Decorator instances.Interface to decorate objects created by the
DecoratedObjectFactoryA Destroyable is an object which can be destroyed.
Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.
A Dumpable that is a container of beans can implement this
interface to allow it to refine which of its beans can be
dumped.
An Appendable that helps avoid dump cycles.
A named runtime environment containing a
ClassLoader and Attributes.Exception (or rather
Throwable utility methods.A strategy where the thread that produces will always run the resulting task.
A producer of
Runnable tasks to run.A
ThreadPool.SizedThreadPool wrapper around ThreadPoolExecutor.A container for name/value pairs, known as fields.
A named list of string values.
Simple, yet surprisingly common utility methods for identifying various file types commonly seen and worked with in a
deployment scenario.
Deprecated.
use
org.eclipse.jetty.server.StateLifeCycleListener insteadTODO figure out if this should be a LifeCycle or not, how many instances of this class can reside in a JVM, who can call sweep and when.
Listener for pool events
Show a StackTrace
Jetty components that wish to be part of a Graceful shutdown implement this interface so that
the
Graceful.shutdown() method will be called to initiate a shutdown.A utility class to assist implementing the Graceful interface.
A LifeCycle listener that halts the JVM with exit
code
0 when notified of the "started" event.Parse an authority string (in the form
host:port) into
host and port, handling IPv4 and IPv6 host formats
as defined in RFC 2732Utility class to maintain a set of inclusions and exclusions.
Utility class to maintain a set of inclusions and exclusions.
An immutable String lookup data structure.
Builder of
Index instances.A mutable String lookup data structure.
Builder of
Index.Mutable instances.A pattern representing a single or range of
InetAddress.A set of InetAddress patterns.
IntrospectionUtil
A task (typically either a
Runnable or Invocable.Callable
that declares how it will behave when invoked:The behavior of an
Invocable task when it is called.A
Runnable decorated with an Invocable.InvocationType.A
Runnable task with an Invocable.InvocationType.An abstract partial implementation of Task
IO Utilities.
This specialized callback implements a pattern that allows
a large asynchronous task to be broken into smaller
asynchronous sub-tasks using iteration rather than recursion.
The indication of the overall progress of the iteration
that implementations of
IteratingCallback.process() must return.Iterating Nested Callback.
Java Version Utility class.
The
KeyStoreScanner is used to monitor the KeyStore file used by the SslContextFactory.Lazy List creation.
The lifecycle interface for generic components.
Listener.
ClassLoader Helper.
A
Pool.Wrapper that tracks the acquire/release/remove pool events.A receiver of
Pool events.The
@ManagedAttribute annotation is used to indicate that a given method
exposes a JMX attribute.The
@ManagedObject annotation is used on a class at the top level to
indicate that it should be exposed as an mbean.The
@ManagedOperation annotation is used to indicate that a given method
should be considered a JMX operation.An in memory Resource
MemoryUtils provides an abstraction over memory properties and operations.
A
QueuedThreadPool subclass that monitors its own activity by recording queue and task statistics.Java NIO Path Resource with file system pooling.
A multi valued Map.
Handle a multipart MIME response.
Handle a multipart MIME response.
Utility class to handle a Multi Release Jar file
This annotation is used to describe variables in method
signatures so that when rendered into tools like JConsole
it is clear what the parameters are.
A utility Dumpable to dump a JNDI naming context tree.
Naming Utility Methods
Utility class with methods that deal with
System.nanoTime().This password utility class obtains a password or pass phrase either by:
Java NIO Path Resource.
Create a PID file for the running process.
A pool of objects, with support for multiplexing and several
optimized strategies plus an optional
ThreadLocal cache
of the last released entry.A
Pool entry that holds metadata and a pooled object.A wrapper for
Entry instances.A factory for
Pool instances.A wrapper for
Pool instances.ProcessorUtils provides access to runtime info about processors, that may be
overridden by system properties or environment variables.
A strategy where the caller thread iterates over task production, submitting each
task to an
Executor for execution.A strategy where the caller thread iterates over task production, submitting each
task to an
Executor for execution.An abstraction for a completed/failed result of an asynchronous operation.
A CompletableFuture that is also a Promise.
An
Invocable Promise that provides
the Invocable.InvocationType of calls to Promise.succeeded(Object).Abstract implementation of
Promise.Invocable
with the specified Invocable.InvocationType.Abstract implementation of
Promise.Invocable with
Invocable.InvocationType set to Invocable.InvocationType.NON_BLOCKING.A thread pool with a queue of jobs to execute.
A Tokenizer that splits a string into parts, allowing for quotes.
Counts the rate that
Longs are added to this from the time of creation or the last call to RateCounter.reset().Statistics on a time sequence rate.
A Set of Regular expressions strings.
A TryExecutor using pre-allocated/reserved threads from an external Executor.
A Resource is a wrapper over a
Path object pointing to a file or directory that can be represented by aFileSystem.ResourceFactory is the source of new
Resource instances.Collection of helpful static methods for working with
Resource objects.Specialized
UriPatternPredicate to allow filtering Resource entries by their URI.An implementation of
QuotedStringTokenizer with partial handling of
RFC9110 quoted-strings.This output stream puts content in a file that is rolled over every 24 hours.
Statistics on a sampled value.
Utility for scanning a directory for added, removed, and changed
files and reporting these events via registered Listeners.
Notification of files that changed in the last scan.
Notification of exact file changes in the last scan.
Marker for notifications of file changes.
Listener that notifies when a scan has started and when it has ended.
Implementation of
Scheduler based on JDK's ScheduledThreadPoolExecutor.Schedules tasks to be executed after a delay.
A delayed task that can be cancelled.
Fast search for patterns within strings, arrays of
bytes and
ByteBuffers.Collections of utility methods to deal with the scheduled removal
of the security classes defined by JEP 411.
Ensures serial execution of submitted tasks.
Error handling task
Ensures serial invocation of submitted tasks.
Deprecated.
ShutdownThread is a shutdown hook thread implemented as
singleton that maintains a list of lifecycle instances
that are registered with it and provides ability to stop
these lifecycles upon shutdown of the Java Virtual Machine
A
X509ExtendedKeyManager that selects a key with an alias
retrieved from SNI information, delegating other processing to a nested X509ExtendedKeyManager.Selects a certificate based on SNI information.
Creates
SocketAddress instances, returning them through a Promise.Creates
InetSocketAddress instances asynchronously in a different thread.Creates
InetSocketAddress instances synchronously in the caller thread.SslContextFactory is used to configure SSL parameters
to be used by server and client connectors.
A provider for SNI names to send to the server during the TLS handshake.
A wrapper that delegates to another (if not
null) X509ExtendedKeyManager.A wrapper that delegates to another (if not
null) X509ExtendedTrustManager.Deprecated, for removal: This API element is subject to removal in a future version.
use
ConstantThrowable insteadA LifeCycle that when started will stop another LifeCycle
Fast String Utilities.
A utility class to perform periodic sweeping of resources.
A
Sweeper.Sweepable resource implements this interface to
signal to a Sweeper or to a parent container if it
needs to be swept or not.A fixed sized pool of items that uses ThreadId to avoid contention.
A pool for threads.
Specialized sub-interface of ThreadPool that allows to get/set
the minimum and maximum number of threads of the pool.
A budget of required thread usage, used to warn or error for insufficient configured threads.
Deprecated, for removal: This API element is subject to removal in a future version.
use
ScheduledExecutorScheduler instead.Topological sort a list or array.
A variation of Executor that can confirm if a thread is available immediately
TYPE Utilities.
Unix Crypt.
Provide for a Uptime class that is compatible with Android, GAE, and the new Java 8 compact profiles
URI Utility methods.
Handles coding of MIME "x-www-form-urlencoded".
ResourceFactory for URL based resources.Stateful parser for lines of UTF8 formatted text, looking for
"\n" as a line termination character.
This class wraps a standard
StringBuilder and provides methods to append
UTF-8 encoded bytes, that are converted into characters.An implementation of
ThreadPool interface that does not pool, but instead uses VirtualThreads.Utility class to use to query the runtime for virtual thread support,
and, if virtual threads are supported, to start virtual threads.
Implementations of this interface can be configured to use virtual threads.
LifeCycle.Listenerhas default methods.