Top Description Interfaces Classes
module org.eclipse.jetty.server

Package org.eclipse.jetty.server


Jetty Server : Core Server API

Interface Summary

Modifier and TypeInterface and Description
public interface
AliasCheck

Interface to check aliases.

public interface
Components

Common components made available via a Request

public interface
ConnectionFactory

A Factory to create Connection instances for Connectors.

public interface
public 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.

public interface
Context

A context for handling an Request.

public interface
Deployable

Interface that can be implemented by ContextHandlers within Environments to allow configuration to be passed from the DeploymentManager without dependencies on the Deployment module itself.

public interface
Handler

A Jetty component that handles HTTP requests, of any version (HTTP/1.1, HTTP/2 or HTTP/3).

public interface
public interface
HttpChannel

Represents the state of an HTTP request/response cycle.

public interface
HttpStream

A HttpStream is an abstraction that together with MetaData.Request, represents the flow of data from and to a single request and response cycle.

public interface
NetworkConnector

A Connector for TCP/IP network connectors

public interface
Request

The representation of an HTTP request, for any protocol version (HTTP/1.1, HTTP/2, HTTP/3).

public interface
public interface
Response

The representation of an HTTP response, for any protocol version (HTTP/1.1, HTTP/2, HTTP/3).

public interface
Session

The interface to a generic session associated with a request.

public interface
TunnelSupport

Supports the implementation of HTTP CONNECT tunnels.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractConnectionFactory

Provides the common handling for ConnectionFactory implementations.

public abstract class
AbstractConnector

An abstract implementation of Connector that provides a ConnectionFactory mechanism for creating org.eclipse.jetty.io.Connection instances for various protocols (HTTP, SSL, etc).

public abstract class
AbstractMetaDataConnection

An AbstractConnection that also implements ConnectionMetaData with fixed local and remote addresses.

public abstract class
AbstractNetworkConnector

An abstract Network Connector.

public class
AcceptRateLimit

A Listener that limits the rate at which new connections are accepted

If the limits are exceeded, accepting is suspended until the rate is again below the limit, so incoming connections are held in the operating system accept queue (no syn ack sent), where they may either timeout or wait for the server to resume accepting.

public class
AllowedResourceAliasChecker

This will approve any alias to anything inside of the ContextHandlers resource base which is not protected by a protected target as defined by the ContextHandler protected targets at start.

public class
AsyncRequestLogWriter

An asynchronously writing RequestLogWriter

public class
ConnectionLimit

A Listener that limits the number of Connections.

public class
CustomRequestLog

A flexible RequestLog, which produces log strings in a customizable format.

public class
DetectorConnectionFactory

A ConnectionFactory combining multiple Detecting instances that will upgrade to the first one recognizing the bytes in the buffer.

public class
FormFields

A CompletableFuture that is completed once a application/x-www-form-urlencoded content has been parsed asynchronously from the Content.Source.

public class
ForwardedRequestCustomizer

Customize Requests for Proxy Forwarding.

public class
HomeBaseWarning

Display an optional Warning Message if the {jetty.home} and {jetty.base} are the same directory.

public class
HostHeaderCustomizer

Adds a missing Host header (for example, HTTP 1.0 or 2.0 requests).

public class
HttpConfiguration

HTTP Configuration.

public class
HttpConnectionFactory

A Connection Factory for HTTP Connections.

public class
HttpCookieUtils

Utility methods for server-side HTTP cookie handling.

public class
LocalConnector

A local connector, mostly for testing purposes.

public class
LowResourceMonitor

A monitor for low resources, low resources can be detected by:

public abstract class
public abstract class
public class
public class
OptionalSslConnectionFactory

Deprecated Use DetectorConnectionFactory with a SslConnectionFactory instead.

A ConnectionFactory whose connections detect whether the first bytes are TLS bytes and upgrades to either a TLS connection or to another configurable connection.

public class
ProxyConnectionFactory

ConnectionFactory for the PROXY Protocol.

public class
ProxyCustomizer

Customizer that extracts the real local and remote address:port pairs from a ProxyConnectionFactory and sets them on the request with Request#setAttribute(String, Object).

public class
RequestLogWriter

Writer which outputs pre-formatted request log strings to a file using RolloverFileOutputStream.

public class
ResourceListing

Utility methods to generate a List of paths.

public class
ResourceService

Resource service, used by DefaultServlet and ResourceHandler

public class
public class
SecureRequestCustomizer

Customizer that extracts the attribute of an SSLContext and makes them available via Request#getAttribute(String) using the names:

public class
public class
ServerConnector

This Connector implementation is the primary connector for the Jetty server over TCP/IP.

public class
ShutdownMonitor

Shutdown/Stop Monitor thread.

public class
SizeLimitHandler

A Handler that can limit the size of message bodies in requests and responses.

public class
Slf4jRequestLogWriter

Request log writer using a Slf4jLog Logger

public class
SocketCustomizationListener

A Connection Lister for customization of SocketConnections.

public class
public class
StateLifeCycleListener

A LifeCycle Listener that writes state changes to a file.

public class
SymlinkAllowedResourceAliasChecker

An extension of AllowedResourceAliasChecker which will allow symlinks alias to arbitrary targets, so long as the symlink file itself is an allowed resource.