Package org.eclipse.jetty.quickstart
Class QuickStartConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.WebInfConfiguration
org.eclipse.jetty.quickstart.QuickStartConfiguration
- All Implemented Interfaces:
Configuration
QuickStartConfiguration
Re-inflate a deployable webapp from a saved effective-web.xml which combines all pre-parsed web xml descriptors and annotations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcherNested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction -
Field Summary
Fields inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERNFields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(WebAppContext context) org.eclipse.jetty.util.resource.ResourcegetQuickStartWebXml(WebAppContext context) Get the quickstart-web.xml file as a Resource.voidpreConfigure(WebAppContext context) Methods inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, getResourceBaseName, makeTempDirectory, resolveTempDirectory, unpackMethods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
destroy, postConfigure
-
Constructor Details
-
QuickStartConfiguration
public QuickStartConfiguration()
-
-
Method Details
-
preConfigure
- Specified by:
preConfigurein interfaceConfiguration- Overrides:
preConfigurein classWebInfConfiguration- Throws:
Exception- See Also:
-
getQuickStartWebXml
public org.eclipse.jetty.util.resource.Resource getQuickStartWebXml(WebAppContext context) throws Exception Get the quickstart-web.xml file as a Resource.- Parameters:
context- the web app context- Returns:
- the Resource for the quickstart-web.xml
- Throws:
Exception- if unable to find the quickstart xml
-
configure
- Specified by:
configurein interfaceConfiguration- Overrides:
configurein classWebInfConfiguration- Throws:
Exception- See Also:
-