Package | Description |
---|---|
org.eclipse.jetty.webapp |
Jetty Util : Modular Web Application Support
|
Modifier and Type | Field and Description |
---|---|
protected WebAppContext |
WebInfConfiguration.ContainerPathNameMatcher._context |
protected WebAppContext |
WebInfConfiguration.WebAppPathNameMatcher._context |
protected WebAppContext |
DiscoveredAnnotation._context |
(package private) WebAppContext |
CloneConfiguration._template |
Modifier and Type | Method and Description |
---|---|
static WebAppContext |
WebAppContext.getCurrentWebAppContext() |
Modifier and Type | Method and Description |
---|---|
void |
StandardDescriptorProcessor.addFilterMapping(java.lang.String filterName,
XmlParser.Node node,
WebAppContext context,
Descriptor descriptor) |
ServletMapping |
StandardDescriptorProcessor.addServletMapping(java.lang.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 MetaInfConfiguration
|
void |
StandardDescriptorProcessor.addWelcomeFiles(WebAppContext context,
XmlParser.Node node) |
void |
WebInfConfiguration.cloneConfigure(WebAppContext template,
WebAppContext context) |
void |
Configuration.cloneConfigure(WebAppContext template,
WebAppContext context)
Clone configuration instance.
|
void |
AbstractConfiguration.cloneConfigure(WebAppContext template,
WebAppContext context) |
void |
WebXmlConfiguration.configure(WebAppContext context)
Process web-default.xml, web.xml, override-web.xml
|
void |
WebInfConfiguration.configure(WebAppContext context) |
void |
JettyWebXmlConfiguration.configure(WebAppContext context)
Configure
Apply web-jetty.xml configuration
|
void |
Configuration.configure(WebAppContext context)
Configure WebApp.
|
void |
CloneConfiguration.configure(WebAppContext context) |
void |
AbstractConfiguration.configure(WebAppContext context) |
void |
WebInfConfiguration.configureTempDirectory(java.io.File dir,
WebAppContext context) |
void |
WebXmlConfiguration.deconfigure(WebAppContext context) |
void |
WebInfConfiguration.deconfigure(WebAppContext context) |
void |
Configuration.deconfigure(WebAppContext context)
DeConfigure WebApp.
|
void |
CloneConfiguration.deconfigure(WebAppContext context) |
void |
AbstractConfiguration.deconfigure(WebAppContext context) |
void |
Configuration.destroy(WebAppContext context)
Destroy WebApp.
|
void |
AbstractConfiguration.destroy(WebAppContext context) |
void |
StandardDescriptorProcessor.end(WebAppContext context,
Descriptor descriptor) |
abstract void |
IterativeDescriptorProcessor.end(WebAppContext context,
Descriptor descriptor) |
void |
WebInfConfiguration.findAndFilterContainerPaths(WebAppContext context)
Find jars and directories that are on the container's classpath
and apply an optional filter.
|
void |
WebInfConfiguration.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.
|
protected java.util.List<Resource> |
WebInfConfiguration.findClassDirs(WebAppContext context) |
protected java.util.List<Resource> |
WebInfConfiguration.findExtraClasspathDirs(WebAppContext context)
Get class dirs from WebAppContext.getExtraClasspath as resources
|
protected java.util.List<Resource> |
WebInfConfiguration.findExtraClasspathJars(WebAppContext context)
Get jars from WebAppContext.getExtraClasspath as resources
|
protected java.util.List<Resource> |
WebInfConfiguration.findJars(WebAppContext context)
Look for jars that should be treated as if they are in WEB-INF/lib
|
void |
FragmentConfiguration.findWebFragments(WebAppContext context,
MetaData metaData)
Deprecated.
|
protected Resource |
WebInfConfiguration.findWebInfClassesDir(WebAppContext context)
Get
WEB-INF/classes dir |
protected java.util.List<Resource> |
WebInfConfiguration.findWebInfLibJars(WebAppContext context)
Look for jars in
WEB-INF/lib |
protected Resource |
WebXmlConfiguration.findWebXml(WebAppContext context) |
static java.lang.String |
WebInfConfiguration.getCanonicalNameForWebAppTmpDir(WebAppContext context)
Create a canonical name for a webapp temp directory.
|
void |
WebInfConfiguration.makeTempDirectory(java.io.File parent,
WebAppContext context) |
void |
MetaInfConfiguration.postConfigure(WebAppContext context) |
void |
FragmentConfiguration.postConfigure(WebAppContext context) |
void |
Configuration.postConfigure(WebAppContext context)
Clear down after configuration.
|
void |
AbstractConfiguration.postConfigure(WebAppContext context) |
void |
WebXmlConfiguration.preConfigure(WebAppContext context) |
void |
WebInfConfiguration.preConfigure(WebAppContext context) |
void |
MetaInfConfiguration.preConfigure(WebAppContext context) |
void |
FragmentConfiguration.preConfigure(WebAppContext context) |
void |
Configuration.preConfigure(WebAppContext context)
Set up for configuration.
|
void |
AbstractConfiguration.preConfigure(WebAppContext context) |
void |
IterativeDescriptorProcessor.process(WebAppContext context,
Descriptor descriptor) |
void |
DescriptorProcessor.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,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.
|
void |
MetaInfConfiguration.scanForResources(WebAppContext context,
Resource target,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.
|
void |
MetaInfConfiguration.scanForTlds(WebAppContext context,
Resource jar,
java.util.concurrent.ConcurrentHashMap<Resource,java.util.Collection<java.net.URL>> cache)
Discover META-INF/*.tld files in the given jar
|
void |
MetaInfConfiguration.scanJars(WebAppContext context,
java.util.Collection<Resource> jars,
boolean useCaches)
For backwards compatibility.
|
void |
MetaInfConfiguration.scanJars(WebAppContext context,
java.util.Collection<Resource> jars,
boolean useCaches,
java.util.List<java.lang.String> scanTypes)
Look into the jars to discover info in META-INF.
|
private void |
JettyWebXmlConfiguration.setupXmlConfiguration(WebAppContext context,
XmlConfiguration jetty_config,
Resource web_inf)
Configures some well-known properties before the XmlConfiguration reads
the configuration.
|
void |
StandardDescriptorProcessor.start(WebAppContext context,
Descriptor descriptor) |
abstract void |
IterativeDescriptorProcessor.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.visitDenyUncoveredHttpMethods(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
Servlet spec 3.1.
|
void |
StandardDescriptorProcessor.visitDisplayName(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitDistributable(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.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) |
Constructor and Description |
---|
CloneConfiguration(WebAppContext template) |
ContainerPathNameMatcher(WebAppContext context,
java.util.regex.Pattern pattern) |
DiscoveredAnnotation(WebAppContext context,
java.lang.String className) |
DiscoveredAnnotation(WebAppContext context,
java.lang.String className,
Resource resource) |
WebAppPathNameMatcher(WebAppContext context,
java.util.regex.Pattern pattern) |