Uses of Interface
org.eclipse.jetty.util.component.LifeCycle
Package
Description
Jetty Deploy : Webapp Deploy Management
Jetty Deploy : Webapp Deployment Providers
Jetty Annotations : Support for Servlet Annotations
Jetty Server : Modular Servlet Integration
Jetty Util : Modular Web Application Support
Jetty IO : Core classes for Jetty IO subsystem
Jetty JMX : Integration for JMX in Jetty
Jetty Plus : Limited JEE Security Support
This module contains the main abstractions for the QUIC protocol.
Jetty Rewrite : Rewrite Handler and Rules for Jetty
Jetty Security : Modular Support for Security in Jetty
Jetty Jaas : Support for Jaas
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
Jetty Server : Session Management Implementations
Jetty Util : Common Utility Classes
Jetty Util : Jetty Lifecycle Management
Jetty Util : Common Memory Leak Prevention Tooling
Jetty Util : Resource Utilities
Jetty Util : Common SSL Utility Classes
Jetty Util : Common ThreadPool Utilities
Jetty WebSocket API :: Client
Jetty WebSocket Common : Implementation [Internal Use Only]
-
Uses of LifeCycle in org.eclipse.jetty.alpn.server
-
Uses of LifeCycle in org.eclipse.jetty.client
Modifier and TypeClassDescriptionclass
class
class
class
class
HttpClient provides an efficient, asynchronous, non-blocking implementation to perform HTTP requests to a server through a simple API that offers also blocking semantic.class
class
AConnectionPool
that provides connections randomly among the ones that are available.class
AConnectionPool
that attempts to provide connections using a round-robin algorithm.class
A connection pool that validates connections before making them available for use. -
Uses of LifeCycle in org.eclipse.jetty.client.transport
Modifier and TypeClassDescriptionstatic class
Representation of theHTTP/1.1
application protocol used byHttpClientTransportDynamic
.class
AHttpClientTransport
that can dynamically switch among different application protocols.class
class
-
Uses of LifeCycle in org.eclipse.jetty.deploy
Modifier and TypeInterfaceDescriptioninterface
Object responsible for providingApp
s to theDeploymentManager
-
Uses of LifeCycle in org.eclipse.jetty.deploy.providers
Modifier and TypeClassDescriptionclass
The webapps directory scanning provider.class
-
Uses of LifeCycle in org.eclipse.jetty.ee10.annotations
Modifier and TypeClassDescriptionstatic class
-
Uses of LifeCycle in org.eclipse.jetty.ee10.servlet
Modifier and TypeInterfaceDescriptionstatic interface
Modifier and TypeClassDescriptionclass
BaseHolder<T>
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).class
A Context Listener that produces additional debug.class
Handler to eagerly and asynchronously read and parseMimeTypes.Type.FORM_ENCODED
andMimeTypes.Type.MULTIPART_FORM_DATA
content prior to invoking theServletHandler
, which can then consume them with blocking APIs but without blocking.class
class
Holder<T>
Holder Specialization of AbstractHolder for servlet-related classes that have init-params etcclass
ListenerHolder Specialization of BaseHolder for servlet listeners.class
Holds a ServletContainerInitializer.class
Servlet Context.static class
Bean that is added to the ServletContextHandler to start all of the ServletContainerInitializers by starting their corresponding ServletContainerInitializerHolders when this bean is itself started.class
Servlet HttpHandler.class
Servlet Instance and Context Holder.class
ServletTester is not best practice and may be deprecated and eventually removed in future Jetty versions.class
-
Uses of LifeCycle in org.eclipse.jetty.ee10.servlet.security
-
Uses of LifeCycle in org.eclipse.jetty.ee10.webapp
-
Uses of LifeCycle in org.eclipse.jetty.ee10.websocket.jakarta.client
Modifier and TypeClassDescriptionclass
Container for Client use of the jakarta.websocket API. -
Uses of LifeCycle in org.eclipse.jetty.ee10.websocket.jakarta.common
-
Uses of LifeCycle in org.eclipse.jetty.ee10.websocket.jakarta.server
-
Uses of LifeCycle in org.eclipse.jetty.ee10.websocket.server
-
Uses of LifeCycle in org.eclipse.jetty.ee10.websocket.server.internal
-
Uses of LifeCycle in org.eclipse.jetty.fcgi.client.transport
-
Uses of LifeCycle in org.eclipse.jetty.fcgi.proxy
Modifier and TypeClassDescriptionclass
Specific implementation ofProxyHandler.Reverse
for FastCGI. -
Uses of LifeCycle in org.eclipse.jetty.fcgi.server
-
Uses of LifeCycle in org.eclipse.jetty.http.spi
-
Uses of LifeCycle in org.eclipse.jetty.http2
-
Uses of LifeCycle in org.eclipse.jetty.http2.client
Modifier and TypeClassDescriptionclass
HTTP2Client provides an asynchronous, non-blocking implementation to send HTTP/2 frames to a server. -
Uses of LifeCycle in org.eclipse.jetty.http2.client.internal
-
Uses of LifeCycle in org.eclipse.jetty.http2.client.transport
Modifier and TypeClassDescriptionclass
static class
Representation of theHTTP/2
application protocol used byHttpClientTransportDynamic
.class
-
Uses of LifeCycle in org.eclipse.jetty.http2.server
Modifier and TypeClassDescriptionclass
class
HTTP2 Clear Text Connection factory.class
class
-
Uses of LifeCycle in org.eclipse.jetty.http2.server.internal
-
Uses of LifeCycle in org.eclipse.jetty.http3
-
Uses of LifeCycle in org.eclipse.jetty.http3.client
Modifier and TypeClassDescriptionclass
class
HTTP3Client provides an asynchronous, non-blocking implementation to send HTTP/3 frames to a server.class
-
Uses of LifeCycle in org.eclipse.jetty.http3.client.transport
Modifier and TypeClassDescriptionclass
static class
Representation of theHTTP/3
application protocol used byHttpClientTransportDynamic
.class
-
Uses of LifeCycle in org.eclipse.jetty.http3.server
Modifier and TypeClassDescriptionclass
class
class
Deprecated, for removal: This API element is subject to removal in a future version.class
-
Uses of LifeCycle in org.eclipse.jetty.io
Modifier and TypeClassDescriptionstatic class
A holder for a list of protocol strings identifiers (for example["h2", "h2-17", "h2-16"]
) and aClientConnectionFactory
that creates connections that speak an application protocol such as HTTP.class
The client-side component that connects to server sockets.protected class
static class
Deprecated, for removal: This API element is subject to removal in a future version.replaced byTransport
class
AConnection.Listener
that tracks connection statistics.class
class
ManagedSelector
wraps aSelector
simplifying non-blocking operations on channels.class
SelectorManager
manages a number ofManagedSelector
s that simplify the non-blocking primitives provided by the JVM via thejava.nio
package. -
Uses of LifeCycle in org.eclipse.jetty.jmx
-
Uses of LifeCycle in org.eclipse.jetty.osgi
Modifier and TypeClassDescriptionclass
AbstractContextProviderclass
BundleContextProviderclass
BundleWebAppProvider -
Uses of LifeCycle in org.eclipse.jetty.osgi.util
-
Uses of LifeCycle in org.eclipse.jetty.plus.security
-
Uses of LifeCycle in org.eclipse.jetty.proxy
Modifier and TypeClassDescriptionclass
AHandler
that can be used to implement aforward proxy ("proxy")
or areverse proxy ("gateway")
as defined by RFC 7230.static class
AProxyHandler
that can be used to implement a forward proxy server.static class
AProxyHandler
that can be used to implement a reverse proxy. -
Uses of LifeCycle in org.eclipse.jetty.quic.client
Modifier and TypeClassDescriptionclass
Client specific implementation ofProtocolSession
.class
Client-sideQuicConfiguration
with client-specific settings.class
The client specific implementation ofQuicSession
.class
Deprecated, for removal: This API element is subject to removal in a future version.replaced byTransport
-
Uses of LifeCycle in org.eclipse.jetty.quic.common
Modifier and TypeClassDescriptionclass
Represents an established stateful connection with a remote peer for a specific QUIC connection ID.class
A record that captures QUIC configuration parameters.class
Represents a logical connection with a remote peer, identified by a QUIC connection ID.class
A container that tracksQuicSession
instances. -
Uses of LifeCycle in org.eclipse.jetty.quic.server
Modifier and TypeClassDescriptionclass
class
A server side network connector that uses aDatagramChannel
to listen on a network port for QUIC traffic.class
Server specific implementation ofProtocolSession
.class
Server-sideQuicConfiguration
with server-specific settings.class
The server specific implementation ofQuicSession
. -
Uses of LifeCycle in org.eclipse.jetty.rewrite.handler
Modifier and TypeClassDescriptionclass
RewriteHandler
rewrites incoming requests through a set ofRule
s. -
Uses of LifeCycle in org.eclipse.jetty.security
Modifier and TypeClassDescriptionclass
AbstractLoginService Base class for LoginServices that allows subclasses to provide the user authentication and authorization information, but provides common behaviour such as handling authentication.class
An implementation of a LoginService that stores users and roles in-memory in HashMaps.class
JDBC as a source of user authentication and authorization information.class
This class monitors a property file of the format mentioned below and notifies registered listeners of the changes to the the given file.class
Abstract SecurityHandler.static class
A concrete implementation ofSecurityHandler
that uses aPathMappings
to match request to a list ofConstraint
s, which are applied in the order of least significant to most significant.class
A configurable (as opposed to using system properties) SPNEGO LoginService.class
Store of user authentication and authorization information. -
Uses of LifeCycle in org.eclipse.jetty.security.jaas
Modifier and TypeClassDescriptionclass
Implementation of jetty's LoginService that works with JAAS for authorization and authentication.class
PropertyUserStoreManager Maintains a map of PropertyUserStores, keyed off the location of the property file containing the authentication and authorization information. -
Uses of LifeCycle in org.eclipse.jetty.security.openid
Modifier and TypeClassDescriptionclass
Holds the configuration for an OpenID Connect service.class
The implementation ofLoginService
required to use OpenID Connect. -
Uses of LifeCycle in org.eclipse.jetty.server
Modifier and TypeInterfaceDescriptioninterface
AConnector
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.interface
A Jetty component that handles HTTP requests, of any version (HTTP/1.1, HTTP/2 or HTTP/3).static interface
AHandler.Container
that can contain multiple otherHandler
s.static interface
AHandler
that contains one or more otherHandler
s.static interface
AHandler.Container
that can contain one single otherHandler
.interface
Deprecated.interface
AConnector
for TCP/IP network connectorsModifier and TypeClassDescriptionclass
Provides the common handling forConnectionFactory
implementations.class
An abstract implementation ofConnector
that provides aConnectionFactory
mechanism for creatingConnection
instances for various protocols (HTTP, SSL, etc).class
An abstract Network Connector.class
A Listener that limits the rate at which new connections are acceptedclass
This will approve any alias to anything inside of theContextHandler
s resource base which is not protected by a protected target as defined by theContextHandler
protected targets at start.class
An asynchronously writing RequestLogWriterclass
A Listener that limits the number of Connections.class
A flexible RequestLog, which produces log strings in a customizable format.class
AConnectionFactory
combining multipleConnectionFactory.Detecting
instances that will upgrade to the first one recognizing the bytes in the buffer.static class
An abstract implementation ofHandler
that is aContainerLifeCycle
.static class
An abstractHandler
with aInvocable.InvocationType.NON_BLOCKING
invocation type.static class
AHandler.Abstract
that implementsHandler.Container
.static class
AHandler.Container
that contains an ordered list of childrenHandler
s whoseRequest.Handler.handle(Request, Response, Callback)
method is invoked in sequence on each child until a child returnstrue
.static class
An implementation ofHandler.Singleton
, which is aHandler.Container
that wraps one single otherHandler
.class
A Connection Factory for HTTP Connections.class
A local connector, mostly for testing purposes.class
A monitor for low resources, low resources can be detected by:ThreadPool.isLowOnThreads()
ifConnector.getExecutor()
is an instance ofThreadPool
andLowResourceMonitor.setMonitorThreads(boolean)
is true. IfLowResourceMonitor.setMaxMemory(long)
is non zero then low resources is detected if the JVMsRuntime
instance hasRuntime.totalMemory()
minusRuntime.freeMemory()
greater thanLowResourceMonitor.getMaxMemory()
class
A serverConnector
that allows clients to communicate via memory.class
class
A specialized version ofServerConnector
that supportsNetworkTrafficListener
s.class
Deprecated.UseDetectorConnectionFactory
with aSslConnectionFactory
instead.class
ConnectionFactory for the PROXY Protocol.class
Writer which outputs pre-formatted request log strings to a file usingRolloverFileOutputStream
.class
class
ThisConnector
implementation is the primary connector for the Jetty server over TCP/IP.protected class
class
AHandler
that can limit the size of message bodies in requests and responses.class
Request log writer using a Slf4jLog Loggerclass
class
An extension ofAllowedResourceAliasChecker
which will allow symlinks alias to arbitrary targets, so long as the symlink file itself is an allowed resource.class
This will approve an alias where the only difference is a trailing slash.Modifier and TypeMethodDescriptionstatic void
ShutdownMonitor.deregister
(LifeCycle lifeCycle) static boolean
ShutdownMonitor.isRegistered
(LifeCycle lifeCycle) void
StateLifeCycleListener.lifeCycleFailure
(LifeCycle event, Throwable cause) void
StateLifeCycleListener.lifeCycleStarted
(LifeCycle event) void
StateLifeCycleListener.lifeCycleStarting
(LifeCycle event) void
StateLifeCycleListener.lifeCycleStopped
(LifeCycle event) void
StateLifeCycleListener.lifeCycleStopping
(LifeCycle event) static void
protected void
-
Uses of LifeCycle in org.eclipse.jetty.server.handler
Modifier and TypeClassDescriptionclass
Deprecated.UseHandler.Abstract
class
Deprecated.class
A Handler that can apply a mechanism to buffer the entire response content until the output is closed.class
AHandler.Wrapper
that conditionally handles aRequest
.static class
An AbstractConditionalHandler
.static class
An implementation ofConditionalHandler
that, if conditions are met, will not do any further handling by returningfalse
fromConditionalHandler.DontHandle.onConditionsMet(Request, Response, Callback)
.static class
An abstract implementation ofConditionalHandler
that, if conditions are not met, will call theConditionalHandler.nextHandler(Request, Response, Callback)
fromConditionalHandler.ElseNext.onConditionsNotMet(Request, Response, Callback)
.static class
An implementation ofConditionalHandler
that, if conditions are met, will reject the request by sending a response (by default aHttpStatus.FORBIDDEN_403
).static class
An implementation ofConditionalHandler
that, if conditions are met, will skip the nextHandler
by invoking itsnext Handler
.class
Implementation of aHandler
that supports HTTP CONNECT.protected class
class
class
Creates a Map of contexts to it's contained handlers based on the context path and virtual hosts of any containedContextHandler
s.class
Implementation of the CORS protocol defined by the fetch standard.class
Debug Handler.class
Default Handler.class
class
AHandler.Wrapper
that fires events during the processing of the requests.class
Handler to track active requests and allow them to gracefully complete.class
AHandlerContainer
that allows a hot swap of a wrapped handler.class
Handler to adjust the idle timeout of requests while dispatched.class
InetAddress Access Handlerclass
AHandler
that helps recording the total latency of the requests executed by the wrapped handler.class
AContextHandler
with a childHandler
that redirects to a configurable URI.class
A Handler that delegates to other handlers through a configuredPathMappings
.class
A quality of serviceHandler
thatconditionally
limits the number of concurrent requests, to provide more predictable end-user experience in case descendantHandler
s have limited capacity.class
Resource Handler will serve static content and handle If-Modified-Since headers.static class
Utility class to create a ContextHandler containing a ResourceHandler.class
Forces a redirect to the secure form of the resource before allowed to access the resource.class
AHandler
that initiates a Shutdown of the Jetty Server it belongs to.class
A troubleshootingHandler.Wrapper
that tracks whetherHandler
/Request
/Response
asynchronous APIs are properly used by applications.class
static class
Checks that the wrapped handler can read/write at a minimal rate of N bytes per second.class
Handler to limit the threads per IP address for DOS protectionclass
Inspired by nginx'stry_files
functionality. -
Uses of LifeCycle in org.eclipse.jetty.server.handler.gzip
-
Uses of LifeCycle in org.eclipse.jetty.session
Modifier and TypeInterfaceDescriptioninterface
SessionCache A working set ofManagedSession
objects for a context.interface
SessionDataMap A map style access to SessionData keyed by the session id.interface
SessionDataStore A store for the data contained in a Session object.interface
Session ID Manager.interface
SessionManager Non-servlet spec specific contract implemented by all SessionHandlers.Modifier and TypeClassDescriptionclass
AbstractSessionCache A base implementation of theSessionCache
interface for managing a set of Session objects pertaining to a context in memory.class
AbstractSessionDataStoreclass
AbstractSessionHandler Class to implement most non-servlet-spec specific session behaviour.class
CachingSessionDataStore A SessionDataStore is a mechanism for (persistently) storing data associated with sessions.class
DefaultSessionCache A session store that keeps its sessions in memory within a concurrent mapclass
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).class
FileSessionDataStore A file-based store of session data.class
HouseKeeper There is 1 session HouseKeeper per SessionIdManager instance.class
JDBCSessionDataStore Session data stored in databaseclass
Does not actually cache any Session objects.class
NullSessionDataStore Does not actually store anything, useful for testing.class
class
A simple core SessionHandler -
Uses of LifeCycle in org.eclipse.jetty.unixdomain.server
Modifier and TypeClassDescriptionclass
AConnector
implementation for Unix-Domain server socket channels.protected class
-
Uses of LifeCycle in org.eclipse.jetty.util
Modifier and TypeClassDescriptionclass
Scanner Utility for scanning a directory for added, removed and changed files and reporting these events via registered Listeners. -
Uses of LifeCycle in org.eclipse.jetty.util.component
Modifier and TypeClassDescriptionclass
Basic implementation of the life cycle interface for components.class
An Attributes implementation that holds it's values in an immutableContainerLifeCycle
class
A ContainerLifeCycle is anLifeCycle
implementation for a collection of contained beans.class
A LifeCycle that when started will stop another LifeCycleModifier and TypeMethodDescriptionvoid
ContainerLifeCycle.addManaged
(LifeCycle lifecycle) Adds a managed lifecycle.static String
void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleFailure
(LifeCycle event, Throwable cause) Deprecated.void
FileNoticeLifeCycleListener.lifeCycleFailure
(LifeCycle event, Throwable cause) Deprecated.default void
LifeCycle.Listener.lifeCycleFailure
(LifeCycle event, Throwable cause) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarted
(LifeCycle event) Deprecated.void
FileNoticeLifeCycleListener.lifeCycleStarted
(LifeCycle event) Deprecated.void
HaltLifeCycleListener.lifeCycleStarted
(LifeCycle lifecycle) default void
LifeCycle.Listener.lifeCycleStarted
(LifeCycle event) void
StopLifeCycle.lifeCycleStarted
(LifeCycle lifecycle) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarting
(LifeCycle event) Deprecated.void
FileNoticeLifeCycleListener.lifeCycleStarting
(LifeCycle event) Deprecated.default void
LifeCycle.Listener.lifeCycleStarting
(LifeCycle event) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopped
(LifeCycle event) Deprecated.void
FileNoticeLifeCycleListener.lifeCycleStopped
(LifeCycle event) Deprecated.default void
LifeCycle.Listener.lifeCycleStopped
(LifeCycle event) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopping
(LifeCycle event) Deprecated.void
FileNoticeLifeCycleListener.lifeCycleStopping
(LifeCycle event) Deprecated.default void
LifeCycle.Listener.lifeCycleStopping
(LifeCycle event) protected void
Starts the given lifecycle.protected void
Stops the given lifecycle. -
Uses of LifeCycle in org.eclipse.jetty.util.compression
-
Uses of LifeCycle in org.eclipse.jetty.util.preventers
Modifier and TypeClassDescriptionclass
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)).class
AppContextLeakPreventer Cause the classloader that is pinned by AppContext.getAppContext() to be a container or system classloader, not a webapp classloader.class
AWTLeakPreventer See https://issues.jboss.org/browse/AS7-3733 The java.awt.Toolkit class has a static field that is the default toolkit.class
DriverManagerLeakPreventer Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader. -
Uses of LifeCycle in org.eclipse.jetty.util.resource
-
Uses of LifeCycle in org.eclipse.jetty.util.ssl
Modifier and TypeClassDescriptionclass
TheKeyStoreScanner
is used to monitor the KeyStore file used by theSslContextFactory
.class
SslContextFactory is used to configure SSL parameters to be used by server and client connectors.static class
static class
-
Uses of LifeCycle in org.eclipse.jetty.util.thread
Modifier and TypeInterfaceDescriptioninterface
Schedules tasks to be executed after a delay.Modifier and TypeClassDescriptionclass
AThreadPool.SizedThreadPool
wrapper aroundThreadPoolExecutor
.class
AQueuedThreadPool
subclass that monitors its own activity by recording queue and task statistics.class
A thread pool with a queue of jobs to execute.class
A TryExecutor using pre-allocated/reserved threads from an external Executor.class
Implementation ofScheduler
based on JDK'sScheduledThreadPoolExecutor
.class
A utility class to perform periodic sweeping of resources.class
Deprecated, for removal: This API element is subject to removal in a future version.useScheduledExecutorScheduler
instead.class
An implementation ofThreadPool
interface that does not pool, but instead usesVirtualThreads
.Modifier and TypeMethodDescriptionstatic void
ShutdownThread.deregister
(LifeCycle lifeCycle) static boolean
ShutdownThread.isRegistered
(LifeCycle lifeCycle) static void
static void
-
Uses of LifeCycle in org.eclipse.jetty.util.thread.strategy
Modifier and TypeClassDescriptionclass
An adaptive execution strategy that uses theInvocable
status of both the task and the current thread to select an optimal strategy that prioritizes executing the task immediately in the current producing thread if it can be done so without thread starvation issues.class
Deprecated, for removal: This API element is subject to removal in a future version.This class has been renamed toAdaptiveExecutionStrategy
-
Uses of LifeCycle in org.eclipse.jetty.websocket.client
-
Uses of LifeCycle in org.eclipse.jetty.websocket.common
Modifier and TypeClassDescriptionclass
Factory to createJettyWebSocketFrameHandler
instances suitable for use with jetty-native websocket API.class
-
Uses of LifeCycle in org.eclipse.jetty.websocket.core
Modifier and TypeClassDescriptionclass
A collection of components which are the resources needed for websockets such asByteBufferPool
,WebSocketExtensionRegistry
, andDecoratedObjectFactory
. -
Uses of LifeCycle in org.eclipse.jetty.websocket.core.client
-
Uses of LifeCycle in org.eclipse.jetty.websocket.core.server
Modifier and TypeClassDescriptionclass
A collection of components which are the resources needed for websockets such asByteBufferPool
,WebSocketExtensionRegistry
, andDecoratedObjectFactory
.class
-
Uses of LifeCycle in org.eclipse.jetty.websocket.server
-
Uses of LifeCycle in org.eclipse.jetty.websocket.server.internal
QuicServerConnector
instead