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
|
Method Summary |
void |
configure(org.eclipse.jetty.webapp.WebAppContext context)
|
| Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration |
cloneConfigure, deconfigure, destroy, postConfigure, preConfigure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletContextInitializerConfiguration
public ServletContextInitializerConfiguration(org.eclipse.jetty.server.handler.ContextHandler contextHandler,
ServletContextInitializer... initializers)
- Create a new
ServletContextInitializerConfiguration.
- Parameters:
contextHandler - the Jetty ContextHandlerinitializers - the initializers that should be invoked
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 © 2013. All Rights Reserved.