Package org.eclipse.jetty.util
package org.eclipse.jetty.util
Jetty Util : Common Utility Classes
-
ClassDescriptionUtility methods for Array manipulationAn AtomicLong with additional methods to treat it as two hi/lo integers.Abstract mechanism to support attachment of miscellaneous objects.Attributes.A Wrapper of attributesA BlockingQueue backed by a circular array capable or growing.Buffer utility methods.Byte Array ISO 8859 writer.ByteArrayOutputStream with public internalsA callback abstraction that handles completed/failed events of asynchronous operations.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 callbackBuild a string from a sequence of bytes and/or characters.ClassLoadingObjectInputStream For re-inflating serialized objects, this class uses the thread context classloader rather than the jvm's default classloader selection.ClassVisibilityChecker Interface to be implemented by classes capable of checking class visibility for a context.AThrowable
that may be used in static contexts.A callback wrapper that succeeds the wrapped callback when the count is reached, or on first failure.Computes String representations of Dates then caches the results so that subsequent requests within the same second will be fast.An ObjectFactory enhanced byDecorator
instances.Interface to decorate objects created by theDecoratedObjectFactory
A container for name/value pairs, known as fields.A named list of string values.HostMap<TYPE>Parse an authority string (in the formhost:port
) intohost
andport
, handling IPv4 and IPv6 host formats as defined in RFC 2732Implementation ofCookieStore
that delegates to an instance created byCookieManager
viaCookieManager.getCookieStore()
.IncludeExclude<ITEM>Utility class to maintain a set of inclusions and exclusions.IncludeExcludeSet<T,P> Utility class to maintain a set of inclusions and exclusions.Index<V>An immutable String lookup data structure.Builder ofIndex
instances.A mutable String lookup data structure.Builder ofIndex.Mutable
instances.A pattern representing a single or range ofInetAddress
.A set of InetAddress patterns.IntrospectionUtilIO 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 ofIteratingCallback.process()
must return.Iterating Nested Callback.Java Version Utility class.Lazy List creation.LeakDetector<T>A facility to detect improper usage of resource pools.ClassLoader Helper.MemoryUtils provides an abstraction over memory properties and operations.Wraps multiple exceptions.MultiMap<V>A multi valued Map.Handle a multipart MIME response.Handle a multipart MIME response.Utility class to handle a Multi Release Jar fileUtility class with methods that deal withSystem.nanoTime()
.Watch a Path (and sub directories) for Path changes.Listener that reports accumulated events in one shotListener for path change eventsType of an eventCreate a PID file for the running process.Pool<T>A pool of objects, with optional support for multiplexing, max usage count and several optimized strategies plus an optionalThreadLocal
cache of the last release entry.The type of the strategy to use for the pool.ProcessorUtils provides access to runtime info about processors, that may be overridden by system properties or environment variables.Promise<C>A callback abstraction that handles completed/failed events of asynchronous operations.Empty implementation ofPromise
.A CompletableFuture that is also a Promise.StringTokenizer with Quoting support.Deprecated, for removal: This API element is subject to removal in a future version.A Set of Regular expressions strings.RolloverFileOutputStream.Scanner 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.Listener Marker for notifications re file changes.Listener that notifies when a scan has started and when it has ended.SearchPattern Fast search for patterns within strings and arrays of bytes.Provides a reusableCallback
that can block the thread while waiting to be completed.CreatesSocketAddress
instances, returning them through aPromise
.CreatesInetSocketAddress
instances asynchronously in a different thread.CreatesInetSocketAddress
instances synchronously in the caller thread.This exception can safely be stored in a static variable as suppressed exceptions are disabled, meaning callingThrowable.addSuppressed(Throwable)
has no effect.Fast String Utilities.Topological sort a list or array.TYPE Utilities.Provide for a Uptime class that is compatible with Android, GAE, and the new Java 8 compact profilesURI Utility methods.Handles coding of MIME "x-www-form-urlencoded".Utf8 Appendable abstract base class This abstract class wraps a standardAppendable
and provides methods to append UTF-8 encoded bytes, that are converted into characters.Stateful parser for lines of UTF8 formatted text, looking for"\n"
as a line termination character.UTF-8 StringBuffer.UTF-8 StringBuilder.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.