org.springframework.boot.context.embedded.jetty

Class ServletContextInitializerConfiguration

  • java.lang.Object
    • org.eclipse.jetty.webapp.AbstractConfiguration
      • org.springframework.boot.context.embedded.jetty.ServletContextInitializerConfiguration
  • All Implemented Interfaces:
    org.eclipse.jetty.webapp.Configuration


    public class ServletContextInitializerConfiguration
    extends org.eclipse.jetty.webapp.AbstractConfiguration
    Jetty Configuration that calls ServletContextInitializers.
    Author:
    Phillip Webb
    • Constructor Detail

      • ServletContextInitializerConfiguration

        public ServletContextInitializerConfiguration(org.eclipse.jetty.server.handler.ContextHandler contextHandler,
                                              ServletContextInitializer... initializers)
        Parameters:
        contextHandler - the Jetty ContextHandler
        initializers - the initializers that should be invoked
    • Method Detail

      • 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.AbstractConfiguration
        Throws:
        Exception

Copyright © 2015 Pivotal Software, Inc.. All rights reserved.