Uses of Interface
org.eclipse.jetty.util.component.LifeCycle
Package
Description
Jetty Annotations : Support for Servlet Annotations
Jetty Ant : Ant Tasks and Configuration
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
Jetty Deploy : Webapp Deploy Management
Jetty Deploy : Webapp Deployment Providers
Jetty IO : Core classes for Jetty IO subsystem
Jetty Jaas : Support for Jaas
Jetty JMX : Integration for JMX in Jetty
Jetty NoSql : Generic Nosql Session Management
Jetty NoSql : MongoDB Integration
Jetty Plus : Limited JEE Security Support
Jetty Proxy : Async Proxy 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 Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
Jetty Server : Session Management Implementations
Jetty Server : Modular Servlet Integration
Jetty Util : Common Utility Classes
Jetty Util : Jetty Lifecycle Management
Jetty Util : Common Memory Leak Prevention Tooling
Jetty Util : Common SSL Utility Classes
Jetty Util : Common ThreadPool Utilities
Jetty Util : Modular Web Application Support
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.annotations
Modifier and TypeClassDescriptionstatic class
class
Deprecated. -
Uses of LifeCycle in org.eclipse.jetty.ant
Modifier and TypeClassDescriptionclass
Extension of WebAppContext to allow configuration via Ant environment.static class
AntServletHandlerstatic class
AntServletHolder -
Uses of LifeCycle in org.eclipse.jetty.client
Modifier and TypeClassDescriptionclass
class
class
class
class
A destination for those network transports that are duplex (e.g.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
class
class
A destination for those transports that are multiplex (e.g.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.dynamic
Modifier and TypeClassDescriptionclass
AHttpClientTransport
that can dynamically switch among different application protocols. -
Uses of LifeCycle in org.eclipse.jetty.client.http
-
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
class
The webapps directory scanning provider. -
Uses of LifeCycle in org.eclipse.jetty.fcgi.client.http
-
Uses of LifeCycle in org.eclipse.jetty.fcgi.server
-
Uses of LifeCycle in org.eclipse.jetty.gcloud.session
-
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.class
-
Uses of LifeCycle in org.eclipse.jetty.http2.client.http
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
class
-
Uses of LifeCycle in org.eclipse.jetty.http3.client
Modifier and TypeClassDescriptionclass
HTTP3Client provides an asynchronous, non-blocking implementation to send HTTP/3 frames to a server. -
Uses of LifeCycle in org.eclipse.jetty.http3.client.http
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
A HTTP/3 specificQuicServerConnector
that configures QUIC parameters according to HTTP/3 requirements.class
-
Uses of LifeCycle in org.eclipse.jetty.io
Modifier and TypeClassDescriptionstatic class
A holder for a list of protocol strings identifying an application protocol (for example["h2", "h2-17", "h2-16"]
) and aClientConnectionFactory
that creates connections that speak that network protocol.class
The client-side component that connects to server sockets.protected class
static class
Configures aClientConnector
.class
AConnection.Listener
that tracks connection statistics.class
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.jaas
Modifier and TypeClassDescriptionclass
JAASLoginService 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.jmx
-
Uses of LifeCycle in org.eclipse.jetty.memcached.session
Modifier and TypeClassDescriptionclass
MemcachedSessionDataMap Uses memcached as a cache for SessionData. -
Uses of LifeCycle in org.eclipse.jetty.nosql
-
Uses of LifeCycle in org.eclipse.jetty.nosql.mongodb
Modifier and TypeClassDescriptionclass
MongoSessionDataStore The document model is an outer object that contains the elements: "id" : session_id "created" : create_time "accessed": last_access_time "maxIdle" : max_idle_time setting as session was created "expiry" : time at which session should expire "valid" : session_valid "context" : a nested object containing 1 nested object per context for which the session id is in use Each of the nested objects inside the "context" element contains: unique_context_name : nested object containing name:value pairs of the session attributes for that context unique_context_name: vhost:contextpath, where no vhosts="0_0_0_0", root context = "", contextpath "/" replaced by "_" -
Uses of LifeCycle in org.eclipse.jetty.osgi.boot
Modifier and TypeClassDescriptionclass
AbstractContextProvider Base class for DeploymentManager Providers that can deploy ContextHandlers into Jetty that have been discovered via OSGI either as bundles or services.class
AbstractWebAppProviderclass
BundleContextProviderclass
BundleWebAppProviderclass
ServiceContextProvider Jetty DeploymentManager Provider that is able to deploy ContextHandlers discovered via OSGi as services.class
ServiceWebAppProvider -
Uses of LifeCycle in org.eclipse.jetty.osgi.boot.utils
-
Uses of LifeCycle in org.eclipse.jetty.plus.security
-
Uses of LifeCycle in org.eclipse.jetty.proxy
Modifier and TypeClassDescriptionclass
Implementation of aHandler
that supports HTTP CONNECT.protected class
-
Uses of LifeCycle in org.eclipse.jetty.quic.client
Modifier and TypeClassDescriptionclass
Client specific implementation ofProtocolSession
.class
The client specific implementation ofQuicSession
.class
A QUIC specificClientConnector.Configurator
. -
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
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
A server side network connector that uses aDatagramChannel
to listen on a network port for QUIC traffic.class
Server specific implementation ofProtocolSession
.class
The server specific implementation ofQuicSession
. -
Uses of LifeCycle in org.eclipse.jetty.rewrite.handler
Modifier and TypeClassDescriptionclass
Rewrite handler is responsible for managing the rules. -
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
A configurable (as opposed to using system properties) SPNEGO LoginService.class
ConstraintSecurityHandlerclass
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.class
Store of user 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 Server Handler.interface
A Handler that contains other Handlers.interface
AConnector
for TCP/IP network connectorsinterface
Session ID Manager.Modifier 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 byContextHandler.getProtectedTargets()
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
A Context Listener that produces additional debug.class
AConnectionFactory
combining multipleConnectionFactory.Detecting
instances that will upgrade to the first one recognizing the bytes in the buffer.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
class
A specialized version ofServerConnector
that supportsNetworkTrafficListener
s.class
Deprecated.class
ConnectionFactory for the PROXY Protocol.class
Writer which outputs pre-formatted request log strings to a file usingRolloverFileOutputStream
.class
Jetty HTTP Servlet Server.class
Deprecated.class
ThisConnector
implementation is the primary connector for the Jetty server over TCP/IP.protected class
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.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
AbstractHandler.static class
Deprecated.This class is no longer required as ERROR dispatch is only done if there is an error page target.class
Abstract Handler Container.class
A handler wrapper that provides the framework to asynchronously delay the handling of a request.class
A Handler that can apply aHttpOutput.Interceptor
mechanism to buffer the entire response content until the output is closed.class
ContextHandler.class
ThisHandlerCollection
is creates a Map of contexts to it's contained handlers based on the context path and virtual hosts of any containedContextHandler
s.class
Debug Handler.class
Default Handler.class
Handler for Error pages An ErrorHandler is registered withContextHandler.setErrorHandler(ErrorHandler)
orServer.setErrorHandler(ErrorHandler)
.class
A Handler that can apply aHttpOutput.Interceptor
mechanism to buffer the entire response content until the output is closed.class
A collection of handlers.class
HandlerList.class
AHandlerWrapper
acts as aHandler
but delegates thehandle
method andlife cycle
events to a delegate.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
Moved ContextHandler.class
This handler provides an alternate way (other thanServer.setRequestLog(RequestLog)
) to log request, that can be applied to a particular handler (eg context).class
Resource Handler.class
ScopedHandler.class
SecuredRedirectHandler redirects fromhttp
tohttps
.class
A handler that shuts the server down on a valid request.class
class
Handler to limit the threads per IP address for DOS protection -
Uses of LifeCycle in org.eclipse.jetty.server.handler.gzip
Modifier and TypeClassDescriptionclass
A Handler that can dynamically GZIP uncompress requests, and compress responses. -
Uses of LifeCycle in org.eclipse.jetty.server.session
Modifier and TypeInterfaceDescriptioninterface
SessionCache A working set ofSession
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.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
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
NullSessionCache Does not actually cache any Session objects.class
NullSessionDataStore Does not actually store anything, useful for testing.class
SessionHandler. -
Uses of LifeCycle in org.eclipse.jetty.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
An ErrorHandler that maps exceptions and status codes to URIs for dispatch using the internal ERROR style of dispatch.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
Deprecated.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. -
Uses of LifeCycle in org.eclipse.jetty.session.infinispan
-
Uses of LifeCycle in org.eclipse.jetty.unixsocket.client
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.use anyHttpClientTransport
withClientConnector.forUnixDomain(Path)
instead (requires Java 16 or later) -
Uses of LifeCycle in org.eclipse.jetty.unixsocket.server
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Use UnixDomainServerConnector from the jetty-unixdomain-server module instead (requires Java 16 or later).protected class
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of LifeCycle in org.eclipse.jetty.util
Modifier and TypeClassDescriptionclass
LeakDetector<T>
A facility to detect improper usage of resource pools.class
Watch a Path (and sub directories) for Path changes.class
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.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 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
A scheduler based on the the JVM Timer classModifier 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.webapp
-
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.jakarta.client
Modifier and TypeClassDescriptionclass
This manages the LifeCycle ofWebSocketContainer
instances that are created withContainerProvider
, if this code is being run from another ServletContainer, or if run inside a Jetty Server with the WebSocket client classes provided by the webapp. -
Uses of LifeCycle in org.eclipse.jetty.websocket.jakarta.client.internal
Modifier and TypeClassDescriptionclass
Container for Client use of the jakarta.websocket API. -
Uses of LifeCycle in org.eclipse.jetty.websocket.jakarta.common
-
Uses of LifeCycle in org.eclipse.jetty.websocket.jakarta.server.internal
-
Uses of LifeCycle in org.eclipse.jetty.websocket.server
-
Uses of LifeCycle in org.eclipse.jetty.websocket.server.internal
DetectorConnectionFactory
with aSslConnectionFactory
instead.