Top Description Fields Constructors Methods
org.eclipse.jetty.ee10.webapp

public Class WebXmlConfiguration

extends AbstractConfiguration
Class Inheritance
Imports
java.io.IOException, java.net.MalformedURLException, .URI, .URL, org.eclipse.jetty.ee10.servlet.ErrorPageErrorHandler, org.eclipse.jetty.util.resource.Resource, .Resources, org.slf4j.Logger, .LoggerFactory

Configure by parsing default web.xml and web.xml

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
configure(WebAppContext
The context to configure
context
)

Overrides org.eclipse.jetty.ee10.webapp.AbstractConfiguration.configure.

Implements org.eclipse.jetty.ee10.webapp.Configuration.configure.

Process web-default.xml, web.xml, override-web.xml
public void
protected Resource
public void
Inherited from org.eclipse.jetty.ee10.webapp.AbstractConfiguration:
abortdestroygetDependenciesgetDependentsgetServerClassesgetSystemClassesisEnabledByDefaultpostConfigure

Field Detail

LOGback to summary
private static final Logger LOG

Constructor Detail

WebXmlConfigurationback to summary
public WebXmlConfiguration()

Method Detail

configureback to summary
public void configure(WebAppContext context) throws Exception

Overrides org.eclipse.jetty.ee10.webapp.AbstractConfiguration.configure.

Implements org.eclipse.jetty.ee10.webapp.Configuration.configure.

Process web-default.xml, web.xml, override-web.xml

Parameters
context:WebAppContext

Doc from org.eclipse.jetty.ee10.webapp.Configuration.configure.

The context to configure

Annotations
@Override
Exceptions
Exception:

Doc from org.eclipse.jetty.ee10.webapp.Configuration.configure.

if unable to configure

deconfigureback to summary
public void deconfigure(WebAppContext context) throws Exception

Overrides org.eclipse.jetty.ee10.webapp.AbstractConfiguration.deconfigure.

Implements org.eclipse.jetty.ee10.webapp.Configuration.deconfigure.

Doc from org.eclipse.jetty.ee10.webapp.Configuration.deconfigure.

DeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle

Parameters
context:WebAppContext

The context to configure

Annotations
@Override
Exceptions
Exception:
if unable to deconfigure
findWebXmlback to summary
protected Resource findWebXml(WebAppContext context) throws IOException, MalformedURLException
preConfigureback to summary
public void preConfigure(WebAppContext context) throws Exception

Overrides org.eclipse.jetty.ee10.webapp.AbstractConfiguration.preConfigure.

Implements org.eclipse.jetty.ee10.webapp.Configuration.preConfigure.

Doc from org.eclipse.jetty.ee10.webapp.Configuration.preConfigure.

Set up for configuration.

Typically this step discovers configuration resources. Calls to preConfigure may alter the Configurations configured on the WebAppContext, so long as configurations prior to this configuration are not altered.

Parameters
context:WebAppContext

The context to configure

Annotations
@Override
Exceptions
Exception:
if unable to pre configure