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.Wrapper
that conditionally handles aRequest
.An AbstractConditionalHandler
.APredicate
overRequest
that tests thename
of theconnector
obtained fromRequest.getConnectionMetaData()
An implementation ofConditionalHandler
that, if conditions are met, will not do any further handling by returningfalse
fromConditionalHandler.DontHandle.onConditionsMet(Request, Response, Callback)
.An abstract implementation ofConditionalHandler
that, if conditions are not met, will call theConditionalHandler.nextHandler(Request, Response, Callback)
fromConditionalHandler.ElseNext.onConditionsNotMet(Request, Response, Callback)
.APredicate
overRequest
that tests anInetAddressPattern
against thegetRemoteSocketAddress()
ofRequest.getConnectionMetaData()
.An implementation ofConditionalHandler
that, if conditions are met, will reject the request by sending a response (by default aHttpStatus.FORBIDDEN_403
).An implementation ofConditionalHandler
that, if conditions are met, will skip the nextHandler
by invoking itsnext Handler
.Implementation of aHandler
that 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 containedContextHandler
s.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.Wrapper
that fires events during the processing of the requests.Handler to track active requests and allow them to gracefully complete.AHandlerContainer
that allows a hot swap of a wrapped handler.Handler to adjust the idle timeout of requests while dispatched.InetAddress Access HandlerAHandler
that helps recording the total latency of the requests executed by the wrapped handler.Enable Jetty style JMX MBeans from within a ContextAContextHandler
with a childHandler
that redirects to a configurable URI.A Handler that delegates to other handlers through a configuredPathMappings
.A quality of serviceHandler
thatconditionally
limits the number of concurrent requests, to provide more predictable end-user experience in case descendantHandler
s have limited capacity.AnErrorHandler
that can re-handle a request at an error page location.AnReHandlingErrorHandler
that 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.AHandler
that initiates a Shutdown of the Jetty Server it belongs to.A troubleshootingHandler.Wrapper
that tracks whetherHandler
/Request
/Response
asynchronous 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 threads per IP address for DOS protectionInspired by nginx'stry_files
functionality.
Handler.Abstract