Uses of Class
org.eclipse.jetty.server.handler.ContextHandler
Packages that use ContextHandler
Package
Description
Jetty Deploy : Deploy Management
Jetty Server : Modular Servlet Integration
Jetty Util : Modular Web Application Support
Jetty Server : Modular Servlet Integration
Jetty Util : Modular Web Application Support
Jetty Server : Core Handler API
Jetty Server : Core Handler API
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty Server : Handler JMX Integration
Jetty Core Server : JMX Integration
-
Uses of ContextHandler in org.eclipse.jetty.coreapp
Subclasses of ContextHandler in org.eclipse.jetty.coreapp -
Uses of ContextHandler in org.eclipse.jetty.deploy
Methods in org.eclipse.jetty.deploy that return ContextHandlerModifier and TypeMethodDescriptionContextHandlerFactory.newContextHandler
(Server server, Environment environment, Path mainPath, Set<Path> otherPaths, Attributes deployAttributes) StandardContextHandlerFactory.newContextHandler
(Server server, Environment environment, Path mainPath, Set<Path> otherPaths, Attributes deployAttributes) Methods in org.eclipse.jetty.deploy with parameters of type ContextHandlerModifier and TypeMethodDescriptionvoid
Deployer.deploy
(ContextHandler contextHandler) Deploy a ContextHandler to the server, and start it if appropriate.void
StandardDeployer.deploy
(ContextHandler contextHandler) protected void
StandardContextHandlerFactory.initializeContextHandler
(ContextHandler contextHandler, Path path, Attributes attributes) protected void
StandardContextHandlerFactory.initializeContextPath
(ContextHandler contextHandler, Path path, Attributes attributes) default void
Deployer.Listener.onCreated
(ContextHandler contextHandler) Called when aContextHandler
is first seen by theDeployer
.default void
Deployer.Listener.onDeployed
(ContextHandler contextHandler) default void
Deployer.Listener.onDeploying
(ContextHandler contextHandler) Event called when aContextHandler
is added to theContextHandlerCollection
.default void
Deployer.Listener.onFailure
(ContextHandler contextHandler, Throwable cause) Event called when aContextHandler
isfailed
.default void
Deployer.Listener.onRemoved
(ContextHandler contextHandler) Called when aContextHandler
is last seen by theDeployer
.default void
Deployer.Listener.onStarted
(ContextHandler contextHandler) Event called when aContextHandler
isstarted
.default void
Deployer.Listener.onStarting
(ContextHandler contextHandler) Event called when aContextHandler
isstarting
.default void
Deployer.Listener.onStopped
(ContextHandler contextHandler) Event called when aContextHandler
isstopped
.default void
Deployer.Listener.onStopping
(ContextHandler contextHandler) Event called when aContextHandler
isstopping
.default void
Deployer.Listener.onUndeployed
(ContextHandler contextHandler) default void
Deployer.Listener.onUndeploying
(ContextHandler contextHandler) Event called when aContextHandler
is removed from theContextHandlerCollection
.default void
Deployer.redeploy
(ContextHandler oldContextHandler, ContextHandler newContextHandler) Redeploy a ContextHandler to the server, and start it if appropriate.void
StandardDeployer.redeploy
(ContextHandler oldHandler, ContextHandler newContextHandler) void
Deployer.undeploy
(ContextHandler contextHandler) Undeploy and stop a ContextHandler.void
StandardDeployer.undeploy
(ContextHandler contextHandler) Method parameters in org.eclipse.jetty.deploy with type arguments of type ContextHandlerModifier and TypeMethodDescriptionvoid
DeploymentScanner.EnvironmentConfig.setDefaultContextHandlerClass
(Class<? extends ContextHandler> contextHandlerClass) The default class that this environment uses to createContextHandler
instances (supports a class that implementsjava.util.function.Supplier<ContextHandler>
as well). -
Uses of ContextHandler in org.eclipse.jetty.ee10.servlet
Subclasses of ContextHandler in org.eclipse.jetty.ee10.servletMethods in org.eclipse.jetty.ee10.servlet that return ContextHandlerMethods in org.eclipse.jetty.ee10.servlet with parameters of type ContextHandlerModifier and TypeMethodDescriptionstatic Request.Handler
ErrorHandler.getErrorHandler
(Server server, ContextHandler context) Constructors in org.eclipse.jetty.ee10.servlet with parameters of type ContextHandlerModifierConstructorDescriptionJspPropertyGroupServlet
(ContextHandler context, ServletHandler servletHandler) -
Uses of ContextHandler in org.eclipse.jetty.ee10.webapp
Subclasses of ContextHandler in org.eclipse.jetty.ee10.webapp -
Uses of ContextHandler in org.eclipse.jetty.ee11.servlet
Subclasses of ContextHandler in org.eclipse.jetty.ee11.servletMethods in org.eclipse.jetty.ee11.servlet that return ContextHandlerMethods in org.eclipse.jetty.ee11.servlet with parameters of type ContextHandlerModifier and TypeMethodDescriptionstatic Request.Handler
ErrorHandler.getErrorHandler
(Server server, ContextHandler context) Constructors in org.eclipse.jetty.ee11.servlet with parameters of type ContextHandlerModifierConstructorDescriptionJspPropertyGroupServlet
(ContextHandler context, ServletHandler servletHandler) -
Uses of ContextHandler in org.eclipse.jetty.ee11.webapp
Subclasses of ContextHandler in org.eclipse.jetty.ee11.webapp -
Uses of ContextHandler in org.eclipse.jetty.ee8.nested
Subclasses of ContextHandler in org.eclipse.jetty.ee8.nested -
Uses of ContextHandler in org.eclipse.jetty.ee9.nested
Subclasses of ContextHandler in org.eclipse.jetty.ee9.nested -
Uses of ContextHandler in org.eclipse.jetty.http.spi
Subclasses of ContextHandler in org.eclipse.jetty.http.spi -
Uses of ContextHandler in org.eclipse.jetty.osgi
Methods in org.eclipse.jetty.osgi that return ContextHandlerModifier and TypeMethodDescriptionAbstractContextProvider.createContextHandler
(BundleMetadata metadata) ContextFactory.createContextHandler
(AbstractContextProvider provider, BundleMetadata bundleMetadata) Methods in org.eclipse.jetty.osgi with parameters of type ContextHandlerModifier and TypeMethodDescriptionvoid
OSGiDeploymentListener.onDeployed
(ContextHandler contextHandler) void
OSGiDeploymentListener.onDeploying
(ContextHandler contextHandler) void
OSGiDeploymentListener.onFailure
(ContextHandler contextHandler, Throwable cause) void
OSGiDeploymentListener.onUndeployed
(ContextHandler contextHandler) void
OSGiDeploymentListener.onUndeploying
(ContextHandler contextHandler) -
Uses of ContextHandler in org.eclipse.jetty.osgi.util
Methods in org.eclipse.jetty.osgi.util with parameters of type ContextHandlerModifier and TypeMethodDescriptionstatic void
Util.deregisterAsOSGiService
(ContextHandler contextHandler) static void
Util.registerAsOSGiService
(ContextHandler contextHandler) Register the Jetty deployed context/webapp as a service, as according to the OSGi Web Application Specification. -
Uses of ContextHandler in org.eclipse.jetty.server
Methods in org.eclipse.jetty.server that return ContextHandlerModifier and TypeMethodDescriptionprotected ContextHandler
AllowedResourceAliasChecker.getContextHandler()
Constructors in org.eclipse.jetty.server with parameters of type ContextHandlerModifierConstructorDescriptionAllowedResourceAliasChecker
(ContextHandler contextHandler) AllowedResourceAliasChecker
(ContextHandler contextHandler, Supplier<Resource> resourceBaseSupplier) AllowedResourceAliasChecker
(ContextHandler contextHandler, Resource baseResource) SymlinkAllowedResourceAliasChecker
(ContextHandler contextHandler) SymlinkAllowedResourceAliasChecker
(ContextHandler contextHandler, Supplier<Resource> resourceBaseSupplier) SymlinkAllowedResourceAliasChecker
(ContextHandler contextHandler, Resource baseResource) -
Uses of ContextHandler in org.eclipse.jetty.server.handler
Subclasses of ContextHandler in org.eclipse.jetty.server.handlerModifier and TypeClassDescriptionclass
AContextHandler
with a childHandler
that redirects to a configurable URI.static class
Utility class to create a ContextHandler containing a ResourceHandler.Methods in org.eclipse.jetty.server.handler with type parameters of type ContextHandlerModifier and TypeMethodDescription<H extends ContextHandler>
HContextHandler.ScopedContext.getContextHandler()
Methods in org.eclipse.jetty.server.handler that return ContextHandlerModifier and TypeMethodDescriptionstatic ContextHandler
ContextHandler.getContextHandler
(Request request) ContextHandler.getCrossContextHandler
(String path) Ifcross context dispatch is supported
by this context then find a context bycontextPath
that also supports cross context dispatch.static ContextHandler
ContextHandler.getCurrentContextHandler()
Methods in org.eclipse.jetty.server.handler with parameters of type ContextHandlerModifier and TypeMethodDescriptionstatic Request.Handler
ErrorHandler.getErrorHandler
(Server server, ContextHandler context) Constructors in org.eclipse.jetty.server.handler with parameters of type ContextHandlerModifierConstructorDescriptionContextHandlerCollection
(boolean dynamic, ContextHandler... contexts) ContextHandlerCollection
(ContextHandler... contexts) ManagedAttributeListener
(ContextHandler context, String... managedAttributes) -
Uses of ContextHandler in org.eclipse.jetty.server.handler.jmx
Methods in org.eclipse.jetty.server.handler.jmx that return ContextHandler -
Uses of ContextHandler in org.eclipse.jetty.server.jmx
Methods in org.eclipse.jetty.server.jmx that return types with arguments of type ContextHandlerMethods in org.eclipse.jetty.server.jmx with parameters of type ContextHandlerModifier and TypeMethodDescriptionprotected String
Handler.AbstractMBean.getContextName
(ContextHandler context) -
Uses of ContextHandler in org.eclipse.jetty.staticapp
Subclasses of ContextHandler in org.eclipse.jetty.staticappModifier and TypeClassDescriptionclass
AContextHandler
that only serves static content from any source supported byResourceHandler
. -
Uses of ContextHandler in org.eclipse.jetty.websocket.core.server
Methods in org.eclipse.jetty.websocket.core.server with parameters of type ContextHandlerModifier and TypeMethodDescriptionstatic WebSocketMappings
WebSocketMappings.ensureMappings
(ContextHandler contextHandler) static WebSocketComponents
WebSocketServerComponents.ensureWebSocketComponents
(Server server, ContextHandler contextHandler) This ensures aWebSocketComponents
is available at theContextHandler
attributeWebSocketServerComponents.WEBSOCKET_COMPONENTS_ATTRIBUTE
.static WebSocketMappings
WebSocketMappings.getMappings
(ContextHandler contextHandler) static WebSocketComponents
WebSocketServerComponents.getWebSocketComponents
(ContextHandler contextHandler) -
Uses of ContextHandler in org.eclipse.jetty.websocket.server
Methods in org.eclipse.jetty.websocket.server with parameters of type ContextHandlerModifier and TypeMethodDescriptionstatic ServerWebSocketContainer
ServerWebSocketContainer.ensure
(Server server, ContextHandler contextHandler) Returns theServerWebSocketContainer
, ensuring that it is available viaServerWebSocketContainer.get(Context)
.static WebSocketUpgradeHandler
WebSocketUpgradeHandler.from
(Server server, ContextHandler context) Creates a newWebSocketUpgradeHandler
.static WebSocketUpgradeHandler
WebSocketUpgradeHandler.from
(Server server, ContextHandler context, Consumer<ServerWebSocketContainer> configurator) Creates a newWebSocketUpgradeHandler
.