Uses of Class
org.eclipse.jetty.ee10.webapp.WebAppContext
Packages that use WebAppContext
Package
Description
Jetty Annotations : Support for Servlet Annotations
Jetty Plus : Limited Additional JEE Webapp Support
Jetty Util : Modular Web Application Support
-
Uses of WebAppContext in org.eclipse.jetty.ee10.annotations
Fields in org.eclipse.jetty.ee10.annotations declared as WebAppContextModifier and TypeFieldDescriptionprotected WebAppContextAbstractDiscoverableAnnotationHandler._contextfinal WebAppContextAnnotationConfiguration.State._contextprotected WebAppContextAnnotationDecorator._contextprotected WebAppContextAnnotationIntrospector.AbstractIntrospectableAnnotationHandler._contextMethods in org.eclipse.jetty.ee10.annotations that return WebAppContextModifier and TypeMethodDescriptionAnnotationIntrospector.AbstractIntrospectableAnnotationHandler.getContext()Methods in org.eclipse.jetty.ee10.annotations with parameters of type WebAppContextModifier and TypeMethodDescriptionvoidAnnotationConfiguration.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 ResourceAnnotationConfiguration.getJarFor(WebAppContext context, jakarta.servlet.ServletContainerInitializer service) protected intAnnotationConfiguration.getMaxScanWait(WebAppContext context) Work out how long we should wait for the async scanning to occur.booleanAnnotationConfiguration.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.postConfigure(WebAppContext context) voidAnnotationConfiguration.preConfigure(WebAppContext context) protected voidAnnotationConfiguration.scanForAnnotations(WebAppContext context, AnnotationConfiguration.State state) Perform scanning of classes for discoverable annotations such as WebServlet/WebFilter/WebListenerConstructors in org.eclipse.jetty.ee10.annotations with parameters of type WebAppContextModifierConstructorDescriptionAbstractIntrospectableAnnotationHandler(boolean introspectAncestors, WebAppContext context) AnnotationDecorator(WebAppContext context) AnnotationIntrospector(WebAppContext context) 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.ee10.plus.webapp
Fields in org.eclipse.jetty.ee10.plus.webapp declared as WebAppContextMethods in org.eclipse.jetty.ee10.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) 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.ee10.plus.webapp with parameters of type WebAppContext -
Uses of WebAppContext in org.eclipse.jetty.ee10.quickstart
Methods in org.eclipse.jetty.ee10.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) voidQuickStartConfiguration.deconfigure(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 filestatic PathQuickStartConfiguration.getQuickStartWebXml(WebAppContext context) Get the quickstart-web.xml Path from the webapp (from attributes if present, or built from the context'sWebAppContext.getWebInf()).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.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.ee10.webapp
Fields in org.eclipse.jetty.ee10.webapp declared as WebAppContextMethods in org.eclipse.jetty.ee10.webapp that return WebAppContextMethods in org.eclipse.jetty.ee10.webapp with parameters of type WebAppContextModifier and TypeMethodDescriptionbooleanAbstractConfiguration.abort(WebAppContext context) booleanConfiguration.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) voidStandardDescriptorProcessor.addSessionConfigAttribute(WebAppContext context, Descriptor descriptor, String name, String value) 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.configure(WebAppContext context) voidConfiguration.configure(WebAppContext context) Configure WebApp.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.xmlvoidAbstractConfiguration.deconfigure(WebAppContext context) voidConfiguration.deconfigure(WebAppContext context) DeConfigure WebApp.voidWebInfConfiguration.deconfigure(WebAppContext context) voidWebXmlConfiguration.deconfigure(WebAppContext context) voidAbstractConfiguration.destroy(WebAppContext context) voidConfiguration.destroy(WebAppContext context) Destroy WebApp.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) Deprecated, for removal: This API element is subject to removal in a future version.this method is no longer usedvoidWebInfConfiguration.makeTempDirectory(File parent, WebAppContext context) Deprecated, for removal: This API element is subject to removal in a future version.voidAbstractConfiguration.postConfigure(WebAppContext context) voidConfiguration.postConfigure(WebAppContext context) Clear down after configuration.voidConfigurations.postConfigure(WebAppContext webapp) voidFragmentConfiguration.postConfigure(WebAppContext context) voidMetaInfConfiguration.postConfigure(WebAppContext context) voidAbstractConfiguration.preConfigure(WebAppContext context) voidConfiguration.preConfigure(WebAppContext context) Set up for configuration.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 dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/web-fragment.xml file in the given directory.voidMetaInfConfiguration.scanForResources(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Resource> cache) Scan for META-INF/resources dir in the given directory.voidMetaInfConfiguration.scanForTlds(WebAppContext context, Resource dir, ConcurrentHashMap<Resource, Collection<URL>> cache) Discover META-INF/*.tld files in the given directoryprotected 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.ee10.webapp with parameters of type WebAppContextModifierConstructorDescriptionDiscoveredAnnotation(WebAppContext context, String className) DiscoveredAnnotation(WebAppContext context, String className, Resource resource)