Package org.eclipse.jetty.server
package org.eclipse.jetty.server
Jetty Server : Core Server API
-
ClassDescriptionProvides the common handling for
ConnectionFactory
implementations.An abstract implementation ofConnector
that provides aConnectionFactory
mechanism for creatingConnection
instances for various protocols (HTTP, SSL, etc).An abstract Network Connector.A Listener that limits the rate at which new connections are acceptedThis 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.An asynchronously writing RequestLogWriterThe 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.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.A successful Authentication with User information.A wrapped authentication with methods provide the wrapped request/response for use by the applicationA Factory to createConnection
instances forConnector
s.A ConnectionFactory that can configure the connector.Connections created by this factory MUST implementConnection.UpgradeTo
.The possible outcomes of theConnectionFactory.Detecting.detect(ByteBuffer)
method.A Listener that limits the number of Connections.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.ContentProducer is the bridge betweenHttpInput
andHttpChannel
.Cookie parserA flexible RequestLog, which produces log strings in a customizable format.A Context Listener that produces additional debug.AConnectionFactory
combining multipleConnectionFactory.Detecting
instances that will upgrade to the first one recognizing the bytes in the buffer.Customize Requests for Proxy Forwarding.Ordered Source Enum.A Jetty Server Handler.A Handler that contains other Handlers.Display an optional Warning Message if the {jetty.home} and {jetty.base} are the same directory.Adds a missingHost
header (for example, HTTP 1.0 or 2.0 requests).HttpChannel represents a single endpoint for HTTP semantic processing.Listener forHttpChannel
events.Deprecated.AHttpChannel.Listener
that holds a collection of otherHttpChannel.Listener
instances that are efficiently invoked without iteration.An HttpChannel customized to be transported over the HTTP/1 protocolImplementation of AsyncContext interface that holds the state of request-response cycle.The actions to take as the channel moves from state to state.HTTP Configuration.An interface that allows a request object to be customized for a particular HTTP connector configuration.AConnection
that handles the HTTP protocol.A Connection Factory for HTTP Connections.While this class is-a Runnable, it should never be dispatched in it's own thread.A content represents the production of aHttpChannel
returned byHttpChannel.produceContent()
.EOF special content.Error special content.HttpInput.Content
interceptor that can be registered usingHttpInput.setInterceptor(Interceptor)
orHttpInput.addInterceptor(Interceptor)
.Abstract class that implements the standard special content behavior.Simple non-special content wrapper allow overriding the EOF flag.HttpOutput
implementsServletOutputStream
as required by the Servlet specification.The HttpOutput.Interceptor is a single intercept point for all output written to the HttpOutput: via writer; via output stream; asynchronously; or blocking.Abstraction of the outbound HTTP transport.Byte range inclusive of end points.A local connector, mostly for testing purposes.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()
The compliance level for parsingmultiPart/form-data
MultiPartInputStreamDeprecated.Replaced by org.eclipse.jetty.http.MultiPartFormInputStream The code for MultiPartInputStream is slower than its replacement MultiPartFormInputStream.A parser for MultiPart content type.AConnector
for TCP/IP network connectorsA specialized version ofServerConnector
that supportsNetworkTrafficListener
s.Deprecated.UseDetectorConnectionFactory
with aSslConnectionFactory
instead.ConnectionFactory for the PROXY Protocol.Customizer that extracts the real local and remote address:port pairs from aProxyConnectionFactory
and sets them on the request withServletRequest.setAttribute(String, Object)
.A ServletException that is logged less verbosely than a normal ServletException.Jetty Request.ARequestLog
can be attached to aRequestLogHandler
to enable logging of requests/responses.Writes the generated log string to a log sinkWriter which outputs pre-formatted request log strings to a file usingRolloverFileOutputStream
.An HttpContent.Factory for transient content (not cached).Abstract resource service, used by DefaultServlet and ResourceHandlerResponse
provides the implementation forHttpServletResponse
.Specialized PrintWriter for servlet ResponsesDeprecated.useAllowedResourceAliasChecker
instead.Customizer that extracts the attribute from anSSLContext
and sets them on the request withServletRequest.setAttribute(String, Object)
according to Servlet Specification Requirements.Jetty HTTP Servlet Server.Deprecated.ThisConnector
implementation is the primary connector for the Jetty server over TCP/IP.An implementation of Attributes that supports the standard async attributes.Implementation of HttpServletMapping.ServletRequestHttpWrapper Class to tunnel a ServletRequest via an HttpServletRequestServletResponseHttpWrapper Wrapper to tunnel a ServletResponse via an HttpServletResponseSession ID Manager.Shutdown/Stop Monitor thread.Request log writer using a Slf4jLog LoggerA Connection Lister for customization of SocketConnections.A LifeCycle Listener that writes state changes to a file.An extension ofAllowedResourceAliasChecker
which will allow symlinks alias to arbitrary targets, so long as the symlink file itself is an allowed resource.User object that encapsulates user identity and operations such as run-as-role actions, checking isUserInRole and getUserPrincipal.A UserIdentity Scope.OutputWriter.