Package org.eclipse.jetty.util
Jetty Util : Common Utility Classes
-
Interface Summary Interface Description Attributes Attributes.Callback A callback abstraction that handles completed/failed events of asynchronous operations.ClassVisibilityChecker ClassVisibilityChecker Interface to be implemented by classes capable of checking class visibility for a context.Decorator Interface for 3rd party libraries to decorate recently created objects in Jetty.PathWatcher.EventListListener EventListListener Listener that reports accumulated events in one shotPathWatcher.Listener Listener for path change eventsPromise<C> A callback abstraction that handles completed/failed events of asynchronous operations.Retainable Scanner.BulkListener Scanner.DiscreteListener Scanner.Listener Listener Marker for notifications re file changes.Scanner.ScanCycleListener Listener that notifies when a scan has started and when it has ended.Scanner.ScanListener SocketAddressResolver CreatesSocketAddress
instances, returning them through aPromise
.Trie<V> A Trie String lookup data structure.Uptime.Impl -
Class Summary Class Description AbstractTrie<V> Abstract Trie implementation.ArrayTernaryTrie<V> A Ternary Trie String lookup data structure.ArrayTernaryTrie.Growing<V> ArrayTrie<V> A Trie String lookup data structure using a fixed size array.ArrayUtil Utility methods for Array manipulationAtomicBiInteger An AtomicLong with additional methods to treat it as two hi/lo integers.Atomics AttributesMap B64Code Deprecated. useBase64
insteadBlockingArrayQueue<E> A BlockingQueue backed by a circular array capable or growing.BufferUtil Buffer utility methods.ByteArrayISO8859Writer Byte Array ISO 8859 writer.ByteArrayOutputStream2 ByteArrayOutputStream with public internalsCallback.Completable A CompletableFuture that is also a Callback.Callback.Completing Callback.Nested Nested Completing Callback that completes after completing the nested callbackClassLoadingObjectInputStream ClassLoadingObjectInputStream For re-inflating serialized objects, this class uses the thread context classloader rather than the jvm's default classloader selection.ClassLoadingObjectInputStream.ClassLoaderThreadLocal CompletableCallback Deprecated. not used anymoreConcurrentHashSet<E> Deprecated. Use Java 8 methodConcurrentHashMap.newKeySet()
instead.ConstantThrowable AThrowable
that may be used in static contexts.CountingCallback A callback wrapper that succeeds the wrapped callback when the count is reached, or on first failure.DateCache Date Format Cache.DateCache.Tick DecoratedObjectFactory An ObjectFactory enhanced byDecorator
instances.DeprecationWarning Fields A container for name/value pairs, known as fields.Fields.Field A named list of string values.FutureCallback FuturePromise<C> HostMap<TYPE> HostPort Parse an authority string into Host and PortHttpCookieStore Implementation ofCookieStore
that delegates to an instance created byCookieManager
viaCookieManager.getCookieStore()
.HttpCookieStore.Empty 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.InetAddressSet A set of InetAddress patterns.IntrospectionUtil IntrospectionUtilIO IO Utilities.IPAddressMap<TYPE> Deprecated. IteratingCallback This specialized callback implements a pattern that allows a large job to be broken into smaller tasks using iteration rather than recursion.IteratingNestedCallback Iterating Nested Callback.JavaVersion Java Version Utility class.Jetty LazyList Lazy List creation.LeakDetector<T> A facility to detect improper usage of resource pools.Loader ClassLoader Helper.ManifestUtils MathUtils MemoryUtils MemoryUtils provides an abstraction over memory properties and operations.MultiMap<V> A multi valued Map.MultiPartInputStreamParser Deprecated. Replaced by org.eclipse.jetty.http.MultiPartFormInputStream The code for MultiPartInputStream is slower than its replacement MultiPartFormInputStream.MultiPartOutputStream Handle a multipart MIME response.MultiPartWriter Handle a multipart MIME response.MultiReleaseJarFile Utility class to handle a Multi Release Jar filePathWatcher Watch a Path (and sub directories) for Path changes.PathWatcher.Config PathWatcher.PathMatcherSet PatternMatcher ProcessorUtils ProcessorUtils provides access to runtime info about processors, that may be overridden by system properties or environment variables.Promise.Adapter<U> Empty implementation ofPromise
.Promise.Completable<S> A CompletableFuture that is also a Promise.Promise.Wrapper<W> QuotedStringTokenizer StringTokenizer with Quoting support.ReadLineInputStream Deprecated. RegexSet A Set of Regular expressions strings.RolloverFileOutputStream RolloverFileOutputStream.Scanner Scanner Utility for scanning a directory for added, removed and changed files and reporting these events via registered Listeners.SearchPattern SearchPattern Fast search for patterns within strings and arrays of bytes.SharedBlockingCallback Provides a reusableCallback
that can block the thread while waiting to be completed.SocketAddressResolver.Async CreatesSocketAddress
instances asynchronously in a different thread.SocketAddressResolver.Sync CreatesSocketAddress
instances synchronously in the caller thread.StringUtil Fast String Utilities.TopologicalSort<T> Topological sort a list or array.TreeTrie<V> A Trie String lookup data structure using a treeTypeUtil TYPE Utilities.Uptime Provide for a Uptime class that is compatible with Android, GAE, and the new Java 8 compact profilesUptime.DefaultImpl URIUtil URI Utility methods.UrlEncoded Handles coding of MIME "x-www-form-urlencoded".Utf8Appendable 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.Utf8LineParser Stateful parser for lines of UTF8 formatted text, looking for"\n"
as a line termination character.Utf8StringBuffer UTF-8 StringBuffer.Utf8StringBuilder UTF-8 StringBuilder. -
Enum Summary Enum Description IteratingCallback.Action The indication of the overall progress of the overall job that implementations ofIteratingCallback.process()
must return.MultiPartInputStreamParser.NonCompliance PathWatcher.DirAction PathWatcher.PathWatchEventType PathWatchEventType Type of an eventReadLineInputStream.Termination Scanner.Notification -
Exception Summary Exception Description MultiException Wraps multiple exceptions.Utf8Appendable.NotUtf8Exception