Class QuickStartConfiguration

  • All Implemented Interfaces:
    org.eclipse.jetty.webapp.Configuration

    public class QuickStartConfiguration
    extends org.eclipse.jetty.webapp.WebInfConfiguration
    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

        org.eclipse.jetty.webapp.WebInfConfiguration.ContainerPathNameMatcher, org.eclipse.jetty.webapp.WebInfConfiguration.WebAppPathNameMatcher
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration

        org.eclipse.jetty.webapp.Configuration.ClassList
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.webapp.WebInfConfiguration

        _preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERN
      • Fields inherited from interface org.eclipse.jetty.webapp.Configuration

        ATTR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(org.eclipse.jetty.webapp.WebAppContext context)  
      org.eclipse.jetty.util.resource.Resource getQuickStartWebXml​(org.eclipse.jetty.webapp.WebAppContext context)
      Get the quickstart-web.xml file as a Resource.
      void preConfigure​(org.eclipse.jetty.webapp.WebAppContext context)  
      • Methods inherited from class org.eclipse.jetty.webapp.WebInfConfiguration

        cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, resolveTempDirectory, unpack
      • Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration

        destroy, postConfigure
    • Constructor Detail

      • QuickStartConfiguration

        public QuickStartConfiguration()
    • Method Detail

      • preConfigure

        public void preConfigure​(org.eclipse.jetty.webapp.WebAppContext context)
                          throws Exception
        Specified by:
        preConfigure in interface org.eclipse.jetty.webapp.Configuration
        Overrides:
        preConfigure in class org.eclipse.jetty.webapp.WebInfConfiguration
        Throws:
        Exception
        See Also:
        AbstractConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)
      • getQuickStartWebXml

        public org.eclipse.jetty.util.resource.Resource getQuickStartWebXml​(org.eclipse.jetty.webapp.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

        public void configure​(org.eclipse.jetty.webapp.WebAppContext context)
                       throws Exception
        Specified by:
        configure in interface org.eclipse.jetty.webapp.Configuration
        Overrides:
        configure in class org.eclipse.jetty.webapp.WebInfConfiguration
        Throws:
        Exception
        See Also:
        AbstractConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)