Package org.eclipse.jetty.server
Jetty Server : Core Server API
-
Interface Summary Interface Description Authentication The Authentication state of a request.Authentication.Challenge An Authentication Challenge has been sent.Authentication.Deferred A deferred authentication with methods to progress the authentication process.Authentication.Failure An Authentication Failure has been sent.Authentication.LoginAuthentication An authentication that is capable of performing a programmatic login operation.Authentication.LogoutAuthentication An authentication that is capable of performing a programmatic logout operation.Authentication.NonAuthenticated After a logout, the authentication reverts to a state where it is possible to programmatically log in again.Authentication.ResponseSent Authentication Response sent state.Authentication.SendSuccess Authentication.User A successful Authentication with User information.Authentication.Wrapped A wrapped authentication with methods provide the wrapped request/response for use by the applicationConnectionFactory A Factory to createConnection
instances forConnector
s.ConnectionFactory.Detecting Connections created by this factory MUST implementConnection.UpgradeTo
.ConnectionFactory.Upgrading Connector 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.Handler A Jetty Server Handler.HandlerContainer A Handler that contains other Handlers.HttpChannel.Dispatchable HttpChannel.Listener Listener forHttpChannel
events.HttpChannelListeners.NotifyContent HttpChannelListeners.NotifyFailure HttpChannelListeners.NotifyRequest HttpConfiguration.ConnectionFactory HttpConfiguration.Customizer An interface that allows a request object to be customized for a particular HTTP connector configuration.HttpInput.Interceptor An interceptor for HTTP Request input.HttpOutput.Interceptor The HttpOutput.Interceptor is a single intercept point for all output written to the HttpOutput: via writer; via output stream; asynchronously; or blocking.HttpTransport Abstraction of the outbound HTTP transport.LowResourceMonitor.LowResourceCheck MultiParts NegotiatingServerConnection.CipherDiscriminator NetworkConnector AConnector
for TCP/IP network connectorsPushBuilder Build a request to be pushed.RequestLog ARequestLog
can be attached to aRequestLogHandler
to enable logging of requests/responses.RequestLog.Writer Writes the generated log string to a log sinkResourceService.WelcomeFactory SessionIdManager Session ID Manager.UserIdentity User object that encapsulates user identity and operations such as run-as-role actions, checking isUserInRole and getUserPrincipal.UserIdentity.Scope A UserIdentity Scope.UserIdentity.UnauthenticatedUserIdentity -
Class Summary Class Description AbstractConnectionFactory Provides the common handling forConnectionFactory
implementations including:AbstractConnector An abstract implementation ofConnector
that provides aConnectionFactory
mechanism for creatingConnection
instances for various protocols (HTTP, SSL, etc).AbstractNCSARequestLog Deprecated. useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with aRequestLog.Writer
AbstractNetworkConnector An abstract Network Connector.AcceptRateLimit A Listener that limits the rate at which new connections are acceptedAsyncAttributes AsyncContextEvent AsyncContextState AsyncContextState.WrappedAsyncListener AsyncNCSARequestLog Deprecated. useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with anAsyncRequestLogWriter
AsyncRequestLogWriter An asynchronously writing RequestLogWriterCachedContentFactory ClassLoaderDump ConnectionLimit A Listener that limits the number of Connections.ConnectorStatistics Deprecated. useConnectionStatistics
instead.ConnectorStatistics.Sample CookieCutter Cookie parserCustomRequestLog A flexible RequestLog, which produces log strings in a customizable format.CustomRequestLog.Token DebugListener A Context Listener that produces additional debug.DetectorConnectionFactory AConnectionFactory
combining multipleConnectionFactory.Detecting
instances that will upgrade to the first one recognizing the bytes in the buffer.Dispatcher EncodingHttpWriter ForwardedRequestCustomizer Customize Requests for Proxy Forwarding.ForwardedRequestCustomizer.MutableHostPort HomeBaseWarning Display an optional Warning Message if the {jetty.home} and {jetty.base} are the same directory.HostHeaderCustomizer Customizes requests that lack theHost
header (for example, HTTP 1.0 requests).HttpChannel HttpChannel represents a single endpoint for HTTP semantic processing.HttpChannel.TransientListeners Deprecated. HttpChannelListeners AHttpChannel.Listener
that holds a collection of otherHttpChannel.Listener
instances that are efficiently invoked without iteration.HttpChannelOverHttp An HttpChannel customized to be transported over the HTTP/1 protocolHttpChannelState Implementation of AsyncContext interface that holds the state of request-response cycle.HttpConfiguration HTTP Configuration.HttpConnection AConnection
that handles the HTTP protocol.HttpConnectionFactory A Connection Factory for HTTP Connections.HttpInput HttpInput.ChainedInterceptor AnHttpInput.Interceptor
that chains two otherHttpInput.Interceptor
s together.HttpInput.Content HttpInput.EofContent HttpInput.EOFState HttpInput.SentinelContent A Sentinel Content, which has zero length content but indicates some other event in the input stream (eg EOF)HttpInput.State HttpInputOverHTTP HttpOutput HttpOutput
implementsServletOutputStream
as required by the Servlet specification.HttpOutput.WriteBlocker HttpWriter InclusiveByteRange Byte range inclusive of end points.Iso88591HttpWriter LocalConnector A local connector, mostly for testing purposes.LowResourceMonitor 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()
IfLowResourceMonitor.setMaxConnections(int)
is non zero then low resources is detected if the total number of connections exceedsLowResourceMonitor.getMaxConnections()
.LowResourceMonitor.LRMScheduler MultiPartCleanerListener MultiParts.MultiPartsHttpParser MultiParts.MultiPartsUtilParser NCSARequestLog Deprecated. useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with aRequestLogWriter
NegotiatingServerConnection NegotiatingServerConnectionFactory NetworkTrafficServerConnector A specialized version ofServerConnector
that supportsNetworkTrafficListener
s.OptionalSslConnectionFactory Deprecated. UseDetectorConnectionFactory
with aSslConnectionFactory
instead.ProxyConnectionFactory ConnectionFactory for the PROXY Protocol.ProxyConnectionFactory.ProxyEndPoint ProxyConnectionFactory.ProxyV1ConnectionFactory ProxyConnectionFactory.ProxyV1ConnectionFactory.ProxyProtocolV1Connection ProxyConnectionFactory.ProxyV2ConnectionFactory ProxyCustomizer Customizer that extracts the real local and remote address:port pairs from aProxyConnectionFactory
and sets them on the request withServletRequest.setAttribute(String, Object)
.ProxyCustomizer.ProxyAttributes PushBuilderImpl Request Jetty Request.RequestLog.Collection RequestLogCollection RequestLogWriter Writer which outputs pre-formatted request log strings to a file usingRolloverFileOutputStream
.ResourceContentFactory An HttpContent.Factory for transient content (not cached).ResourceService Abstract resource service, used by DefaultServlet and ResourceHandlerResponse Response
provides the implementation forHttpServletResponse
.ResponseWriter Specialized PrintWriter for servlet ResponsesSameFileAliasChecker Alias checking for working with FileSystems that normalize access to the File System.SecureRequestCustomizer Customizer that extracts the attribute from anSSLContext
and sets them on the request withServletRequest.setAttribute(String, Object)
according to Servlet Specification Requirements.SecureRequestCustomizer.SslSessionData Simple bundle of data that is cached in the SSLSession.Server Jetty HTTP Servlet Server.Server.DateField ServerConnectionStatistics Deprecated. ServerConnector ThisConnector
implementation is the primary connector for the Jetty server over TCP/IP.ServletAttributes ServletRequestHttpWrapper ServletRequestHttpWrapper Class to tunnel a ServletRequest via an HttpServletRequestServletResponseHttpWrapper ServletResponseHttpWrapper Wrapper to tunnel a ServletResponse via an HttpServletResponseShutdownMonitor Shutdown/Stop Monitor thread.ShutdownMonitor.Holder Slf4jRequestLog Deprecated. useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with anSlf4jRequestLogWriter
Slf4jRequestLogWriter Request log writer using a Slf4jLog LoggerSocketCustomizationListener A Connection Lister for customization of SocketConnections.SslConnectionFactory Utf8HttpWriter OutputWriter. -
Enum Summary Enum Description ConnectionFactory.Detecting.Detection The possible outcomes of theConnectionFactory.Detecting.detect(ByteBuffer)
method.ForwardedRequestCustomizer.Source Ordered Source Enum.HttpChannelState.Action The actions to take as the channel moves from state to state.HttpChannelState.InputState HttpChannelState.OutputState HttpChannelState.RequestState HttpChannelState.State HttpOutput.ApiState The API State which combines with the output State:HttpOutput.State The output stateMultiPartFormDataCompliance The compliance level for parsingmultiPart/form-data
ProxyConnectionFactory.ProxyV2ConnectionFactory.Family ProxyConnectionFactory.ProxyV2ConnectionFactory.Transport Response.EncodingFrom Response.OutputType -
Exception Summary Exception Description Authentication.Failed DetectorConnectionFactory.DetectionFailureException QuietServletException A ServletException that is logged less verbosely than a normal ServletException.