Class QuickStartDescriptorProcessor

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

    public class QuickStartDescriptorProcessor
    extends org.eclipse.jetty.webapp.IterativeDescriptorProcessor
    QuickStartDescriptorProcessor Handle extended elements for quickstart-web.xml
    • Field Summary

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

        __signature, _visitors
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void end​(org.eclipse.jetty.webapp.WebAppContext context, org.eclipse.jetty.webapp.Descriptor descriptor)  
      void start​(org.eclipse.jetty.webapp.WebAppContext context, org.eclipse.jetty.webapp.Descriptor descriptor)  
      void visitContainerInitializer​(org.eclipse.jetty.webapp.WebAppContext context, org.eclipse.jetty.plus.annotation.ContainerInitializer containerInitializer)
      Deprecated.
      void visitContextParam​(org.eclipse.jetty.webapp.WebAppContext context, org.eclipse.jetty.webapp.Descriptor descriptor, org.eclipse.jetty.xml.XmlParser.Node node)
      Process a context-param element
      void visitMetaInfResource​(org.eclipse.jetty.webapp.WebAppContext context, org.eclipse.jetty.util.resource.Resource dir)  
      void visitServletContainerInitializerHolder​(org.eclipse.jetty.webapp.WebAppContext context, org.eclipse.jetty.servlet.ServletContainerInitializerHolder sciHolder)
      Ensure the ServletContainerInitializerHolder will be started by adding it to the context.
      void visitServletMapping​(org.eclipse.jetty.webapp.WebAppContext context, org.eclipse.jetty.webapp.Descriptor descriptor, org.eclipse.jetty.xml.XmlParser.Node node)
      Process a servlet-mapping element
      • Methods inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor

        process, registerVisitor, visit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QuickStartDescriptorProcessor

        public QuickStartDescriptorProcessor()
    • Method Detail

      • start

        public void start​(org.eclipse.jetty.webapp.WebAppContext context,
                          org.eclipse.jetty.webapp.Descriptor descriptor)
        Specified by:
        start in class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
      • end

        public void end​(org.eclipse.jetty.webapp.WebAppContext context,
                        org.eclipse.jetty.webapp.Descriptor descriptor)
        Specified by:
        end in class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
      • visitServletMapping

        public void visitServletMapping​(org.eclipse.jetty.webapp.WebAppContext context,
                                        org.eclipse.jetty.webapp.Descriptor descriptor,
                                        org.eclipse.jetty.xml.XmlParser.Node node)
        Process a servlet-mapping element
        Parameters:
        context - the webapp
        descriptor - the xml file to process
        node - the servlet-mapping element in the xml file to process
      • visitContextParam

        public void visitContextParam​(org.eclipse.jetty.webapp.WebAppContext context,
                                      org.eclipse.jetty.webapp.Descriptor descriptor,
                                      org.eclipse.jetty.xml.XmlParser.Node node)
                               throws java.lang.Exception
        Process a context-param element
        Parameters:
        context - the webapp
        descriptor - the xml file to process
        node - the context-param node in the xml file
        Throws:
        java.lang.Exception - if some resources cannot be read
      • visitContainerInitializer

        @Deprecated
        public void visitContainerInitializer​(org.eclipse.jetty.webapp.WebAppContext context,
                                              org.eclipse.jetty.plus.annotation.ContainerInitializer containerInitializer)
        Deprecated.
      • visitServletContainerInitializerHolder

        public void visitServletContainerInitializerHolder​(org.eclipse.jetty.webapp.WebAppContext context,
                                                           org.eclipse.jetty.servlet.ServletContainerInitializerHolder sciHolder)
        Ensure the ServletContainerInitializerHolder will be started by adding it to the context.
        Parameters:
        context - the context to which to add the ServletContainerInitializerHolder
        sciHolder - the ServletContainerInitializerHolder
      • visitMetaInfResource

        public void visitMetaInfResource​(org.eclipse.jetty.webapp.WebAppContext context,
                                         org.eclipse.jetty.util.resource.Resource dir)