Package org.eclipse.jetty.webapp
Class JettyWebXmlConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.JettyWebXmlConfiguration
- All Implemented Interfaces:
Configuration
JettyWebConfiguration.
Looks for XmlConfiguration files in WEB-INF. Searches in order for the first of jetty8-web.xml, jetty-web.xml or web-jetty.xml
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.Wrapper, Configuration.WrapperFunction -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(WebAppContext context) Configure Apply web-jetty.xml configurationMethods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
abort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, deconfigure, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, postConfigure, preConfigure, protect, protectAndExposeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.webapp.Configuration
isAvailable, replaces
-
Field Details
-
PROPERTY_WEB_INF_URI
- See Also:
-
PROPERTY_WEB_INF
- See Also:
-
XML_CONFIGURATION
- See Also:
-
JETTY_WEB_XML
- See Also:
-
-
Constructor Details
-
JettyWebXmlConfiguration
public JettyWebXmlConfiguration()
-
-
Method Details
-
configure
Configure Apply web-jetty.xml configuration- Specified by:
configurein interfaceConfiguration- Overrides:
configurein classAbstractConfiguration- Parameters:
context- The context to configure- Throws:
Exception- if unable to configure- See Also:
-