public class WebXmlSectionSource extends AbstractSectionSource
AbstractSectionSource.SpecificationContext| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_WEB_XML_CONFIGURATION
Name of property optionally containing the
web.xml
configuration (should a section location not be provided). |
static String |
SERVICE_INPUT
Name of the
SectionInput that services the HttpRequest. |
static String |
UNHANDLED_OUTPUT
Name of the
SectionOutput should the HttpRequest not be
handled. |
| Constructor and Description |
|---|
WebXmlSectionSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadSpecification(AbstractSectionSource.SpecificationContext context) |
void |
sourceSection(SectionDesigner designer,
SectionSourceContext context) |
static void |
validateWebXmlConfiguration(InputStream webXmlContents,
net.officefloor.frame.spi.source.SourceContext context)
Validates the
web.xml configuration. |
getSpecificationpublic static final String PROPERTY_WEB_XML_CONFIGURATION
web.xml
configuration (should a section location not be provided).public static final String SERVICE_INPUT
SectionInput that services the HttpRequest.public static final String UNHANDLED_OUTPUT
SectionOutput should the HttpRequest not be
handled.public static void validateWebXmlConfiguration(InputStream webXmlContents, net.officefloor.frame.spi.source.SourceContext context) throws InvalidServletConfigurationException
web.xml configuration.webXmlContents - Contents of the web.xml.context - SourceContext.InvalidServletConfigurationException - Should the web.xml not be valid.protected void loadSpecification(AbstractSectionSource.SpecificationContext context)
loadSpecification in class AbstractSectionSourcepublic void sourceSection(SectionDesigner designer, SectionSourceContext context) throws Exception
ExceptionCopyright © 2005–2015. All rights reserved.