Package org.eclipse.jetty.util
package org.eclipse.jetty.util
Jetty Util : Common Utility Classes
-
ClassDescriptionAbstractTrie<V>Abstract Trie implementation.A Ternary Trie String lookup data structure.ArrayTrie<V>A Trie String lookup data structure using a fixed size array.Utility 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.Deprecated.A 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.Nested Completing Callback that completes after completing the nested callbackClassLoadingObjectInputStream 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.Deprecated.not used anymoreDeprecated.Use Java 8 method
ConcurrentHashMap.newKeySet()
instead.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.Date Format Cache.An ObjectFactory enhanced byDecorator
instances.Interface for 3rd party libraries to decorate recently created objects in Jetty.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 https://www.ietf.org/rfc/rfc2732.txtImplementation 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.A set of InetAddress patterns.IntrospectionUtilIO Utilities.IPAddressMap<TYPE>Deprecated.IPAddrPattern Represents internet address wildcard.OctetPattern Represents a single octet wildcard.This specialized callback implements a pattern that allows a large job to be broken into smaller tasks using iteration rather than recursion.The indication of the overall progress of the overall job that implementations ofIteratingCallback.process()
must return.The internal states of this callbackIterating 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.Equivalent of ...Wraps multiple exceptions.MultiMap<V>A multi valued Map.Deprecated.Replaced by org.eclipse.jetty.http.MultiPartFormInputStream The code for MultiPartInputStream is slower than its replacement MultiPartFormInputStream.Handle a multipart MIME response.Handle a multipart MIME response.Utility class to handle a Multi Release Jar fileWatch a Path (and sub directories) for Path changes.EventListListener Listener that reports accumulated events in one shotListener for path change eventsPathWatchEventType Type of an eventPool<T>A fast 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.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.Listener Marker for notifications re file changes.PathMatcherSet A set of PathMatchers for testing Paths against path matching patterns viaListener that notifies when a scan has started and when it has ended.TimeNSize Metadata about a file: Last modified time and file size.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
.CreatesSocketAddress
instances asynchronously in a different thread.CreatesSocketAddress
instances synchronously in the caller thread.Fast String Utilities.Topological sort a list or array.A comparator that is used to sort dependencies in the order they were in the original list.TreeTrie<V>A Trie String lookup data structure using a treeTrie<V>A Trie String lookup data structure.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.
Base64
instead