Package org.eclipse.jetty.server
package org.eclipse.jetty.server
Jetty Server : Core Server API
-
ClassDescriptionProvides the common handling for
ConnectionFactoryimplementations.An abstract implementation ofConnectorthat provides aConnectionFactorymechanism for creatingConnectioninstances 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 theContextHandlers 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 createConnectioninstances forConnectors.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.AConnectoraccept 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 betweenHttpInputandHttpChannel.Cookie parserA flexible RequestLog, which produces log strings in a customizable format.A Context Listener that produces additional debug.AConnectionFactorycombining multipleConnectionFactory.Detectinginstances 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 missingHostheader (for example, HTTP 1.0 or 2.0 requests).HttpChannel represents a single endpoint for HTTP semantic processing.Listener forHttpChannelevents.Deprecated.AHttpChannel.Listenerthat holds a collection of otherHttpChannel.Listenerinstances 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.AConnectionthat 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 aHttpChannelreturned byHttpChannel.produceContent().EOF special content.Error special content.HttpInput.Contentinterceptor 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.HttpOutputimplementsServletOutputStreamas 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 ofThreadPoolandLowResourceMonitor.setMonitorThreads(boolean)is true. IfLowResourceMonitor.setMaxMemory(long)is non zero then low resources is detected if the JVMsRuntimeinstance hasRuntime.totalMemory()minusRuntime.freeMemory()greater thanLowResourceMonitor.getMaxMemory()The compliance level for parsingmultiPart/form-dataMultiPartInputStreamDeprecated.Replaced by org.eclipse.jetty.http.MultiPartFormInputStream The code for MultiPartInputStream is slower than its replacement MultiPartFormInputStream.A parser for MultiPart content type.AConnectorfor TCP/IP network connectorsA specialized version ofServerConnectorthat supportsNetworkTrafficListeners.Deprecated.UseDetectorConnectionFactorywith aSslConnectionFactoryinstead.ConnectionFactory for the PROXY Protocol.Customizer that extracts the real local and remote address:port pairs from aProxyConnectionFactoryand sets them on the request withServletRequest.setAttribute(String, Object).A ServletException that is logged less verbosely than a normal ServletException.Jetty Request.ARequestLogcan be attached to aRequestLogHandlerto 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 ResourceHandlerResponseprovides the implementation forHttpServletResponse.Specialized PrintWriter for servlet ResponsesDeprecated.useAllowedResourceAliasCheckerinstead.Customizer that extracts the attribute from anSSLContextand sets them on the request withServletRequest.setAttribute(String, Object)according to Servlet Specification Requirements.Jetty HTTP Servlet Server.Deprecated.ThisConnectorimplementation 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 ofAllowedResourceAliasCheckerwhich 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.