Uses of Interface
org.eclipse.jetty.server.Handler
Package
Description
Jetty Runner : Embedded Jetty Tool for running webapps directly
Jetty Server : Modular Servlet Integration
Jetty Util : Modular Web Application Support
Jetty Rewrite : Rewrite Handler and Rules for Jetty
Jetty Security : Modular Support for Security in Jetty
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
Jetty Server : Session Management Implementations
-
Uses of Handler in org.eclipse.jetty.ee10.runner
Modifier and TypeMethodDescriptionprotected void
Runner.prependHandler
(Handler handler, Handler.Sequence handlers) Deprecated. -
Uses of Handler in org.eclipse.jetty.ee10.servlet
Modifier and TypeClassDescriptionclass
Handler to eagerly and asynchronously read and parseMimeTypes.Type.FORM_ENCODED
andMimeTypes.Type.MULTIPART_FORM_DATA
content prior to invoking theServletHandler
, which can then consume them with blocking APIs but without blocking.class
Servlet Context.class
Servlet HttpHandler.class
Modifier and TypeMethodDescriptionvoid
ServletContextHandler.setHandler
(Handler handler) void
SessionHandler.setHandler
(Handler handler) -
Uses of Handler in org.eclipse.jetty.ee10.servlet.security
-
Uses of Handler in org.eclipse.jetty.ee10.webapp
-
Uses of Handler in org.eclipse.jetty.fcgi.proxy
Modifier and TypeClassDescriptionclass
Specific implementation ofProxyHandler.Reverse
for FastCGI. -
Uses of Handler in org.eclipse.jetty.http.spi
-
Uses of Handler in org.eclipse.jetty.proxy
Modifier and TypeClassDescriptionclass
AHandler
that can be used to implement aforward proxy ("proxy")
or areverse proxy ("gateway")
as defined by RFC 7230.static class
AProxyHandler
that can be used to implement a forward proxy server.static class
AProxyHandler
that can be used to implement a reverse proxy. -
Uses of Handler in org.eclipse.jetty.rewrite.handler
Modifier and TypeClassDescriptionclass
RewriteHandler
rewrites incoming requests through a set ofRule
s.ModifierConstructorDescriptionRewriteHandler
(Handler handler) RewriteHandler
(Handler handler, RuleContainer rules) -
Uses of Handler in org.eclipse.jetty.security
Modifier and TypeClassDescriptionclass
Abstract SecurityHandler.static class
A concrete implementation ofSecurityHandler
that uses aPathMappings
to match request to a list ofConstraint
s, which are applied in the order of least significant to most significant.ModifierConstructorDescriptionPathMapped
(Handler handler) protected
SecurityHandler
(Handler handler) -
Uses of Handler in org.eclipse.jetty.server
Modifier and TypeInterfaceDescriptionstatic interface
AHandler.Container
that can contain multiple otherHandler
s.static interface
AHandler
that contains one or more otherHandler
s.static interface
AHandler.Container
that can contain one single otherHandler
.interface
Deprecated.Modifier and TypeClassDescriptionstatic class
An abstract implementation ofHandler
that is aContainerLifeCycle
.static class
An abstractHandler
with aInvocable.InvocationType.NON_BLOCKING
invocation type.static class
AHandler.Abstract
that implementsHandler.Container
.static class
AHandler.Container
that contains an ordered list of childrenHandler
s whoseRequest.Handler.handle(Request, Response, Callback)
method is invoked in sequence on each child until a child returnstrue
.static class
An implementation ofHandler.Singleton
, which is aHandler.Container
that wraps one single otherHandler
.class
class
AHandler
that can limit the size of message bodies in requests and responses.Modifier and TypeMethodDescription<T extends Handler>
THandler.AbstractContainer.getDescendant
(Class<T> type) default <T extends Handler>
THandler.Container.getDescendant
(Class<T> type) Handler.AbstractContainer.getDescendants
(Class<T> type) Handler.Container.getDescendants
(Class<T> type) Modifier and TypeMethodDescriptionstatic Handler
Handler.Singleton.checkHandler
(Handler.Singleton singleton, Handler handler) Utility method to perform sanity checks on a {Handler
to be added to the givenSingleton
.Server.getDefaultHandler()
Handler.Singleton.getHandler()
Handler.Wrapper.getHandler()
static Handler
Handler.Singleton.updateHandler
(Handler.Singleton singleton, Handler handler) Utility method to perform sanity checks before updating the givenHandler
to the givenSingleton
, typically used in implementations ofHandler.Singleton.setHandler(Handler)
.Modifier and TypeMethodDescriptionHandler.Container.getDescendants()
Handler.Container.getHandlers()
Handler.Sequence.getHandlers()
Handler.Singleton.getHandlers()
Handler.Sequence.newHandlers
(List<Handler> handlers) Modifier and TypeMethodDescriptiondefault void
Handler.Collection.addHandler
(Handler handler) Adds the givenHandler
to this collection ofHandler
s.static Handler
Handler.Singleton.checkHandler
(Handler.Singleton singleton, Handler handler) Utility method to perform sanity checks on a {Handler
to be added to the givenSingleton
.static <T extends Handler.Container>
THandler.AbstractContainer.findContainerOf
(Handler.Container root, Class<T> type, Handler handler) default <T extends Handler.Container>
THandler.Container.getContainer
(Handler handler, Class<T> type) default boolean
Handler.Collection.removeHandler
(Handler handler) Removes the givenHandler
from this collection ofHandler
s.void
Server.setDefaultHandler
(Handler defaultHandler) void
Handler.Singleton.setHandler
(Handler handler) void
Handler.Wrapper.setHandler
(Handler handler) default void
Handler.Collection.setHandlers
(Handler... handlers) Similar toHandler.Collection.setHandlers(List)
.static Handler
Handler.Singleton.updateHandler
(Handler.Singleton singleton, Handler handler) Utility method to perform sanity checks before updating the givenHandler
to the givenSingleton
, typically used in implementations ofHandler.Singleton.setHandler(Handler)
.Modifier and TypeMethodDescriptiondefault void
Handler.Collection.addHandler
(Supplier<Handler> supplier) Adds theHandler
supplied by the givenSupplier
to this collection ofHandler
s.Handler.Sequence.newHandlers
(List<Handler> handlers) default void
Handler.Singleton.setHandler
(Supplier<Handler> supplier) Sets the childHandler
supplied by the givenSupplier
.void
Handler.Collection.setHandlers
(List<Handler> handlers) Sets the givenHandler
s as children of this collection ofHandler
s.void
Handler.Sequence.setHandlers
(List<Handler> handlers) ModifierConstructorDescriptionCreates aSequence
with the givenHandler
s.Creates a wrapper with the given dynamic parameter wrapping the givenHandler
.Creates a non-dynamic wrapper of the givenHandler
. -
Uses of Handler in org.eclipse.jetty.server.handler
Modifier and TypeClassDescriptionclass
Deprecated.UseHandler.Abstract
class
Deprecated.class
A Handler that can apply a mechanism to buffer the entire response content until the output is closed.class
AHandler.Wrapper
that conditionally handles aRequest
.static class
An AbstractConditionalHandler
.static class
An implementation ofConditionalHandler
that, if conditions are met, will not do any further handling by returningfalse
fromConditionalHandler.DontHandle.onConditionsMet(Request, Response, Callback)
.static class
An abstract implementation ofConditionalHandler
that, if conditions are not met, will call theConditionalHandler.nextHandler(Request, Response, Callback)
fromConditionalHandler.ElseNext.onConditionsNotMet(Request, Response, Callback)
.static class
An implementation ofConditionalHandler
that, if conditions are met, will reject the request by sending a response (by default aHttpStatus.FORBIDDEN_403
).static class
An implementation ofConditionalHandler
that, if conditions are met, will skip the nextHandler
by invoking itsnext Handler
.class
Implementation of aHandler
that supports HTTP CONNECT.class
class
Creates a Map of contexts to it's contained handlers based on the context path and virtual hosts of any containedContextHandler
s.class
Implementation of the CORS protocol defined by the fetch standard.class
Debug Handler.class
Default Handler.class
class
AHandler.Wrapper
that fires events during the processing of the requests.class
Handler to track active requests and allow them to gracefully complete.class
AHandlerContainer
that allows a hot swap of a wrapped handler.class
Handler to adjust the idle timeout of requests while dispatched.class
InetAddress Access Handlerclass
AHandler
that helps recording the total latency of the requests executed by the wrapped handler.class
AContextHandler
with a childHandler
that redirects to a configurable URI.class
A Handler that delegates to other handlers through a configuredPathMappings
.class
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.class
Resource Handler will serve static content and handle If-Modified-Since headers.static class
Utility class to create a ContextHandler containing a ResourceHandler.class
Forces a redirect to the secure form of the resource before allowed to access the resource.class
AHandler
that initiates a Shutdown of the Jetty Server it belongs to.class
A troubleshootingHandler.Wrapper
that tracks whetherHandler
/Request
/Response
asynchronous APIs are properly used by applications.class
static class
Checks that the wrapped handler can read/write at a minimal rate of N bytes per second.class
Handler to limit the threads per IP address for DOS protectionclass
Inspired by nginx'stry_files
functionality.Modifier and TypeMethodDescriptionprotected Handler
DelayedHandler.DelayedProcess.getHandler()
HotSwapHandler.getHandler()
Modifier and TypeMethodDescriptionPathMappingsHandler.getHandlers()
ContextHandlerCollection.newHandlers
(List<Handler> handlers) Modifier and TypeMethodDescriptionvoid
PathMappingsHandler.addMapping
(PathSpec pathSpec, Handler handler) void
ContextHandlerCollection.deployHandler
(Handler handler, Callback callback) Thread safe deploy of a Handler.protected DelayedHandler.DelayedProcess
DelayedHandler.newDelayedProcess
(boolean contentExpected, String contentType, MimeTypes.Type mimeType, Handler handler, Request request, Response response, Callback callback) void
HotSwapHandler.setHandler
(Handler handler) void
ContextHandlerCollection.undeployHandler
(Handler handler, Callback callback) Thread safe undeploy of a Handler.ModifierConstructorDescriptionprotected
protected
BufferedResponseHandler
(Handler handler) ByHttpStatus
(Handler handler) ConnectHandler
(Handler handler) ContextHandler
(Handler handler) ContextHandler
(Handler handler, String contextPath) DebugHandler
(Handler handler) DelayedHandler
(Handler handler) protected
DelayedProcess
(Handler handler, Request request, Response response, Callback callback) DontHandle
(Handler handler) EventsHandler
(Handler handler) GracefulHandler
(Handler handler) IdleTimeoutHandler
(Handler handler) InetAccessHandler
(Handler handler) LatencyRecordingHandler
(Handler handler) MinimumDataRateHandler
(Handler handler, long minimumReadRate, long minimumWriteRate) Creates aMinimumDataRateHandler
with the specified read and write rates.QoSHandler
(Handler handler) protected
ReHandlingErrorHandler
(Handler handler) ResourceHandler
(Handler handler) SecuredRedirectHandler
(Handler handler) Uses moved temporarily code (302) as the redirect code.SecuredRedirectHandler
(Handler handler, int code) Use supplied code as the redirect code.ShutdownHandler
(Handler handler, String shutdownPath, String shutdownToken, boolean exitJVM) Creates a Handler that lets the server be shut down remotely (but only from localhost).StatisticsHandler
(Handler handler) ThreadLimitHandler
(Handler handler, String forwardedHeader, boolean rfc7239) TryPathsHandler
(Handler handler) UntilContentDelayedProcess
(Handler handler, Request request, Response response, Callback callback) UntilFormDelayedProcess
(Handler handler, Request wrapped, Response response, Callback callback, String contentType) UntilMultipartDelayedProcess
(Handler handler, Request request, Response response, Callback callback, String contentType, MultiPartConfig config) -
Uses of Handler in org.eclipse.jetty.server.handler.gzip
-
Uses of Handler in org.eclipse.jetty.session
-
Uses of Handler in org.eclipse.jetty.websocket.core.server
-
Uses of Handler in org.eclipse.jetty.websocket.server
Modifier and TypeClassDescriptionclass
AHandler
that may perform the upgrade from HTTP to WebSocket.
Handler.Container