All Classes and Interfaces
Class
Description
AbsoluteOrdering
A convenience base implementation of
Connection
.Provides the common handling for
ConnectionFactory
implementations including:An abstract implementation of
Connector
that provides a ConnectionFactory
mechanism
for creating Connection
instances for various protocols (HTTP, SSL, etc).AbstractDatabaseLoginModule
Abstract base class for LoginModules that interact with a
database to retrieve authentication and authorization information.
AbstractHandler.
Deprecated.
This class is no longer required as ERROR dispatch is only done if there is an error page target.
Abstract Handler Container.
AbstractLeakPreventer
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.
Abstract Logger.
AbstractLoginModule
Abstract base class for all LoginModules.
AbstractLoginService
RolePrincipal
UserPrincipal
Deprecated.
use
CustomRequestLog
given format string CustomRequestLog.EXTENDED_NCSA_FORMAT
with a RequestLog.Writer
An abstract Network Connector.
AbstractSessionCache
A base implementation of the
SessionCache
interface for managing a set of
Session objects pertaining to a context in memory.AbstractSessionCacheFactory
Base class for SessionCacheFactories.
AbstractSessionDataStore
AbstractSessionDataStoreFactory
Abstract Trie implementation.
AbstractUserAuthentication
Base class for representing an authenticated user.
A Listener that limits the rate at which new connections are accepted
An
X509ExtendedKeyManager
that select a key with desired alias,
delegating other processing to a nested X509ExtendedKeyManager.Symbolic Link AliasChecker.
Client-side interface used by ServiceLoader.
Server-side interface used by ServiceLoader.
AppContextLeakPreventer
Cause the classloader that is pinned by AppContext.getAppContext() to be
a container or system classloader, not a webapp classloader.
A ByteBuffer pool where ByteBuffers are held in queues that are held in array elements.
A Ternary Trie String lookup data structure.
A Trie String lookup data structure using a fixed size array.
Utility methods for Array manipulation
A
ContentProvider
that notifies listeners that content is available.A listener that is notified of content availability
A handler wrapper that provides the framework to asynchronously
delay the handling of a request.
A non-blocking JSON parser that can parse partial JSON strings.
The state of JSON parsing.
The factory that creates AsyncJSON instances.
Deprecated.
use
CustomRequestLog
given format string CustomRequestLog.EXTENDED_NCSA_FORMAT
with an AsyncRequestLogWriter
An asynchronously writing RequestLogWriter
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
ContainerLifeCycle
Attributes.
Authentication
represents a mechanism to authenticate requests for protected resources.The Authentication state of a request.
An Authentication Challenge has been sent.
A deferred authentication with methods to progress
the authentication process.
An Authentication Failure has been sent.
Structure holding information about the
WWW-Authenticate
(or Proxy-Authenticate
) header.An authentication that is capable of performing a programmatic login
operation.
An authentication that is capable of performing a programmatic
logout operation.
After a logout, the authentication reverts to a state
where it is possible to programmatically log in again.
Authentication Response sent state.
Authentication.Result
holds the information needed to authenticate a Request
via Authentication.Result.apply(org.eclipse.jetty.client.api.Request)
.A successful Authentication with User information.
A wrapped authentication with methods provide the
wrapped request/response for use by the application
A store for
Authentication
s and Authentication.Result
s.Authenticator Interface
Authenticator Configuration
Authenticator Factory
A service to query for user roles.
AWTLeakPreventer
See https://issues.jboss.org/browse/AS7-3733
The java.awt.Toolkit class has a static field that is the default toolkit.
Deprecated.
use
Base64
insteadException thrown to indicate a Bad HTTP Message has either been received
or attempted to be generated.
Bad Resource.
AbstractHolder
Base class for all servlet-related classes that may be lazily instantiated (eg servlet, filter,
listener), and/or require metadata to be held regarding their origin
(web.xml, annotation, programmatic api etc).
Implementation of the HTTP "Basic" authentication defined in RFC 2617.
Basic authentication result.
A BlockingQueue backed by a circular array capable or growing.
Buffered Response Handler
Implementation of
Response.Listener
that buffers the content up to a maximum length
specified to the constructors.Buffer utility methods.
ByteArrayEndPoint.
Byte Array ISO 8859 writer.
ByteArrayOutputStream with public internals
Accumulates data into a list of ByteBuffers which can then be combined into a single buffer or written to an OutputStream.
A
ContentProvider
for ByteBuffer
s.Simple wrapper of a ByteBuffer as an OutputStream.
This class implements an output stream in which the data is written into a list of ByteBuffer,
the buffer list automatically grows as data is written to it, the buffers are taken from the
supplied
ByteBufferPool
or freshly allocated if one is not supplied.A
ByteBuffer
pool.ByteBuffer based RangeWriter
A
ContentProvider
for byte arrays.CachingSessionDataStore
A SessionDataStore is a mechanism for (persistently) storing data associated with sessions.
CachingSessionDataStoreFactory
A WebAppClassLoader that caches
CachingWebAppClassLoader.getResource(String)
results.A 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 callback
Convenience class to handle validation of certificates, aliases and keystores
Allows specifying Certificate Revocation List (CRL), as well as enabling
CRL Distribution Points Protocol (CRLDP) certificate extension support,
and also enabling On-Line Certificate Status Protocol (OCSP) support.
Channel End Point.
ClassLoadingObjectInputStream
For re-inflating serialized objects, this class uses the thread context classloader
rather than the jvm's default classloader selection.
Classpath classes list performs pattern matching of a class name
against an internal array of classpath pattern entries.
ClassVisibilityChecker
Interface to be implemented by classes capable of checking class visibility
for a context.
Factory for client-side
Connection
instances.Wraps another ClientConnectionFactory.
Deprecated.
not used anymore
Deprecated.
Use Java 8 method
ConcurrentHashMap.newKeySet()
instead.A LoginAuthenticator that uses SPNEGO and the GSS API to authenticate requests.
A configurable (as opposed to using system properties) SPNEGO LoginService.
Base Class for WebApplicationContext Configuration.
Experimental Wrapper mechanism for WebApp Configuration components.
A ConfigurationProcessor for non XmlConfiguration format files.
Connection
represent a connection to a Destination
and allow applications to send
requests via Connection.send(Request, Response.CompleteListener)
.A
Connection
is associated to an EndPoint
so that I/O events
happening on the EndPoint
can be processed by the Connection
.A Listener for connection events.
Connection
implementations implement this interface when they
can upgrade from the protocol they speak (for example HTTP/1.1)
to a different protocol (e.g.Connection
implementations implement this interface when they
can be upgraded to the protocol they speak (e.g.A Factory to create
Connection
instances for Connector
s.Connections created by this factory MUST implement
Connection.UpgradeTo
.The possible outcomes of the
ConnectionFactory.Detecting.detect(ByteBuffer)
method.A Listener that limits the number of Connections.
Client-side connection pool abstraction.
Factory for ConnectionPool instances.
Marks a connection pool as supporting multiplexed connections.
A
Connection.Listener
that tracks connection statistics.A
Connector
accept connections and data from remote peers,
and allows applications to send data to remote peers, by setting up
the machinery needed to handle such tasks.LifeCycle wrapper for JMXConnectorServer.
Deprecated.
use
ConnectionStatistics
instead.A
Throwable
that may be used in static contexts.Constraint
Describe an auth and/or data constraint.
ConstraintSecurityHandler
A Container
Inherited Listener.
A listener for Container events.
Utility Methods for manual execution of
ServletContainerInitializer
when
using Embedded Jetty.A ContainerLifeCycle is an
LifeCycle
implementation for a collection of contained beans.ContentDecoder
decodes content bytes of a response.Factory for
ContentDecoder
s; subclasses must implement ContentDecoder.Factory.newContentDecoder()
.ContentProvider
provides a source of request content.An extension of
ContentProvider
that provides a content type string
to be used as a Content-Type
HTTP header in requests.A specialized
Response
that can hold a limited content in memory.ContextHandler.
Interface to check aliases
Approve all aliases.
Approve Aliases of a non existent directory.
Listener for all threads entering context scope, including async IO callbacks
A simple implementation of ServletContext that is used when there is no
ContextHandler.
This
HandlerCollection
is creates a
Map of contexts to it's contained handlers based
on the context path and virtual hosts of any contained ContextHandler
s.Deprecated.
use Servlet 3.0
AsyncContext
insteadDeprecated.
use Servlet 3.0
AsyncContext
insteadDeprecated.
use Servlet 3.0
AsyncContext
insteadDeprecated.
use Servlet 3.0
AsyncContext
insteadDeprecated.
use Servlet 3.0
AsyncContext
insteadA protocol handler that handles the 100 response code.
The compliance for Cookie handling.
Cookie parser
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
A flexible RequestLog, which produces log strings in a customizable format.
An abstract implementation of a timeout.
A timeout time with a link to a Wakeup chain.
DatabaseAdaptor
Handles differences between databases.
DataSourceLoginModule
A LoginModule that uses a DataSource to retrieve user authentication
and authorisation information.
Date Format Cache.
ThreadLocal Date formatters for HTTP style dates.
ThreadLocal data parsers for HTTP style dates
Deprecated.
Use
DebugListener
A Context Listener that produces additional debug.
An ObjectFactory enhanced by
Decorator
instances.A ServletContextAttributeListener that listens for a context
attribute to obtain a decorator instance.
An extended org.eclipse.jetty.servlet.DecoratingListener.
Interface for 3rd party libraries to decorate recently created objects in Jetty.
The Default Authenticator Factory.
DefaultCallbackHandler
An implementation of the JAAS CallbackHandler.
Default Handler.
Default Identity Service implementation.
DefaultsDescriptor
The default servlet.
DefaultSessionCache
A session store that keeps its sessions in memory in a hashmap
DefaultSessionCacheFactory
Factory for creating new DefaultSessionCaches.
DefaultSessionIdManager
Manages session ids to ensure each session id within a context is unique, and that
session ids can be shared across contexts (but not session contents).
The default implementation of UserIdentity.
A
ContentProvider
that allows to add content after Request.send(Response.CompleteListener)
has been called, therefore providing the request content at a later time.DescriptorProcessor
Destination
represents the triple made of the Destination.getScheme()
, the Destination.getHost()
and the Destination.getPort()
.A Destroyable is an object which can be destroyed.
A
ConnectionFactory
combining multiple ConnectionFactory.Detecting
instances that will upgrade to
the first one recognizing the bytes in the buffer.Implementation of the HTTP "Digest" authentication defined in RFC 2617.
The nonce max age in ms can be set with the
SecurityHandler.setInitParameter(String, String)
using the name "maxNonceAge".DiscoveredAnnotation
Represents an annotation that has been discovered
by scanning source code of WEB-INF/classes and WEB-INF/lib jars.
Deprecated.
reported as fixed in jdk 7, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6916498
DriverManagerLeakPreventer
Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.
DumpableContainer
A Dumpable that is a container of beans can implement this
interface to allow it to refine which of its beans can be
dumped.
A strategy where the thread that produces will run the resulting task if it
is possible to do so without thread starvation.
ELContextCleaner
Clean up BeanELResolver when the context is going out
of service:
See http://java.net/jira/browse/GLASSFISH-1649
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=353095
EmptyResource
Represents a resource that does does not refer to any file, url, jar etc.
EndPoint is the abstraction for an I/O channel that transports bytes.
A Jetty specialization of EOFException.
Handler for Error pages
An ErrorHandler is registered with
ContextHandler.setErrorHandler(ErrorHandler)
or
Server.setErrorHandler(ErrorHandler)
.An ErrorHandler that maps exceptions and status codes to URIs for dispatch using
the internal ERROR style of dispatch.
A strategy where the thread that produces will always run the resulting task.
A producer of
Runnable
tasks to run.Deprecated.
A
ThreadPool.SizedThreadPool
wrapper around ThreadPoolExecutor
.Deprecated.
use Servlet 3.0
AsyncContext
insteadA container for name/value pairs, known as fields.
A named list of string values.
A LifeCycle Listener that writes state changes to a file.
Deprecated.
Use
PathResource
FileSessionDataStore
A file-based store of session data.
FileSessionDataStoreFactory
A Utility class to help implement
EndPoint.fillInterested(Callback)
by keeping state and calling the context and callback objects.Experimental Wrapper mechanism for Filter objects.
FORM Authenticator.
This Authentication represents a just completed Form authentication.
A
ContentProvider
for form uploads with the
"application/x-www-form-urlencoded" content type.Customize Requests for Proxy Forwarding.
Ordered Source Enum.
FragmentConfiguration
Fragment
A web-fragment.xml descriptor.
A
BufferingResponseListener
that is also a Future
, to allow applications
to block (indefinitely or for a timeout) until FutureResponseListener.onComplete(Result)
is called,
or to abort
the request/response conversation.Deprecated.
fixed in jdvm 9b130, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8157570
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 Graceful that uses a
FutureCallback
to indicate if shutdown is completed.ContentDecoder
for the "gzip" encoding.Decoder for the "gzip" content encoding.
Specialized
ContentDecoder.Factory
for the "gzip" encoding.A Handler that can dynamically GZIP uncompress requests, and compress responses.
An HttpInput Interceptor that inflates GZIP encoded request content.
A Jetty Server Handler.
A collection of handlers.
A Handler that contains other Handlers.
HandlerList.
A
HandlerWrapper
acts as a Handler
but delegates the handle
method and
life cycle
events to a delegate.Properties User Realm.
Holder
Specialization of AbstractHolder for servlet-related classes that
have init-params etc
Display an optional Warning Message if the {jetty.home} and {jetty.base} are the same directory.
Customizes requests that lack the
Host
header (for example, HTTP 1.0 requests).Parse an authority string (in the form
host:port
) into
host
and port
, handling IPv4 and IPv6 host formats
as defined in https://www.ietf.org/rfc/rfc2732.txtAn HttpField holding a preparsed Host and port number
A
HandlerContainer
that allows a hot swap of a wrapped handler.HouseKeeper
There is 1 session HouseKeeper per SessionIdManager instance.
HttpChannel represents a single endpoint for HTTP semantic processing.
Listener for
HttpChannel
events.Deprecated.
A
HttpChannel.Listener
that holds a collection of
other HttpChannel.Listener
instances that are efficiently
invoked without iteration.An HttpChannel customized to be transported over the HTTP/1 protocol
Implementation of AsyncContext interface that holds the state of request-response cycle.
The actions to take as the channel moves from state to state.
HttpClient
provides an efficient, asynchronous, non-blocking implementation
to perform HTTP requests to a server through a simple API that offers also blocking semantic.HttpClientTransport
represents what transport implementations should provide
in order to plug-in a different transport for HttpClient
.HTTP compliance modes for Jetty HTTP parsing and handling.
HTTP Configuration.
An interface that allows a request object to be customized
for a particular HTTP connector configuration.
A
Connection
that handles the HTTP protocol.A Connection Factory for HTTP Connections.
HttpContent
is a stateful, linear representation of the request content provided
by a ContentProvider
that can be traversed one-way to obtain content buffers to
send to an HTTP server.HttpContent interface.
Range Writer selection for HttpContent
Implementation of
CookieStore
that delegates to an instance created by CookieManager
via CookieManager.getCookieStore()
.An HTTP Field
Interface to pre-encode HttpFields.
HTTP Fields.
HttpGenerator.
An
HttpInput.Interceptor
that chains two other HttpInput.Interceptor
s together.An interceptor for HTTP Request input.
A Sentinel Content, which has zero length content but
indicates some other event in the input stream (eg EOF)
Known HTTP Methods
HttpOutput
implements ServletOutputStream
as required by the Servlet specification.The API State which combines with the output State:
The HttpOutput.Interceptor is a single intercept point for all
output written to the HttpOutput: via writer; via output stream;
asynchronously; or blocking.
The output state
A Parser for 1.0 and 1.1 as defined by RFC7230
Creates a tunnel using HTTP CONNECT.
HttpReceiver
provides the abstract code to implement the various steps of the receive of HTTP responses.The request states
HttpReceiver
goes through when receiving a response.Utility class that handles HTTP redirects.
HttpSender
abstracts the algorithm to send HTTP requests, so that subclasses only implement
the transport-specific code to send requests over the wire, implementing
HttpSender.sendHeaders(HttpExchange, HttpContent, Callback)
and
HttpSender.sendContent(HttpExchange, HttpContent, Callback)
.The request states
HttpSender
goes through when sending a request.The sender states
HttpSender
goes through when sending a request.
Http Status Codes
HTTP constants
Abstraction of the outbound HTTP transport.
Http URI.
Associates UserIdentities from with threads and UserIdentity.Contexts.
An Abstract implementation of an Idle Timeout.
Handler to adjust the idle timeout of requests while dispatched.
Utility class to maintain a set of inclusions and exclusions.
Utility class to maintain a set of inclusions and exclusions.
Byte range inclusive of end points.
InetAddress Access Handler
A set of InetAddress patterns.
A
ContentProvider
for an InputStream
.Default Range Writer for InputStream
Implementation of
Response.Listener
that produces an InputStream
that allows applications to read the response content.IntrospectionUtil
IntrospectorCleaner
Cleans a static cache of Methods held by java.beans.Introspector
class when a context is undeployed.
Dynamic Servlet Invoker.
IO Utilities.
Deprecated.
Use @
InetAccessHandler
.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 of
IteratingCallback.process()
must return.The internal states of this callback
Iterating Nested Callback.
IterativeDescriptorProcessor
JAASLoginService
Implementation of jetty's LoginService that works with JAAS for
authorization and authentication.
JAASPrincipal
JAASUserPrincipal
Deprecated.
Does not handle MR Jars
Deprecated.
fixed in jdk 9, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6489540
Java Version Utility class.
JDBCLoginModule
HashMapped User Realm with JDBC as data source.
JDBCSessionDataStore
Session data stored in database
SessionTableSchema
JDBCSessionDataStoreFactory
JettyAwareLogger is used to fix a FQCN bug that arises from how Jetty
Log uses an indirect slf4j implementation.
Redirect java.util.logging events to Jetty Log
JettyWebConfiguration.
JSON Parser and Generator.
JSON Convertible object.
Static JSON Convertor.
JSON Generator.
A Literal JSON generator A utility instance of
JSON.Generator
that holds a pre-generated string on JSON text.JSON Output class for use by
JSON.Convertible
.Convert a
Date
to JSON.Convert an
Enum
to JSON.Convert an Object to JSON using reflection on getters methods.
Converts POJOs to JSON and vice versa.
Servlet handling JSP Property Group mappings
The
KeyStoreScanner
is used to monitor the KeyStore file used by the SslContextFactory
.Lazy List creation.
Deprecated.
fixed in jdk 8u192
A LdapLoginModule for use with JAAS setups
A facility to detect improper usage of resource pools.
The lifecycle interface for generic components.
Listener.
ListenerHolder
Specialization of BaseHolder for servlet listeners.
Experimental Wrapper mechanism for Servlet EventListeners.
ClassLoader Helper.
A local connector, mostly for testing purposes.
Convenience auto closeable
ReentrantLock
wrapper.Logging.
LoggedOutAuthentication
An Authentication indicating that a user has been previously, but is not currently logged in,
but may be capable of logging in after a call to Request.login(String,String)
A simple logging facade that is intended simply to capture the style of logging as used by Jetty.
This is similar to the jaspi PasswordValidationCallback but includes user
principal and group info as well.
This is similar to the jaspi PasswordValidationCallback but includes user
principal and group info as well.
Deprecated.
classloader does not seem to be held any more
Login Service Interface.
A monitor for low resources, low resources can be detected by:
ThreadPool.isLowOnThreads()
if Connector.getExecutor()
is
an instance of ThreadPool
and LowResourceMonitor.setMonitorThreads(boolean)
is true.
If LowResourceMonitor.setMaxMemory(long)
is non zero then low resources is detected if the JVMs
Runtime
instance has Runtime.totalMemory()
minus Runtime.freeMemory()
greater than LowResourceMonitor.getMaxMemory()
If LowResourceMonitor.setMaxConnections(int)
is non zero then low resources is detected if the total number
of connections exceeds LowResourceMonitor.getMaxConnections()
.The
@ManagedAttribute
annotation is used to indicate that a given method
exposes a JMX attribute.Enable Jetty style JMX MBeans from within a Context
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.ManagedSelector
wraps a Selector
simplifying non-blocking operations on channels.A
ManagedSelector.Selectable
is an EndPoint
that wish to be
notified of non-blocking events by the ManagedSelector
.A selector update to be done when the selector has been woken.
A ByteBuffer pool where ByteBuffers are held in queues that are held in a Map.
Container class for the MBean instances
MemoryUtils provides an abstraction over memory properties and operations.
MetaData
All data associated with the configuration and deployment of a web application.
MetaInfConfiguration
MIME Type enum and utilities
Equivalent of ...
A
QueuedThreadPool
subclass that monitors its own activity by recording queue and task statistics.Moved ContextHandler.
Wraps multiple exceptions.
A multi valued Map.
A
ContentProvider
for form uploads with the "multipart/form-data"
content type.The compliance level for parsing
multiPart/form-data
MultiPartInputStream
Deprecated.
Replaced by org.eclipse.jetty.http.MultiPartFormInputStream
The code for MultiPartInputStream is slower than its replacement MultiPartFormInputStream.
Handle a multipart MIME response.
A parser for MultiPart content type.
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.
Deprecated.
use
CustomRequestLog
given format string CustomRequestLog.EXTENDED_NCSA_FORMAT
with a RequestLogWriter
A
Connector
for TCP/IP network connectorsA listener for raw network traffic within Jetty.
Deprecated.
use
NetworkTrafficListener
insteadDeprecated.
use
NetworkTrafficServerConnector
instead.Deprecated.
use
NetworkTrafficSocketChannelEndPoint
insteadA specialized version of
ServerConnector
that supports NetworkTrafficListener
s.A specialized version of
SocketChannelEndPoint
that supports NetworkTrafficListener
s.NullSessionCache
Does not actually cache any Session objects.
NullSessionCacheFactory
Factory for NullSessionCaches.
NullSessionDataStore
Does not actually store anything, useful for testing.
NullSessionDataStoreFactory
ObjectCallback
A dynamic MBean that can wrap an arbitrary Object instance.
Deprecated.
Use
DetectorConnectionFactory
with a SslConnectionFactory
instead.Ordering options for jars in WEB-INF lib.
A
ContentProvider
that provides content asynchronously through an OutputStream
similar to DeferredContentProvider
.OverrideDescriptor
Password utility class.
A
ContentProvider
for files using JDK 7's java.nio.file
APIs.Deprecated.
replaced with
PathMappings
(this class will be removed in Jetty 10)Path Mappings of PathSpec to Resource.
Java NIO Path equivalent of FileResource.
A path specification is a URI path template that can be matched against.
Types of path spec groups.
A Set of PathSpec strings.
Watch a Path (and sub directories) for Path changes.
EventListListener
Listener that reports accumulated events in one shot
Listener for path change events
PathWatchEventType
Type of an event
A fast pool of objects, with optional support for
multiplexing, max usage count and several optimized strategies plus
an optional
ThreadLocal
cache of the last release entry.The type of the strategy to use for the pool.
Pre encoded HttpField.
Convenience class to ensure that a new Thread is created
inside a privileged block.
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.A callback abstraction that handles completed/failed events of asynchronous operations.
Empty implementation of
Promise
.A CompletableFuture that is also a Promise.
PropertyFileLoginModule
This class monitors a property file of the format mentioned below
and notifies registered listeners of the changes to the the given file.
PropertyUserStoreManager
Maintains a map of PropertyUserStores, keyed off the location of the property file containing
the authentication and authorization information.
A protocol handler performs HTTP protocol operations on
behalf of the application, typically like a browser would.
A container for
ProtocolHandler
s accessible from HttpClient.getProtocolHandlers()
.A protocol handler that handles the 401 response code
in association with the
Proxy-Authenticate
header.The configuration of the forward proxy to use with
HttpClient
.ConnectionFactory for the PROXY Protocol.
Customizer that extracts the real local and remote address:port pairs from a
ProxyConnectionFactory
and sets them on the request with ServletRequest.setAttribute(String, Object)
.ClientConnectionFactory for the
PROXY protocol.
A ClientConnectionFactory for the PROXY protocol version 1.
PROXY protocol version 1 metadata holder to be used in conjunction
with
Request.tag(Object)
.A ClientConnectionFactory for the PROXY protocol version 2.
PROXY protocol version 2 metadata holder to be used in conjunction
with
Request.tag(Object)
.Build a request to be pushed.
A thread pool with a queue of jobs to execute.
A Quiet Exception.
A ServletException that is logged less verbosely than
a normal ServletException.
Implements a quoted comma separated list of values
in accordance with RFC7230.
Implements a quoted comma separated list parser
in accordance with RFC7230.
Implements a quoted comma separated list of quality values
in accordance with RFC7230 and RFC7231.
StringTokenizer with Quoting support.
A
ConnectionPool
that provides connections
randomly among the ones that are available.Interface for writing sections (ranges) of a single resource (SeekableByteChannel, Resource, etc) to an outputStream.
Counts the rate that
Long
s are added to this from the time of creation or the last call to RateCounter.reset()
.Statistics on a time sequence rate.
Deprecated.
A protocol handler that handles redirect status codes 301, 302, 303, 307 and 308.
A Set of Regular expressions strings.
Relative Fragment Ordering
Request
represents an HTTP request, and offers a fluent interface to customize
various attributes such as the path, the headers, the content, etc.Jetty Request.
Listener for the request begin event.
Listener for the request committed event.
Listener for the request content event.
Listener for the request failed event.
Listener for the request headers event.
Listener for all request events.
An empty implementation of
Request.Listener
Listener for the request queued event.
Common, empty, super-interface for request listeners.
Listener for the request succeeded event.
A
RequestLog
can be attached to a RequestLogHandler
to enable
logging of requests/responses.Writes the generated log string to a log sink
This handler provides an alternate way (other than
Server.setRequestLog(RequestLog)
)
to log request, that can be applied to a particular handler (eg context).Writer which outputs pre-formatted request log strings to a file using
RolloverFileOutputStream
.RequestParameterCallback
An Executor using preallocated/reserved Threads from a wrapped Executor.
Abstract resource class.
A collection of resources (dirs).
An HttpContent.Factory for transient content (not cached).
ResourceFactory.
Resource Handler.
HttpContent created from a
Resource
.Abstract resource service, used by DefaultServlet and ResourceHandler
Response
represents an HTTP response and offers methods to retrieve status code, HTTP version
and headers.Response
provides the implementation for HttpServletResponse
.Asynchronous listener for the response content events.
Listener for the response begin event.
Listener for the request and response completed event.
Synchronous listener for the response content events.
Asynchronous listener for the response content events.
Listener for the response failure event.
Listener for a response header event.
Listener for the response headers event.
Listener for all response events.
An empty implementation of
Response.Listener
Common, empty, super-interface for response listeners
Listener for the response succeeded event.
Specialized PrintWriter for servlet Responses
A Retainable ByteBuffer.
RoleInfo
Badly named class that holds the role and user data constraint info for a
path/http method combination, extracted and combined from security
constraints.
RolloverFileOutputStream.
A
ConnectionPool
that attempts to provide connections using a round-robin algorithm.marker interface for run-as-role tokens
Subclass of
RuntimeException
used to signal that there
was an IOException
thrown by underlying Writer
Alias checking for working with FileSystems that normalize access to the
File System.
Statistics on a sampled value.
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 via
Listener that notifies when a scan has started and when it has ended.
TimeNSize
Metadata about a file: Last modified time and file size.
Implementation of
Scheduler
based on JDK's ScheduledThreadPoolExecutor
.ScopedHandler.
SearchPattern
Fast search for patterns within strings and arrays of bytes.
Secured Redirect Handler
Customizer that extracts the attribute from an
SSLContext
and sets them on the request with ServletRequest.setAttribute(String, Object)
according to Servlet Specification Requirements.Simple bundle of data that is cached in the SSLSession.
Abstract SecurityHandler.
Deprecated.
sun.security.pkcs11.SunPKCS11 class explicitly sets thread classloader to null
Deprecated.
use
SocketChannelEndPoint
insteadSelectorManager
manages a number of ManagedSelector
s that
simplify the non-blocking primitives provided by the JVM via the java.nio
package.A listener for accept events.
An executor than ensurers serial execution of submitted tasks.
Error handling task
Jetty HTTP Servlet Server.
Deprecated.
This
Connector
implementation is the primary connector for the
Jetty server over TCP/IP.Deprecated.
use Servlet 3.0
AsyncContext
insteadServlet Context.
Deprecated.
use new
Decorator
A utility class to hold a
ServletContainerInitializer
and implement the
ServletContextHandler.ServletContainerInitializerCaller
interface so that the SCI is correctly
started if an instance of this class is added as a bean to a ServletContextHandler
.Implementation of the legacy interface to decorate loaded classes.
Servlet HttpHandler.
Servlet Instance and Context Holder.
Experimental Wrapper mechanism for Servlet objects.
ServletRequestCallback
Provides access to the request associated with the authentication.
ServletRequestHttpWrapper
Class to tunnel a ServletRequest via an HttpServletRequest
ServletResponseHttpWrapper
Wrapper to tunnel a ServletResponse via an HttpServletResponse
Session
A heavy-weight Session object representing an HttpSession.
State
Validity states of a session
SessionAuthentication
When a user has been successfully authenticated with some types
of Authenticator, the Authenticator stashes a SessionAuthentication
into an HttpSession to remember that the user is authenticated.
SessionCache
A working set of
Session
objects for a context.SessionCacheFactory
SessionContext
Information about the context to which sessions belong: the Context,
the SessionHandler of the context, and the unique name of the node.
SessionData
The data associated with a session.
SessionDataMap
A map style access to SessionData keyed by the session id.
SessionDataMapFactory
SessionDataStore
A store for the data contained in a Session object.
SessionDataStoreFactory
SessionHandler.
SessionIf
Interface that any session wrapper should implement so that
SessionManager may access the Jetty session implementation.
Session ID Manager.
Provides a reusable
Callback
that can block the thread
while waiting to be completed.A handler that shuts the server down on a valid request.
Shutdown/Stop Monitor thread.
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
Slf4jLog Logger
Deprecated.
use
CustomRequestLog
given format string CustomRequestLog.EXTENDED_NCSA_FORMAT
with an Slf4jRequestLogWriter
Request log writer using a Slf4jLog Logger
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
SocketAddress
instances asynchronously in a different thread.Creates
SocketAddress
instances synchronously in the caller thread.A Connection Lister for customization of SocketConnections.
Source
The source of a web artifact: servlet, filter, mapping etc
Implementation of the SPNEGO (or "Negotiate") authentication defined in RFC 4559.
Deprecated.
use
ConfigurableSpnegoAuthenticator
instead.Deprecated.
use
ConfigurableSpnegoLoginService
insteadA ClientConnectionFactory that creates client-side
SslConnection
instances.A factory for
SSLEngine
objects.A Connection that acts as an interceptor between an EndPoint providing SSL encrypted data
and another consumer of an EndPoint (typically an
Connection
like HttpConnection) that
wants unencrypted data.SslContextFactory is used to configure SSL parameters
to be used by server and client connectors.
A wrapper that delegates to another (if not
null
) X509ExtendedKeyManager.A wrapper that delegates to another (if not
null
) X509ExtendedTrustManager.Implementations of this interface are notified of TLS handshake events.
The event object carrying information about TLS handshake events.
A try-with-resources compatible layer for
hiding stacktraces
within the scope of the try
block when
logging with StdErrLog
implementation.StandardDescriptorProcessor.
Collect and report statistics about requests / responses / connections and more.
StdErr Logging implementation.
A LifeCycle that when started will stop another LifeCycle
A
ContentProvider
for strings.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.Implementations of this interface expose a lock object
via
Synchronizable.getLock()
so that callers can synchronize
externally on that lock:Collection of Syntax validation methods.
Handler to limit the threads per IP address for DOS protection
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.
A scheduler based on the the JVM Timer class
Topological sort a list or array.
A comparator that is used to sort dependencies in the order they
were in the original list.
A Trie String lookup data structure using a tree
A Trie String lookup data structure.
A variation of Executor that can confirm if a thread is available immediately
TYPE Utilities.
Unix Crypt.
UnreadableSessionDataException
UnwriteableSessionDataException
Provide for a Uptime class that is compatible with Android, GAE, and the new Java 8 compact profiles
PathSpec for URI Template based declarations
URI Utility methods.
Handles coding of MIME "x-www-form-urlencoded".
URL resource class.
User object that encapsulates user identity and operations such as run-as-role actions,
checking isUserInRole and getUserPrincipal.
A UserIdentity Scope.
UserInfo
This is the information read from the external source
about a user.
Base class to store User
Utf8 Appendable abstract base class
This abstract class wraps a standard
Appendable
and provides methods to append UTF-8 encoded bytes, that are converted into characters.OutputWriter.
Stateful parser for lines of UTF8 formatted text, looking for
"\n"
as a line termination character.UTF-8 StringBuffer.
UTF-8 StringBuilder.
A connection pool that validates connections before
making them available for use.
ClassLoader for HttpContext.
The Context in which the classloader operates.
Web Application Context Handler.
Descriptor
A web descriptor (web.xml/web-defaults.xml/web-overrides.xml).
Configure by parsing default web.xml and web.xml
A Utility class to help implement
EndPoint.write(Callback, ByteBuffer...)
by calling
EndPoint.flush(ByteBuffer...)
until all content is written.In CompletingState WriteFlusher is flushing buffers that have not been fully written in write().
In FailedState no more operations are allowed.
In IdleState WriteFlusher is idle and accepts new writes
A listener of
WriteFlusher
events.State represents a State of WriteFlusher.
In WritingState WriteFlusher is currently writing.
Wrap a Writer as an OutputStream.
A protocol handler that handles the 401 response code
in association with the
WWW-Authenticate
header.Configures objects from XML.
XML Parser wrapper.
XML Attribute.
XML Node.