Package | Description |
---|---|
org.eclipse.jetty.client |
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
|
org.eclipse.jetty.client.http | |
org.eclipse.jetty.io |
Jetty IO : Core classes for Jetty IO subsystem
|
org.eclipse.jetty.jaas |
Jetty Jaas : Support for Jaas
|
org.eclipse.jetty.jmx |
Jetty JMX : Integration for JMX in Jetty
|
org.eclipse.jetty.security |
Jetty Security : Modular Support for Security in Jetty
|
org.eclipse.jetty.server |
Jetty Server : Core Server API
|
org.eclipse.jetty.server.handler |
Jetty Server : Core Handler API
|
org.eclipse.jetty.server.handler.gzip |
Jetty GZIP Handler
|
org.eclipse.jetty.server.nio |
Jetty Server : Core Server Connector
|
org.eclipse.jetty.server.session |
Jetty Server : Session Management Implementations
|
org.eclipse.jetty.servlet |
Jetty Server : Modular Servlet Integration
|
org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
org.eclipse.jetty.util.component |
Jetty Util : Jetty Lifecycle Management
|
org.eclipse.jetty.util.compression | |
org.eclipse.jetty.util.preventers |
Jetty Util : Common Memory Leak Prevention Tooling
|
org.eclipse.jetty.util.ssl |
Jetty Util : Common SSL Utility Classes
|
org.eclipse.jetty.util.thread |
Jetty Util : Common ThreadPool Utilities
|
org.eclipse.jetty.util.thread.strategy | |
org.eclipse.jetty.webapp |
Jetty Util : Modular Web Application Support
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectorHttpClientTransport |
protected class |
AbstractConnectorHttpClientTransport.ClientSelectorManager |
class |
AbstractHttpClientTransport |
class |
HttpClient
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 |
HttpDestination |
class |
MultiplexHttpDestination |
class |
PoolingHttpDestination |
Modifier and Type | Class and Description |
---|---|
class |
HttpClientTransportOverHTTP |
class |
HttpDestinationOverHTTP |
Modifier and Type | Class and Description |
---|---|
class |
ConnectionStatistics
A
Connection.Listener that tracks connection statistics. |
class |
LeakTrackingByteBufferPool |
class |
ManagedSelector
ManagedSelector wraps a Selector simplifying non-blocking operations on channels. |
class |
SelectorManager
SelectorManager manages a number of ManagedSelector s that
simplify the non-blocking primitives provided by the JVM via the java.nio package. |
Modifier and Type | Class and Description |
---|---|
class |
JAASLoginService
JAASLoginService
Implementation of jetty's LoginService that works with JAAS for
authorization and authentication.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectorServer
LifeCycle wrapper for JMXConnectorServer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLoginService
AbstractLoginService
|
class |
ConfigurableSpnegoLoginService
A configurable (as opposed to using system properties) SPNEGO LoginService.
|
class |
ConstraintSecurityHandler
ConstraintSecurityHandler
|
class |
HashLoginService
Properties User Realm.
|
class |
JDBCLoginService
HashMapped User Realm with JDBC as data source.
|
class |
PropertyUserStore
This class monitors a property file of the format mentioned below
and notifies registered listeners of the changes to the the given file.
|
class |
SecurityHandler
Abstract SecurityHandler.
|
class |
SpnegoLoginService
Deprecated.
use
ConfigurableSpnegoLoginService instead |
class |
UserStore
Base class to store User
|
Modifier and Type | Interface and Description |
---|---|
interface |
Connector
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. |
interface |
Handler
A Jetty Server Handler.
|
interface |
HandlerContainer
A Handler that contains other Handlers.
|
interface |
NetworkConnector
A
Connector for TCP/IP network connectors |
interface |
SessionIdManager
Session ID Manager.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionFactory
Provides the common handling for
ConnectionFactory implementations including: |
class |
AbstractConnector
An abstract implementation of
Connector that provides a ConnectionFactory mechanism
for creating Connection instances for various protocols (HTTP, SSL, etc). |
class |
AbstractNCSARequestLog
Deprecated.
use
CustomRequestLog given format string CustomRequestLog.EXTENDED_NCSA_FORMAT with a RequestLog.Writer |
class |
AbstractNetworkConnector
An abstract Network Connector.
|
class |
AcceptRateLimit
A Listener that limits the rate at which new connections are accepted
|
class |
AsyncNCSARequestLog
Deprecated.
use
CustomRequestLog given format string CustomRequestLog.EXTENDED_NCSA_FORMAT with an AsyncRequestLogWriter |
class |
AsyncRequestLogWriter
An asynchronously writing RequestLogWriter
|
class |
ConnectionLimit
A Listener that limits the number of Connections.
|
class |
ConnectorStatistics
Deprecated.
use
ServerConnectionStatistics instead. |
class |
CustomRequestLog
A flexible RequestLog, which produces log strings in a customizable format.
|
class |
DebugListener
A Context Listener that produces additional debug.
|
class |
DetectorConnectionFactory
A
ConnectionFactory combining multiple Detecting instances that will upgrade to
the first one recognizing the bytes in the buffer. |
class |
HttpConnectionFactory
A Connection Factory for HTTP Connections.
|
class |
LocalConnector
A local connector, mostly for testing purposes.
|
class |
LowResourceMonitor
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() . |
private static class |
LowResourceMonitor.LRMScheduler |
class |
NCSARequestLog
Deprecated.
use
CustomRequestLog given format string CustomRequestLog.EXTENDED_NCSA_FORMAT with a RequestLogWriter |
class |
NegotiatingServerConnectionFactory |
class |
NetworkTrafficServerConnector
A specialized version of
ServerConnector that supports NetworkTrafficListener s. |
class |
OptionalSslConnectionFactory
Deprecated.
Use
DetectorConnectionFactory with a SslConnectionFactory instead. |
class |
ProxyConnectionFactory
ConnectionFactory for the PROXY Protocol.
|
private static class |
ProxyConnectionFactory.ProxyV1ConnectionFactory |
private static class |
ProxyConnectionFactory.ProxyV2ConnectionFactory |
class |
RequestLogWriter
Writer which outputs pre-formatted request log strings to a file using
RolloverFileOutputStream . |
class |
Server
Jetty HTTP Servlet Server.
|
class |
ServerConnectionStatistics |
class |
ServerConnector
This
Connector implementation is the primary connector for the
Jetty server over TCP/IP. |
protected class |
ServerConnector.ServerConnectorManager |
class |
Slf4jRequestLog
Deprecated.
use
CustomRequestLog given format string CustomRequestLog.EXTENDED_NCSA_FORMAT with an Slf4jRequestLogWriter |
class |
Slf4jRequestLogWriter
Request log writer using a Slf4jLog Logger
|
class |
SslConnectionFactory |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<LifeCycle> |
ShutdownMonitor._lifeCycles |
Modifier and Type | Method and Description |
---|---|
private void |
ShutdownMonitor.addLifeCycles(LifeCycle... lifeCycles) |
private boolean |
ShutdownMonitor.containsLifeCycle(LifeCycle lifeCycle) |
static void |
ShutdownMonitor.deregister(LifeCycle lifeCycle) |
static boolean |
ShutdownMonitor.isRegistered(LifeCycle lifeCycle) |
static void |
ShutdownMonitor.register(LifeCycle... lifeCycles) |
private void |
ShutdownMonitor.removeLifeCycle(LifeCycle lifeCycle) |
protected void |
Server.start(LifeCycle l) |
Modifier and Type | Method and Description |
---|---|
private void |
ShutdownMonitor.ShutdownMonitorRunnable.stopLifeCycles(java.util.function.Predicate<LifeCycle> predicate,
boolean destroy) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHandler
AbstractHandler.
|
static class |
AbstractHandler.ErrorDispatchHandler
Deprecated.
This class is no longer required as ERROR dispatch is only done if there is an error page target.
|
class |
AbstractHandlerContainer
Abstract Handler Container.
|
class |
AsyncDelayHandler
A handler wrapper that provides the framework to asynchronously
delay the handling of a request.
|
class |
BufferedResponseHandler
Buffered Response Handler
|
class |
ContextHandler
ContextHandler.
|
class |
ContextHandlerCollection
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. |
class |
DebugHandler
Deprecated.
Use
DebugListener |
class |
DefaultHandler
Default Handler.
|
class |
ErrorHandler
Handler for Error pages
An ErrorHandler is registered with
ContextHandler.setErrorHandler(ErrorHandler) or
Server.setErrorHandler(ErrorHandler) . |
class |
HandlerCollection
A collection of handlers.
|
class |
HandlerList
HandlerList.
|
class |
HandlerWrapper
A
HandlerWrapper acts as a Handler but delegates the handle method and
life cycle events to a delegate. |
class |
HotSwapHandler
A
HandlerContainer that allows a hot swap of a wrapped handler. |
class |
IdleTimeoutHandler
Handler to adjust the idle timeout of requests while dispatched.
|
class |
InetAccessHandler
InetAddress Access Handler
|
class |
IPAccessHandler
Deprecated.
Use @
InetAccessHandler . |
class |
MovedContextHandler
Moved ContextHandler.
|
private class |
MovedContextHandler.Redirector |
class |
RequestLogHandler
This handler provides an alternate way (other than
Server.setRequestLog(RequestLog) )
to log request, that can be applied to a particular handler (eg context). |
class |
ResourceHandler
Resource Handler.
|
class |
ScopedHandler
ScopedHandler.
|
class |
SecuredRedirectHandler
Secured Redirect Handler
|
class |
ShutdownHandler
A handler that shuts the server down on a valid request.
|
class |
StatisticsHandler |
class |
ThreadLimitHandler
Handler to limit the threads per IP address for DOS protection
|
Modifier and Type | Class and Description |
---|---|
class |
GzipHandler
A Handler that can dynamically GZIP uncompress requests, and compress responses.
|
Modifier and Type | Class and Description |
---|---|
class |
NetworkTrafficSelectChannelConnector
Deprecated.
use
NetworkTrafficServerConnector instead. |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionCache
SessionCache
A working set of
Session objects for a context. |
interface |
SessionDataMap
SessionDataMap
A map style access to SessionData keyed by the session id.
|
interface |
SessionDataStore
SessionDataStore
A store for the data contained in a Session object.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSessionCache
AbstractSessionCache
A base implementation of the
SessionCache interface for managing a set of
Session objects pertaining to a context in memory. |
class |
AbstractSessionDataStore
AbstractSessionDataStore
|
class |
CachingSessionDataStore
CachingSessionDataStore
A SessionDataStore is a mechanism for (persistently) storing data associated with sessions.
|
class |
DefaultSessionCache
DefaultSessionCache
A session store that keeps its sessions in memory in a hashmap
|
class |
DefaultSessionIdManager
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
FileSessionDataStore
A file-based store of session data.
|
class |
HouseKeeper
HouseKeeper
There is 1 session HouseKeeper per SessionIdManager instance.
|
class |
JDBCSessionDataStore
JDBCSessionDataStore
Session data stored in database
|
class |
NullSessionCache
NullSessionCache
Does not actually cache any Session objects.
|
class |
NullSessionDataStore
NullSessionDataStore
Does not actually store anything, useful for testing.
|
class |
SessionHandler
SessionHandler.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ServletContextHandler.ServletContainerInitializerCaller |
Modifier and Type | Class and Description |
---|---|
class |
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 |
ErrorPageErrorHandler
An ErrorHandler that maps exceptions and status codes to URIs for dispatch using
the internal ERROR style of dispatch.
|
class |
FilterHolder |
class |
Holder<T>
Holder
Specialization of AbstractHolder for servlet-related classes that
have init-params etc
|
class |
ListenerHolder
ListenerHolder
Specialization of BaseHolder for servlet listeners.
|
class |
ServletContextHandler
Servlet Context.
|
class |
ServletHandler
Servlet HttpHandler.
|
class |
ServletHolder
Servlet Instance and Context Holder.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ServletHandler.start(LifeCycle l) |
Modifier and Type | Class and Description |
---|---|
class |
LeakDetector<T>
A facility to detect improper usage of resource pools.
|
class |
PathWatcher
Watch a Path (and sub directories) for Path changes.
|
class |
Scanner
Scanner
Utility for scanning a directory for added, removed and changed
files and reporting these events via registered Listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLifeCycle
Basic implementation of the life cycle interface for components.
|
class |
AttributeContainerMap
An Attributes implementation that holds it's values in an immutable
ContainerLifeCycle |
class |
ContainerLifeCycle
A ContainerLifeCycle is an
LifeCycle implementation for a collection of contained beans. |
class |
StopLifeCycle
A LifeCycle that when started will stop another LifeCycle
|
Modifier and Type | Field and Description |
---|---|
private LifeCycle |
StopLifeCycle._lifecycle |
Modifier and Type | Method and Description |
---|---|
void |
ContainerLifeCycle.addManaged(LifeCycle lifecycle)
Adds a managed lifecycle.
|
static java.lang.String |
AbstractLifeCycle.getState(LifeCycle lc) |
void |
LifeCycle.Listener.lifeCycleFailure(LifeCycle event,
java.lang.Throwable cause) |
void |
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleFailure(LifeCycle event,
java.lang.Throwable cause) |
void |
StopLifeCycle.lifeCycleFailure(LifeCycle lifecycle,
java.lang.Throwable cause) |
void |
FileNoticeLifeCycleListener.lifeCycleFailure(LifeCycle event,
java.lang.Throwable cause) |
void |
LifeCycle.Listener.lifeCycleStarted(LifeCycle event) |
void |
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarted(LifeCycle event) |
void |
StopLifeCycle.lifeCycleStarted(LifeCycle lifecycle) |
void |
FileNoticeLifeCycleListener.lifeCycleStarted(LifeCycle event) |
void |
LifeCycle.Listener.lifeCycleStarting(LifeCycle event) |
void |
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarting(LifeCycle event) |
void |
StopLifeCycle.lifeCycleStarting(LifeCycle lifecycle) |
void |
FileNoticeLifeCycleListener.lifeCycleStarting(LifeCycle event) |
void |
LifeCycle.Listener.lifeCycleStopped(LifeCycle event) |
void |
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopped(LifeCycle event) |
void |
StopLifeCycle.lifeCycleStopped(LifeCycle lifecycle) |
void |
FileNoticeLifeCycleListener.lifeCycleStopped(LifeCycle event) |
void |
LifeCycle.Listener.lifeCycleStopping(LifeCycle event) |
void |
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopping(LifeCycle event) |
void |
StopLifeCycle.lifeCycleStopping(LifeCycle lifecycle) |
void |
FileNoticeLifeCycleListener.lifeCycleStopping(LifeCycle event) |
protected void |
ContainerLifeCycle.start(LifeCycle l)
Starts the given lifecycle.
|
protected void |
ContainerLifeCycle.stop(LifeCycle l)
Stops the given lifecycle.
|
private void |
FileNoticeLifeCycleListener.writeState(java.lang.String action,
LifeCycle lifecycle) |
Constructor and Description |
---|
StopLifeCycle(LifeCycle lifecycle) |
Modifier and Type | Class and Description |
---|---|
class |
CompressionPool<T> |
class |
DeflaterPool |
class |
InflaterPool |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLeakPreventer
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
AppContextLeakPreventer
Cause the classloader that is pinned by AppContext.getAppContext() to be
a container or system classloader, not a webapp classloader.
|
class |
AWTLeakPreventer
AWTLeakPreventer
See https://issues.jboss.org/browse/AS7-3733
The java.awt.Toolkit class has a static field that is the default toolkit.
|
class |
DOMLeakPreventer
DOMLeakPreventer
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6916498
Prevent the RuntimeException that is a static member of AbstractDOMParser
from pinning a webapp classloader by causing it to be set here by a non-webapp classloader.
|
class |
DriverManagerLeakPreventer
DriverManagerLeakPreventer
Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.
|
class |
GCThreadLeakPreventer
GCThreadLeakPreventer
Prevents a call to sun.misc.GC.requestLatency pinning a webapp classloader
by calling it with a non-webapp classloader.
|
class |
Java2DLeakPreventer
Java2DLeakPreventer
Prevent pinning of webapp classloader by pre-loading sun.java2d.Disposer class
before webapp classloaders are created.
|
class |
LDAPLeakPreventer
LDAPLeakPreventer
If com.sun.jndi.LdapPoolManager class is loaded and the system property
com.sun.jndi.ldap.connect.pool.timeout is set to a nonzero value, a daemon
thread is started which can pin a webapp classloader if it is the first to
load the LdapPoolManager.
|
class |
LoginConfigurationLeakPreventer
LoginConfigurationLeakPreventer
The javax.security.auth.login.Configuration class keeps a static reference to the
thread context classloader.
|
class |
SecurityProviderLeakPreventer
SecurityProviderLeakPreventer
Some security providers, such as sun.security.pkcs11.SunPKCS11 start a deamon thread,
which will use the thread context classloader.
|
Modifier and Type | Class and Description |
---|---|
class |
SslContextFactory
SslContextFactory is used to configure SSL parameters
to be used by server and client connectors.
|
static class |
SslContextFactory.Client |
static class |
SslContextFactory.Server |
Modifier and Type | Interface and Description |
---|---|
interface |
Scheduler |
Modifier and Type | Class and Description |
---|---|
class |
ExecutorSizedThreadPool
Deprecated.
|
class |
ExecutorThreadPool
A
ThreadPool.SizedThreadPool wrapper around ThreadPoolExecutor . |
class |
MonitoredQueuedThreadPool
A
QueuedThreadPool subclass that monitors its own activity by recording queue and task statistics. |
class |
QueuedThreadPool |
class |
ReservedThreadExecutor
An Executor using preallocated/reserved Threads from a wrapped Executor.
|
class |
ScheduledExecutorScheduler
Implementation of
Scheduler based on JDK's ScheduledThreadPoolExecutor . |
class |
Sweeper
A utility class to perform periodic sweeping of resources.
|
class |
TimerScheduler
A scheduler based on the the JVM Timer class
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<LifeCycle> |
ShutdownThread._lifeCycles |
Modifier and Type | Method and Description |
---|---|
static void |
ShutdownThread.deregister(LifeCycle lifeCycle) |
static boolean |
ShutdownThread.isRegistered(LifeCycle lifeCycle) |
static void |
ShutdownThread.register(int index,
LifeCycle... lifeCycles) |
static void |
ShutdownThread.register(LifeCycle... lifeCycles) |
Modifier and Type | Class and Description |
---|---|
class |
EatWhatYouKill
A strategy where the thread that produces will run the resulting task if it
is possible to do so without thread starvation.
|
Modifier and Type | Class and Description |
---|---|
class |
WebAppContext
Web Application Context Handler.
|