Uses of Class
org.eclipse.jetty.webapp.WebAppContext
Package
Description
Jetty Annotations : Support for Servlet Annotations
Jetty Ant : Ant Tasks and Configuration
Jetty Deploy : Webapp Deployment Providers
Jetty Plus : Limited JEE Annotation Support
Jetty Plus : Limited Additional JEE Webapp Support
Jetty Util : Modular Web Application Support
-
Uses of WebAppContext in org.eclipse.jetty.annotations
Modifier and TypeFieldDescriptionprotected WebAppContext
AbstractDiscoverableAnnotationHandler._context
protected WebAppContext
AnnotationDecorator._context
protected WebAppContext
AnnotationIntrospector.AbstractIntrospectableAnnotationHandler._context
Modifier and TypeMethodDescriptionAnnotationIntrospector.AbstractIntrospectableAnnotationHandler.getContext()
Modifier and TypeMethodDescriptionvoid
AnnotationConfiguration.cloneConfigure
(WebAppContext template, WebAppContext context) void
AnnotationConfiguration.configure
(WebAppContext context) void
AnnotationConfiguration.createServletContainerInitializerAnnotationHandlers
(WebAppContext context, List<jakarta.servlet.ServletContainerInitializer> scis) AnnotationConfiguration.getInitializerOrdering
(WebAppContext context) Jetty-specific extension that allows an ordering to be applied across ALL ServletContainerInitializers.protected int
AnnotationConfiguration.getMaxScanWait
(WebAppContext context) Work out how long we should wait for the async scanning to occur.List<jakarta.servlet.ServletContainerInitializer>
AnnotationConfiguration.getNonExcludedInitializers
(WebAppContext context) Get SCIs that are not excluded from considerationboolean
AnnotationConfiguration.isFromContainerClassPath
(WebAppContext context, jakarta.servlet.ServletContainerInitializer sci) Test if the ServletContainerInitializer is from the container classpathboolean
AnnotationConfiguration.isFromExcludedJar
(WebAppContext context, jakarta.servlet.ServletContainerInitializer sci, Resource sciResource) Check to see if the ServletContainerIntializer loaded via the ServiceLoader came from a jar that is excluded by the fragment ordering.boolean
AnnotationConfiguration.isFromWebInfClasses
(WebAppContext context, Resource sci) Test if the ServletContainerInitializer is from WEB-INF/classesprotected boolean
AnnotationConfiguration.isUseMultiThreading
(WebAppContext context) Check if we should use multiple threads to scan for annotations or notvoid
AnnotationConfiguration.parseContainerPath
(WebAppContext context, AnnotationParser parser) Scan jars on container path.void
AnnotationConfiguration.parseWebInfClasses
(WebAppContext context, AnnotationParser parser) Scan classes in WEB-INF/classes.void
AnnotationConfiguration.parseWebInfLib
(WebAppContext context, AnnotationParser parser) Scan jars in WEB-INF/lib.void
AnnotationConfiguration.postConfigure
(WebAppContext context) void
AnnotationConfiguration.preConfigure
(WebAppContext context) protected void
AnnotationConfiguration.scanForAnnotations
(WebAppContext context) Perform scanning of classes for discoverable annotations such as WebServlet/WebFilter/WebListenerModifierConstructorDescriptionAbstractIntrospectableAnnotationHandler
(boolean introspectAncestors, WebAppContext context) AnnotationDecorator
(WebAppContext context) AnnotationIntrospector
(WebAppContext context) Deprecated.WebFilterAnnotation
(WebAppContext context, String className) WebFilterAnnotation
(WebAppContext context, String className, Resource resource) WebFilterAnnotationHandler
(WebAppContext context) WebListenerAnnotation
(WebAppContext context, String className) WebListenerAnnotation
(WebAppContext context, String className, Resource resource) WebServletAnnotation
(WebAppContext context, String className) WebServletAnnotation
(WebAppContext context, String className, Resource resource) WebServletAnnotationHandler
(WebAppContext context) -
Uses of WebAppContext in org.eclipse.jetty.ant
Modifier and TypeClassDescriptionclass
Extension of WebAppContext to allow configuration via Ant environment.Modifier and TypeMethodDescriptionvoid
AntWebInfConfiguration.configure
(WebAppContext context) Adds classpath files into web application classloader, and sets web.xml and base directory for the configured web application.void
AntMetaInfConfiguration.findAndFilterContainerPaths
(WebAppContext context) AntMetaInfConfiguration.getAllContainerJars
(WebAppContext context) -
Uses of WebAppContext in org.eclipse.jetty.deploy.providers
Modifier and TypeMethodDescriptionprotected void
WebAppProvider.initializeWebAppContextDefaults
(WebAppContext webapp) -
Uses of WebAppContext in org.eclipse.jetty.osgi.annotations
Modifier and TypeMethodDescriptionprotected void
AnnotationConfiguration.parseBundle
(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle bundle) protected void
AnnotationConfiguration.parseFragmentBundle
(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle fragmentBundle) Scan a fragment bundle for servlet annotationsprotected void
AnnotationConfiguration.parseRequiredBundle
(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle requiredBundle) Scan a bundle required by the webbundle for servlet annotationsprotected void
AnnotationConfiguration.parseWebBundle
(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle) Scan a bundle required by the webbundle for servlet annotationsvoid
AnnotationConfiguration.parseWebInfClasses
(WebAppContext context, AnnotationParser parser) void
AnnotationConfiguration.parseWebInfLib
(WebAppContext context, AnnotationParser parser) Here is the order in which jars and osgi artifacts are scanned for discoverable annotations. -
Uses of WebAppContext in org.eclipse.jetty.osgi.boot
Modifier and TypeMethodDescriptionprotected WebAppContext
AbstractWebAppProvider.OSGiApp.newWebApp()
Modifier and TypeMethodDescriptionvoid
OSGiMetaInfConfiguration.configure
(WebAppContext context) Allow fragments to supply some resources that are added to the baseResource of the webapp.OSGiMetaInfConfiguration.findJars
(WebAppContext context) Consider the fragment bundles associated with the bundle of the webapp being deployed.void
OSGiMetaInfConfiguration.postConfigure
(WebAppContext context) void
OSGiMetaInfConfiguration.preConfigure
(WebAppContext context) Check to see if there have been any bundle symbolic names added of bundles that should be regarded as being on the container classpath, and scanned for fragments, tlds etc etc.protected void
OSGiMetaInfConfiguration.scanJars
(WebAppContext context) void
AbstractWebAppProvider.OSGiApp.setWebAppContext
(WebAppContext webApp) -
Uses of WebAppContext in org.eclipse.jetty.osgi.boot.internal.webapp
ModifierConstructorDescriptionOSGiWebappClassLoader
(ClassLoader parent, WebAppContext context, org.osgi.framework.Bundle contributor) -
Uses of WebAppContext in org.eclipse.jetty.plus.annotation
Modifier and TypeMethodDescriptionvoid
ContainerInitializer.callStartup
(WebAppContext context) Deprecated.void
ContainerInitializer.resolveClasses
(WebAppContext context, Map<String, Set<String>> classMap) Deprecated. -
Uses of WebAppContext in org.eclipse.jetty.plus.webapp
Modifier and TypeMethodDescriptionvoid
PlusDescriptorProcessor.addInjections
(WebAppContext context, Descriptor descriptor, XmlParser.Node node, String jndiName, Class<?> valueClass) Iterate over the<injection-target>
entries for a nodeprotected void
PlusDescriptorProcessor.bindEntry
(WebAppContext context, String name, Class<?> typeClass) Bind a resource with the given name from web.xml of the given type with a jndi resource from either the server or the webapp's naming environment.void
EnvConfiguration.bindEnvEntries
(WebAppContext context) Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them.void
PlusDescriptorProcessor.bindMessageDestinationRef
(WebAppContext context, String name, Class<?> typeClass) void
PlusDescriptorProcessor.bindResourceEnvRef
(WebAppContext context, String name, Class<?> typeClass) void
PlusDescriptorProcessor.bindResourceRef
(WebAppContext context, String name, Class<?> typeClass) Bind a resource reference.void
PlusConfiguration.bindUserTransaction
(WebAppContext context) void
PlusConfiguration.cloneConfigure
(WebAppContext template, WebAppContext context) void
EnvConfiguration.configure
(WebAppContext context) void
PlusConfiguration.configure
(WebAppContext context) protected void
EnvConfiguration.createEnvContext
(WebAppContext wac) void
EnvConfiguration.deconfigure
(WebAppContext context) Remove jndi setup from startvoid
PlusConfiguration.deconfigure
(WebAppContext context) void
EnvConfiguration.destroy
(WebAppContext context) Remove all jndi setupvoid
PlusDescriptorProcessor.end
(WebAppContext context, Descriptor descriptor) protected void
PlusConfiguration.lockCompEnv
(WebAppContext wac) void
PlusDescriptorProcessor.makeEnvEntryInjectionsAndBindings
(WebAppContext context, Descriptor descriptor, XmlParser.Node node, String name, String type, String value) Make injections and any java:comp/env bindings necessary given an env-entry declaration.void
PlusConfiguration.postConfigure
(WebAppContext context) void
EnvConfiguration.preConfigure
(WebAppContext context) void
PlusConfiguration.preConfigure
(WebAppContext context) void
PlusDescriptorProcessor.start
(WebAppContext context, Descriptor descriptor) protected void
PlusConfiguration.unlockCompEnv
(WebAppContext wac) void
PlusDescriptorProcessor.visitEnvEntry
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) JavaEE 5.4.1.3void
PlusDescriptorProcessor.visitMessageDestinationRef
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Common Annotations Spec section 2.3:void
PlusDescriptorProcessor.visitPostConstruct
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) If web.xml has at least 1 post-construct, then all post-constructs in fragments are ignored.void
PlusDescriptorProcessor.visitPreDestroy
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) pre-destroy is the name of a class and method to call just as the instance is being destroyedvoid
PlusDescriptorProcessor.visitResourceEnvRef
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Common Annotations Spec section 2.3:void
PlusDescriptorProcessor.visitResourceRef
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Common Annotations Spec section 2.3: -
Uses of WebAppContext in org.eclipse.jetty.quickstart
Modifier and TypeMethodDescriptionboolean
QuickStartGeneratorConfiguration.abort
(WebAppContext context) protected void
QuickStartConfiguration.configure
(QuickStartGeneratorConfiguration generator, WebAppContext context) void
QuickStartConfiguration.configure
(WebAppContext context) void
QuickStartGeneratorConfiguration.configure
(WebAppContext context) void
QuickStartGeneratorConfiguration.deconfigure
(WebAppContext context) void
ExtraXmlDescriptorProcessor.end
(WebAppContext context, Descriptor descriptor) void
QuickStartDescriptorProcessor.end
(WebAppContext context, Descriptor descriptor) void
QuickStartGeneratorConfiguration.generateQuickStartWebXml
(WebAppContext context, OutputStream stream) Perform the generation of the xml fileQuickStartConfiguration.getQuickStartWebXml
(WebAppContext context) Get the quickstart-web.xml file as a Resource.void
QuickStartConfiguration.postConfigure
(WebAppContext context) void
QuickStartConfiguration.preConfigure
(WebAppContext context) void
QuickStartGeneratorConfiguration.preConfigure
(WebAppContext context) protected void
QuickStartConfiguration.quickStart
(WebAppContext context) void
ExtraXmlDescriptorProcessor.saveSnippet
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
ExtraXmlDescriptorProcessor.start
(WebAppContext context, Descriptor descriptor) void
QuickStartDescriptorProcessor.start
(WebAppContext context, Descriptor descriptor) void
QuickStartDescriptorProcessor.visitContainerInitializer
(WebAppContext context, ContainerInitializer containerInitializer) Deprecated.void
QuickStartDescriptorProcessor.visitContextParam
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Process a context-param elementvoid
QuickStartDescriptorProcessor.visitMetaInfResource
(WebAppContext context, Resource dir) void
QuickStartDescriptorProcessor.visitServletContainerInitializerHolder
(WebAppContext context, ServletContainerInitializerHolder sciHolder) Ensure the ServletContainerInitializerHolder will be started by adding it to the context.void
QuickStartDescriptorProcessor.visitServletMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Process a servlet-mapping element -
Uses of WebAppContext in org.eclipse.jetty.webapp
Modifier and TypeFieldDescriptionprotected WebAppContext
DiscoveredAnnotation._context
protected final WebAppContext
MetaInfConfiguration.ContainerPathNameMatcher._context
protected final WebAppContext
MetaInfConfiguration.WebAppPathNameMatcher._context
Modifier and TypeMethodDescriptionboolean
AbstractConfiguration.abort
(WebAppContext context) boolean
Configuration.abort
(WebAppContext context) boolean
Configuration.Wrapper.abort
(WebAppContext context) void
StandardDescriptorProcessor.addFilterMapping
(String filterName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) StandardDescriptorProcessor.addServletMapping
(String servletName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) void
FragmentConfiguration.addWebFragments
(WebAppContext context, MetaData metaData) Add in fragment descriptors that have already been discovered by MetaInfConfigurationvoid
StandardDescriptorProcessor.addWelcomeFiles
(WebAppContext context, XmlParser.Node node, Descriptor descriptor) void
AbstractConfiguration.cloneConfigure
(WebAppContext template, WebAppContext context) void
WebInfConfiguration.cloneConfigure
(WebAppContext template, WebAppContext context) void
AbstractConfiguration.configure
(WebAppContext context) void
Configuration.configure
(WebAppContext context) Configure WebApp.void
Configuration.Wrapper.configure
(WebAppContext context) boolean
Configurations.configure
(WebAppContext webapp) void
JettyWebXmlConfiguration.configure
(WebAppContext context) Configure Apply web-jetty.xml configurationvoid
MetaInfConfiguration.configure
(WebAppContext context) void
WebInfConfiguration.configure
(WebAppContext context) void
WebXmlConfiguration.configure
(WebAppContext context) Process web-default.xml, web.xml, override-web.xmlvoid
WebInfConfiguration.configureTempDirectory
(File dir, WebAppContext context) void
AbstractConfiguration.deconfigure
(WebAppContext context) void
Configuration.deconfigure
(WebAppContext context) DeConfigure WebApp.void
Configuration.Wrapper.deconfigure
(WebAppContext context) void
WebInfConfiguration.deconfigure
(WebAppContext context) void
WebXmlConfiguration.deconfigure
(WebAppContext context) void
AbstractConfiguration.destroy
(WebAppContext context) void
Configuration.destroy
(WebAppContext context) Destroy WebApp.void
Configuration.Wrapper.destroy
(WebAppContext context) abstract void
IterativeDescriptorProcessor.end
(WebAppContext context, Descriptor descriptor) void
StandardDescriptorProcessor.end
(WebAppContext context, Descriptor descriptor) void
MetaInfConfiguration.findAndFilterContainerPaths
(WebAppContext context) Find jars and directories that are on the container's classpath and apply an optional filter.void
MetaInfConfiguration.findAndFilterWebAppPaths
(WebAppContext context) Finds the jars that are either physically or virtually in WEB-INF/lib, and applies an optional filter to their full pathnames.MetaInfConfiguration.findClassDirs
(WebAppContext context) MetaInfConfiguration.findExtraClasspathDirs
(WebAppContext context) Get class dirs from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findExtraClasspathJars
(WebAppContext context) Get jars from WebAppContext.getExtraClasspath as resourcesMetaInfConfiguration.findJars
(WebAppContext context) Look for jars that should be treated as if they are in WEB-INF/libprotected Resource
MetaInfConfiguration.findWebInfClassesDir
(WebAppContext context) GetWEB-INF/classes
dirMetaInfConfiguration.findWebInfLibJars
(WebAppContext context) Look for jars inWEB-INF/lib
protected Resource
WebXmlConfiguration.findWebXml
(WebAppContext context) MetaInfConfiguration.getAllContainerJars
(WebAppContext context) static String
WebInfConfiguration.getCanonicalNameForWebAppTmpDir
(WebAppContext context) Create a canonical name for a webapp temp directory.void
WebInfConfiguration.makeTempDirectory
(File parent, WebAppContext context) void
AbstractConfiguration.postConfigure
(WebAppContext context) void
Configuration.postConfigure
(WebAppContext context) Clear down after configuration.void
Configuration.Wrapper.postConfigure
(WebAppContext context) void
Configurations.postConfigure
(WebAppContext webapp) void
FragmentConfiguration.postConfigure
(WebAppContext context) void
MetaInfConfiguration.postConfigure
(WebAppContext context) void
AbstractConfiguration.preConfigure
(WebAppContext context) void
Configuration.preConfigure
(WebAppContext context) Set up for configuration.void
Configuration.Wrapper.preConfigure
(WebAppContext context) void
Configurations.preConfigure
(WebAppContext webapp) void
FragmentConfiguration.preConfigure
(WebAppContext context) void
MetaInfConfiguration.preConfigure
(WebAppContext context) void
WebInfConfiguration.preConfigure
(WebAppContext context) void
WebXmlConfiguration.preConfigure
(WebAppContext context) void
DescriptorProcessor.process
(WebAppContext context, Descriptor descriptor) void
IterativeDescriptorProcessor.process
(WebAppContext context, Descriptor descriptor) void
MetaData.resolve
(WebAppContext context) Resolve all servlet/filter/listener metadata from all sources: descriptors and annotations.void
WebInfConfiguration.resolveTempDirectory
(WebAppContext context) Get a temporary directory in which to unpack the war etc etc.void
MetaInfConfiguration.scanForFragment
(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.void
MetaInfConfiguration.scanForResources
(WebAppContext context, Resource target, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given jar.void
MetaInfConfiguration.scanForTlds
(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given jarprotected void
MetaInfConfiguration.scanJars
(WebAppContext context) void
MetaInfConfiguration.scanJars
(WebAppContext context, Collection<Resource> jars, boolean useCaches) For backwards compatibility.void
MetaInfConfiguration.scanJars
(WebAppContext context, Collection<Resource> jars, boolean useCaches, List<String> scanTypes) Look into the jars to discover info in META-INF.abstract void
IterativeDescriptorProcessor.start
(WebAppContext context, Descriptor descriptor) void
StandardDescriptorProcessor.start
(WebAppContext context, Descriptor descriptor) void
WebInfConfiguration.unpack
(WebAppContext context) protected void
IterativeDescriptorProcessor.visit
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitContextParam
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitDefaultContextPath
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default context path of the web application.void
StandardDescriptorProcessor.visitDenyUncoveredHttpMethods
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Servlet spec 3.1.void
StandardDescriptorProcessor.visitDisplayName
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitErrorPage
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitFilter
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitFilterMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitJspConfig
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitListener
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitLocaleEncodingList
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitLoginConfig
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitMimeMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitRequestCharacterEncoding
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default request encoding of the web application.void
StandardDescriptorProcessor.visitResponseCharacterEncoding
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default response encoding of the web application.void
StandardDescriptorProcessor.visitSecurityConstraint
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitSecurityRole
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitServlet
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitServletMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitSessionConfig
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitTagLib
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
StandardDescriptorProcessor.visitWelcomeFileList
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) ModifierConstructorDescriptionContainerPathNameMatcher
(WebAppContext context, String pattern) DiscoveredAnnotation
(WebAppContext context, String className) DiscoveredAnnotation
(WebAppContext context, String className, Resource resource) WebAppPathNameMatcher
(WebAppContext context, String pattern)