Uses of Class
org.eclipse.jetty.webapp.WebAppContext
Packages that use 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
Fields in org.eclipse.jetty.annotations declared as WebAppContextModifier and TypeFieldDescriptionprotected WebAppContextAbstractDiscoverableAnnotationHandler._contextprotected WebAppContextAnnotationDecorator._contextprotected WebAppContextAnnotationIntrospector.AbstractIntrospectableAnnotationHandler._contextMethods in org.eclipse.jetty.annotations that return WebAppContextModifier and TypeMethodDescriptionAnnotationIntrospector.AbstractIntrospectableAnnotationHandler.getContext()Methods in org.eclipse.jetty.annotations with parameters of type WebAppContextModifier and TypeMethodDescriptionvoidAnnotationConfiguration.cloneConfigure(WebAppContext template, WebAppContext context) voidAnnotationConfiguration.configure(WebAppContext context) voidAnnotationConfiguration.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 intAnnotationConfiguration.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 considerationbooleanAnnotationConfiguration.isFromContainerClassPath(WebAppContext context, jakarta.servlet.ServletContainerInitializer sci) Test if the ServletContainerInitializer is from the container classpathbooleanAnnotationConfiguration.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.booleanAnnotationConfiguration.isFromWebInfClasses(WebAppContext context, Resource sci) Test if the ServletContainerInitializer is from WEB-INF/classesprotected booleanAnnotationConfiguration.isUseMultiThreading(WebAppContext context) Check if we should use multiple threads to scan for annotations or notvoidAnnotationConfiguration.parseContainerPath(WebAppContext context, AnnotationParser parser) Scan jars on container path.voidAnnotationConfiguration.parseWebInfClasses(WebAppContext context, AnnotationParser parser) Scan classes in WEB-INF/classes.voidAnnotationConfiguration.parseWebInfLib(WebAppContext context, AnnotationParser parser) Scan jars in WEB-INF/lib.voidAnnotationConfiguration.postConfigure(WebAppContext context) voidAnnotationConfiguration.preConfigure(WebAppContext context) protected voidAnnotationConfiguration.scanForAnnotations(WebAppContext context) Perform scanning of classes for discoverable annotations such as WebServlet/WebFilter/WebListenerConstructors in org.eclipse.jetty.annotations with parameters of type WebAppContextModifierConstructorDescriptionAbstractIntrospectableAnnotationHandler(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
Subclasses of WebAppContext in org.eclipse.jetty.antModifier and TypeClassDescriptionclassExtension of WebAppContext to allow configuration via Ant environment.Methods in org.eclipse.jetty.ant with parameters of type WebAppContextModifier and TypeMethodDescriptionvoidAntWebInfConfiguration.configure(WebAppContext context) Adds classpath files into web application classloader, and sets web.xml and base directory for the configured web application.voidAntMetaInfConfiguration.findAndFilterContainerPaths(WebAppContext context) AntMetaInfConfiguration.getAllContainerJars(WebAppContext context) -
Uses of WebAppContext in org.eclipse.jetty.deploy.providers
Methods in org.eclipse.jetty.deploy.providers with parameters of type WebAppContextModifier and TypeMethodDescriptionprotected voidWebAppProvider.initializeWebAppContextDefaults(WebAppContext webapp) -
Uses of WebAppContext in org.eclipse.jetty.osgi.annotations
Methods in org.eclipse.jetty.osgi.annotations with parameters of type WebAppContextModifier and TypeMethodDescriptionprotected voidAnnotationConfiguration.parseBundle(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle bundle) protected voidAnnotationConfiguration.parseFragmentBundle(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle, org.osgi.framework.Bundle fragmentBundle) Scan a fragment bundle for servlet annotationsprotected voidAnnotationConfiguration.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 voidAnnotationConfiguration.parseWebBundle(WebAppContext context, AnnotationParser parser, org.osgi.framework.Bundle webbundle) Scan a bundle required by the webbundle for servlet annotationsvoidAnnotationConfiguration.parseWebInfClasses(WebAppContext context, AnnotationParser parser) voidAnnotationConfiguration.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
Methods in org.eclipse.jetty.osgi.boot that return WebAppContextModifier and TypeMethodDescriptionprotected WebAppContextAbstractWebAppProvider.OSGiApp.newWebApp()Methods in org.eclipse.jetty.osgi.boot with parameters of type WebAppContextModifier and TypeMethodDescriptionvoidOSGiMetaInfConfiguration.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.voidOSGiMetaInfConfiguration.postConfigure(WebAppContext context) voidOSGiMetaInfConfiguration.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 voidOSGiMetaInfConfiguration.scanJars(WebAppContext context) voidAbstractWebAppProvider.OSGiApp.setWebAppContext(WebAppContext webApp) -
Uses of WebAppContext in org.eclipse.jetty.osgi.boot.internal.webapp
Constructors in org.eclipse.jetty.osgi.boot.internal.webapp with parameters of type WebAppContextModifierConstructorDescriptionOSGiWebappClassLoader(ClassLoader parent, WebAppContext context, org.osgi.framework.Bundle contributor) -
Uses of WebAppContext in org.eclipse.jetty.plus.annotation
Methods in org.eclipse.jetty.plus.annotation with parameters of type WebAppContextModifier and TypeMethodDescriptionvoidContainerInitializer.callStartup(WebAppContext context) Deprecated.voidContainerInitializer.resolveClasses(WebAppContext context, Map<String, Set<String>> classMap) Deprecated. -
Uses of WebAppContext in org.eclipse.jetty.plus.webapp
Fields in org.eclipse.jetty.plus.webapp declared as WebAppContextMethods in org.eclipse.jetty.plus.webapp with parameters of type WebAppContextModifier and TypeMethodDescriptionvoidPlusDescriptorProcessor.addInjections(WebAppContext context, Descriptor descriptor, XmlParser.Node node, String jndiName, Class<?> valueClass) Iterate over the<injection-target>entries for a nodeprotected voidPlusDescriptorProcessor.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.voidEnvConfiguration.bindEnvEntries(WebAppContext context) Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them.voidPlusDescriptorProcessor.bindMessageDestinationRef(WebAppContext context, String name, Class<?> typeClass) voidPlusDescriptorProcessor.bindResourceEnvRef(WebAppContext context, String name, Class<?> typeClass) voidPlusDescriptorProcessor.bindResourceRef(WebAppContext context, String name, Class<?> typeClass) Bind a resource reference.voidPlusConfiguration.bindUserTransaction(WebAppContext context) voidPlusConfiguration.cloneConfigure(WebAppContext template, WebAppContext context) voidEnvConfiguration.configure(WebAppContext context) voidPlusConfiguration.configure(WebAppContext context) protected voidEnvConfiguration.createEnvContext(WebAppContext wac) voidEnvConfiguration.deconfigure(WebAppContext context) Remove jndi setup from startvoidPlusConfiguration.deconfigure(WebAppContext context) voidEnvConfiguration.destroy(WebAppContext context) Remove all jndi setupvoidPlusDescriptorProcessor.end(WebAppContext context, Descriptor descriptor) protected voidPlusConfiguration.lockCompEnv(WebAppContext wac) voidPlusDescriptorProcessor.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.voidPlusConfiguration.postConfigure(WebAppContext context) voidEnvConfiguration.preConfigure(WebAppContext context) voidPlusConfiguration.preConfigure(WebAppContext context) voidPlusDescriptorProcessor.start(WebAppContext context, Descriptor descriptor) protected voidPlusConfiguration.unlockCompEnv(WebAppContext wac) voidPlusDescriptorProcessor.visitEnvEntry(WebAppContext context, Descriptor descriptor, XmlParser.Node node) JavaEE 5.4.1.3voidPlusDescriptorProcessor.visitMessageDestinationRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Common Annotations Spec section 2.3:voidPlusDescriptorProcessor.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.voidPlusDescriptorProcessor.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 destroyedvoidPlusDescriptorProcessor.visitResourceEnvRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Common Annotations Spec section 2.3:voidPlusDescriptorProcessor.visitResourceRef(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Common Annotations Spec section 2.3:Constructors in org.eclipse.jetty.plus.webapp with parameters of type WebAppContext -
Uses of WebAppContext in org.eclipse.jetty.quickstart
Methods in org.eclipse.jetty.quickstart with parameters of type WebAppContextModifier and TypeMethodDescriptionbooleanQuickStartGeneratorConfiguration.abort(WebAppContext context) protected voidQuickStartConfiguration.configure(QuickStartGeneratorConfiguration generator, WebAppContext context) voidQuickStartConfiguration.configure(WebAppContext context) voidQuickStartGeneratorConfiguration.configure(WebAppContext context) voidQuickStartGeneratorConfiguration.deconfigure(WebAppContext context) voidExtraXmlDescriptorProcessor.end(WebAppContext context, Descriptor descriptor) voidQuickStartDescriptorProcessor.end(WebAppContext context, Descriptor descriptor) voidQuickStartGeneratorConfiguration.generateQuickStartWebXml(WebAppContext context, OutputStream stream) Perform the generation of the xml fileQuickStartConfiguration.getQuickStartWebXml(WebAppContext context) Get the quickstart-web.xml file as a Resource.voidQuickStartConfiguration.postConfigure(WebAppContext context) voidQuickStartConfiguration.preConfigure(WebAppContext context) voidQuickStartGeneratorConfiguration.preConfigure(WebAppContext context) protected voidQuickStartConfiguration.quickStart(WebAppContext context) voidExtraXmlDescriptorProcessor.saveSnippet(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidExtraXmlDescriptorProcessor.start(WebAppContext context, Descriptor descriptor) voidQuickStartDescriptorProcessor.start(WebAppContext context, Descriptor descriptor) voidQuickStartDescriptorProcessor.visitContainerInitializer(WebAppContext context, ContainerInitializer containerInitializer) Deprecated.voidQuickStartDescriptorProcessor.visitContextParam(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Process a context-param elementvoidQuickStartDescriptorProcessor.visitMetaInfResource(WebAppContext context, Resource dir) voidQuickStartDescriptorProcessor.visitServletContainerInitializerHolder(WebAppContext context, ServletContainerInitializerHolder sciHolder) Ensure the ServletContainerInitializerHolder will be started by adding it to the context.voidQuickStartDescriptorProcessor.visitServletMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Process a servlet-mapping element -
Uses of WebAppContext in org.eclipse.jetty.webapp
Fields in org.eclipse.jetty.webapp declared as WebAppContextModifier and TypeFieldDescriptionprotected WebAppContextDiscoveredAnnotation._contextprotected final WebAppContextMetaInfConfiguration.ContainerPathNameMatcher._contextprotected final WebAppContextMetaInfConfiguration.WebAppPathNameMatcher._contextMethods in org.eclipse.jetty.webapp that return WebAppContextMethods in org.eclipse.jetty.webapp with parameters of type WebAppContextModifier and TypeMethodDescriptionbooleanAbstractConfiguration.abort(WebAppContext context) booleanConfiguration.abort(WebAppContext context) booleanConfiguration.Wrapper.abort(WebAppContext context) voidStandardDescriptorProcessor.addFilterMapping(String filterName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) StandardDescriptorProcessor.addServletMapping(String servletName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) voidFragmentConfiguration.addWebFragments(WebAppContext context, MetaData metaData) Add in fragment descriptors that have already been discovered by MetaInfConfigurationvoidStandardDescriptorProcessor.addWelcomeFiles(WebAppContext context, XmlParser.Node node, Descriptor descriptor) voidAbstractConfiguration.cloneConfigure(WebAppContext template, WebAppContext context) voidWebInfConfiguration.cloneConfigure(WebAppContext template, WebAppContext context) voidAbstractConfiguration.configure(WebAppContext context) voidConfiguration.configure(WebAppContext context) Configure WebApp.voidConfiguration.Wrapper.configure(WebAppContext context) booleanConfigurations.configure(WebAppContext webapp) voidJettyWebXmlConfiguration.configure(WebAppContext context) Configure Apply web-jetty.xml configurationvoidMetaInfConfiguration.configure(WebAppContext context) voidWebInfConfiguration.configure(WebAppContext context) voidWebXmlConfiguration.configure(WebAppContext context) Process web-default.xml, web.xml, override-web.xmlvoidWebInfConfiguration.configureTempDirectory(File dir, WebAppContext context) voidAbstractConfiguration.deconfigure(WebAppContext context) voidConfiguration.deconfigure(WebAppContext context) DeConfigure WebApp.voidConfiguration.Wrapper.deconfigure(WebAppContext context) voidWebInfConfiguration.deconfigure(WebAppContext context) voidWebXmlConfiguration.deconfigure(WebAppContext context) voidAbstractConfiguration.destroy(WebAppContext context) voidConfiguration.destroy(WebAppContext context) Destroy WebApp.voidConfiguration.Wrapper.destroy(WebAppContext context) abstract voidIterativeDescriptorProcessor.end(WebAppContext context, Descriptor descriptor) voidStandardDescriptorProcessor.end(WebAppContext context, Descriptor descriptor) voidMetaInfConfiguration.findAndFilterContainerPaths(WebAppContext context) Find jars and directories that are on the container's classpath and apply an optional filter.voidMetaInfConfiguration.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 ResourceMetaInfConfiguration.findWebInfClassesDir(WebAppContext context) GetWEB-INF/classesdirMetaInfConfiguration.findWebInfLibJars(WebAppContext context) Look for jars inWEB-INF/libprotected ResourceWebXmlConfiguration.findWebXml(WebAppContext context) MetaInfConfiguration.getAllContainerJars(WebAppContext context) static StringWebInfConfiguration.getCanonicalNameForWebAppTmpDir(WebAppContext context) Create a canonical name for a webapp temp directory.voidWebInfConfiguration.makeTempDirectory(File parent, WebAppContext context) voidAbstractConfiguration.postConfigure(WebAppContext context) voidConfiguration.postConfigure(WebAppContext context) Clear down after configuration.voidConfiguration.Wrapper.postConfigure(WebAppContext context) voidConfigurations.postConfigure(WebAppContext webapp) voidFragmentConfiguration.postConfigure(WebAppContext context) voidMetaInfConfiguration.postConfigure(WebAppContext context) voidAbstractConfiguration.preConfigure(WebAppContext context) voidConfiguration.preConfigure(WebAppContext context) Set up for configuration.voidConfiguration.Wrapper.preConfigure(WebAppContext context) voidConfigurations.preConfigure(WebAppContext webapp) voidFragmentConfiguration.preConfigure(WebAppContext context) voidMetaInfConfiguration.preConfigure(WebAppContext context) voidWebInfConfiguration.preConfigure(WebAppContext context) voidWebXmlConfiguration.preConfigure(WebAppContext context) voidDescriptorProcessor.process(WebAppContext context, Descriptor descriptor) voidIterativeDescriptorProcessor.process(WebAppContext context, Descriptor descriptor) voidMetaData.resolve(WebAppContext context) Resolve all servlet/filter/listener metadata from all sources: descriptors and annotations.voidWebInfConfiguration.resolveTempDirectory(WebAppContext context) Get a temporary directory in which to unpack the war etc etc.voidMetaInfConfiguration.scanForFragment(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given jar.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource target, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given jar.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource jar, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given jarprotected voidMetaInfConfiguration.scanJars(WebAppContext context) voidMetaInfConfiguration.scanJars(WebAppContext context, Collection<Resource> jars, boolean useCaches) For backwards compatibility.voidMetaInfConfiguration.scanJars(WebAppContext context, Collection<Resource> jars, boolean useCaches, List<String> scanTypes) Look into the jars to discover info in META-INF.abstract voidIterativeDescriptorProcessor.start(WebAppContext context, Descriptor descriptor) voidStandardDescriptorProcessor.start(WebAppContext context, Descriptor descriptor) voidWebInfConfiguration.unpack(WebAppContext context) protected voidIterativeDescriptorProcessor.visit(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitContextParam(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitDefaultContextPath(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default context path of the web application.voidStandardDescriptorProcessor.visitDenyUncoveredHttpMethods(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Servlet spec 3.1.voidStandardDescriptorProcessor.visitDisplayName(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitErrorPage(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitFilter(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitFilterMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitJspConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitListener(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitLocaleEncodingList(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitLoginConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitMimeMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitRequestCharacterEncoding(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default request encoding of the web application.voidStandardDescriptorProcessor.visitResponseCharacterEncoding(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default response encoding of the web application.voidStandardDescriptorProcessor.visitSecurityConstraint(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitSecurityRole(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitServlet(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitServletMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitSessionConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitTagLib(WebAppContext context, Descriptor descriptor, XmlParser.Node node) voidStandardDescriptorProcessor.visitWelcomeFileList(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Constructors in org.eclipse.jetty.webapp with parameters of type WebAppContextModifierConstructorDescriptionContainerPathNameMatcher(WebAppContext context, String pattern) DiscoveredAnnotation(WebAppContext context, String className) DiscoveredAnnotation(WebAppContext context, String className, Resource resource) WebAppPathNameMatcher(WebAppContext context, String pattern)