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.An
Attributesimplementation backed by anotherAttributesinstance, which is treated as immutable, but with a ConcurrentHashMap used as a mutable layer over it.AnAttributesimplementation that lazily creates a backing map iff it is actually needed.An Attributes implementation backed by aConcurrentHashMap.An abstract implementation ofAttributes.Wrapperthat provides a mechanism for synthetic attributes that can be modified or deleted.A Wrapper of attributesDeprecated.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 internalsA callback abstraction that handles completed/failed events of asynchronous operations.ACompletableFuturethat is also aCallback.A Callback implementation that calls theCallback.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.A matcher for classes based on package and/or location and/or module/ClassMatcher.Constructor<T extends ClassMatcher>Deprecated.Interface to be implemented by classes capable of checking class visibility for a context.ACompletableFuturethat implementsRunnableto perform a one-shot task that eventually completes thisCompletableFuture.A concurrent implementation ofPool.A Pool entry that holds metadata and a pooled object.The type of the strategy to use for the pool.AThrowablethat 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 byDecoratorinstances.Interface to decorate objects created by theDecoratedObjectFactoryException (or ratherThrowableutility methods.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.HostMap<TYPE>Parse an authority string (in the formhost:port) intohostandport, handling IPv4 and IPv6 host formats as defined in RFC 2732IncludeExclude<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 ofIndexinstances.A mutable String lookup data structure.Builder ofIndex.Mutableinstances.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.ClassLoader Helper.LockedPool<P>APool.Wrapperthat tracks the acquire/release/remove pool events.A receiver ofPoolevents.MemoryUtils provides an abstraction over memory properties and operations.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().Create a PID file for the running process.Pool<P>A pool of objects, with support for multiplexing and several optimized strategies plus an optionalThreadLocalcache of the last released entry.Pool.Entry<E>APoolentry that holds metadata and a pooled object.A wrapper forEntryinstances.Pool.Factory<F>A factory forPoolinstances.Pool.Wrapper<W>A wrapper forPoolinstances.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.AnInvocablePromisethat provides theInvocable.InvocationTypeof calls toPromise.succeeded(Object).Promise.Task<T>A Tokenizer that splits a string into parts, allowing for quotes.A Set of Regular expressions strings.An implementation ofQuotedStringTokenizerwith partial handling of RFC9110 quoted-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.Fast search for patterns within strings, arrays of bytes andByteBuffers.Deprecated.CreatesSocketAddressinstances, returning them through aPromise.CreatesInetSocketAddressinstances asynchronously in a different thread.CreatesInetSocketAddressinstances 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".Stateful parser for lines of UTF8 formatted text, looking for"\n"as a line termination character.This class wraps a standardStringBuilderand provides methods to append UTF-8 encoded bytes, that are converted into characters.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.
Attributes.Mapped