Class QuickStartWebApp

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandlerContainer
org.eclipse.jetty.server.handler.HandlerWrapper
org.eclipse.jetty.server.handler.ScopedHandler
org.eclipse.jetty.server.handler.ContextHandler
org.eclipse.jetty.servlet.ServletContextHandler
org.eclipse.jetty.webapp.WebAppContext
org.eclipse.jetty.quickstart.QuickStartWebApp
All Implemented Interfaces:
org.eclipse.jetty.server.Handler, org.eclipse.jetty.server.HandlerContainer, org.eclipse.jetty.util.Attributes, org.eclipse.jetty.util.ClassVisibilityChecker, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.Graceful, org.eclipse.jetty.util.component.LifeCycle, WebAppClassLoader.Context

public class QuickStartWebApp extends WebAppContext
QuickStartWar
  • Field Details

    • __configurationClasses

      public static final String[] __configurationClasses
    • __preconfigurationClasses

      public static final String[] __preconfigurationClasses
  • Constructor Details

    • QuickStartWebApp

      public QuickStartWebApp()
  • Method Details

    • isPreconfigure

      public boolean isPreconfigure()
    • setPreconfigure

      public void setPreconfigure(boolean preconfigure)
      Preconfigure webapp
      Parameters:
      preconfigure - If true, then starting the webapp will generate the WEB-INF/quickstart-web.xml rather than start the webapp.
    • isAutoPreconfigure

      public boolean isAutoPreconfigure()
    • setAutoPreconfigure

      public void setAutoPreconfigure(boolean autoPrecompile)
    • setOriginAttribute

      public void setOriginAttribute(String name)
    • getOriginAttribute

      public String getOriginAttribute()
      Returns:
      the originAttribute
    • getGenerateOrigin

      public boolean getGenerateOrigin()
      Returns:
      the generateOrigin
    • setGenerateOrigin

      public void setGenerateOrigin(boolean generateOrigin)
      Parameters:
      generateOrigin - the generateOrigin to set
    • contextInitialized

      public void contextInitialized() throws Exception
      Never call any listeners unless we are fully starting the webapp.
      Overrides:
      contextInitialized in class org.eclipse.jetty.server.handler.ContextHandler
      Throws:
      Exception
    • contextDestroyed

      public void contextDestroyed() throws Exception
      Never call any listeners unless we are fully starting the webapp.
      Overrides:
      contextDestroyed in class org.eclipse.jetty.server.handler.ContextHandler
      Throws:
      Exception
    • startWebapp

      protected void startWebapp() throws Exception
      Overrides:
      startWebapp in class WebAppContext
      Throws:
      Exception
    • stopWebapp

      protected void stopWebapp() throws Exception
      Overrides:
      stopWebapp in class WebAppContext
      Throws:
      Exception
    • doStart

      protected void doStart() throws Exception
      Overrides:
      doStart in class WebAppContext
      Throws:
      Exception
    • generateQuickstartWebXml

      public void generateQuickstartWebXml(String extraXML) throws Exception
      Throws:
      Exception