Package org.eclipse.jetty.server.handler
package org.eclipse.jetty.server.handler
Jetty Server : Core Handler API
-
ClassDescriptionDeprecated.Deprecated.A Handler that can apply a mechanism to buffer the entire response content until the output is closed.A
Handler.Wrapperthat conditionally handles aRequest.An AbstractConditionalHandler.APredicateoverRequestthat tests thenameof theconnectorobtained fromRequest.getConnectionMetaData()An implementation ofConditionalHandlerthat, if conditions are met, will not do any further handling by returningfalsefromConditionalHandler.DontHandle.onConditionsMet(Request, Response, Callback).An abstract implementation ofConditionalHandlerthat, if conditions are not met, will call theConditionalHandler.nextHandler(Request, Response, Callback)fromConditionalHandler.ElseNext.onConditionsNotMet(Request, Response, Callback).APredicateoverRequestthat tests anInetAddressPatternagainst thegetRemoteSocketAddress()ofRequest.getConnectionMetaData().An implementation ofConditionalHandlerthat, if conditions are met, will reject the request by sending a response (by default aHttpStatus.FORBIDDEN_403).An implementation ofConditionalHandlerthat, if conditions are met, will skip the nextHandlerby invoking itsnext Handler.Implementation of aHandlerthat supports HTTP CONNECT.Listener for all threads entering context scope, including async IO callbacksCreates a Map of contexts to it's contained handlers based on the context path and virtual hosts of any containedContextHandlers.Implementation of the CORS protocol defined by the fetch standard.Debug Handler.Default Handler.Handler for Error pages An ErrorHandler is registered withServer.setErrorHandler(Request.Handler).AHandler.Wrapperthat fires events during the processing of the requests.Handler to track active requests and allow them to gracefully complete.AHandlerContainerthat allows a hot swap of a wrapped handler.Handler to adjust the idle timeout of requests while dispatched.InetAddress Access HandlerAHandlerthat helps recording the total latency of the requests executed by the wrapped handler.Enable Jetty style JMX MBeans from within a ContextAContextHandlerwith a childHandlerthat redirects to a configurable URI.A Handler that delegates to other handlers through a configuredPathMappings.A quality of serviceHandlerthatconditionallylimits the number of concurrent requests, to provide more predictable end-user experience in case descendantHandlers have limited capacity.AnErrorHandlerthat can re-handle a request at an error page location.AnReHandlingErrorHandlerthat uses a map of error codes to select a page.Resource Handler will serve static content and handle If-Modified-Since headers.Utility class to create a ContextHandler containing a ResourceHandler.Forces a redirect to the secure form of the resource before allowed to access the resource.AHandlerthat initiates a Shutdown of the Jetty Server it belongs to.AHandlerthat can limit the size of message bodies in requests and responses.A troubleshootingHandler.Wrapperthat tracks whetherHandler/Request/Responseasynchronous APIs are properly used by applications.Listener of events emitted byStateTrackingHandler.Checks that the wrapped handler can read/write at a minimal rate of N bytes per second.Handler to limit the number of concurrent threads per remote IP address, for DOS protection.Inspired by nginx'stry_filesfunctionality.
Handler.Abstract