Package org.eclipse.jetty.webapp
Class StandardDescriptorProcessor
- java.lang.Object
-
- org.eclipse.jetty.webapp.IterativeDescriptorProcessor
-
- org.eclipse.jetty.webapp.StandardDescriptorProcessor
-
- All Implemented Interfaces:
DescriptorProcessor
public class StandardDescriptorProcessor extends IterativeDescriptorProcessor
StandardDescriptorProcessor.Process the web.xml, web-defaults.xml, web-overrides.xml, and web-fragment.xml descriptors.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STANDARD_PROCESSOR
-
Fields inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
__signature, _visitors
-
-
Constructor Summary
Constructors Constructor Description StandardDescriptorProcessor()
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.webapp.IterativeDescriptorProcessor
process, registerVisitor, visit
-
-
-
-
Field Detail
-
STANDARD_PROCESSOR
public static final java.lang.String STANDARD_PROCESSOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(WebAppContext context, Descriptor descriptor)
- Specified by:
start
in classIterativeDescriptorProcessor
-
end
public void end(WebAppContext context, Descriptor descriptor)
- Specified by:
end
in classIterativeDescriptorProcessor
-
visitContextParam
public void visitContextParam(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitDisplayName
public void visitDisplayName(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitServlet
public void visitServlet(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitServletMapping
public void visitServletMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitSessionConfig
public void visitSessionConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitMimeMapping
public void visitMimeMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitWelcomeFileList
public void visitWelcomeFileList(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitLocaleEncodingList
public void visitLocaleEncodingList(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitErrorPage
public void visitErrorPage(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
addWelcomeFiles
public void addWelcomeFiles(WebAppContext context, XmlParser.Node node)
-
addServletMapping
public ServletMapping addServletMapping(java.lang.String servletName, XmlParser.Node node, WebAppContext context, Descriptor descriptor)
-
addFilterMapping
public void addFilterMapping(java.lang.String filterName, XmlParser.Node node, WebAppContext context, Descriptor descriptor)
-
visitTagLib
public void visitTagLib(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitJspConfig
public void visitJspConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitSecurityConstraint
public void visitSecurityConstraint(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitLoginConfig
public void visitLoginConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitSecurityRole
public void visitSecurityRole(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitFilter
public void visitFilter(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitFilterMapping
public void visitFilterMapping(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitListener
public void visitListener(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitDistributable
public void visitDistributable(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
-
visitDenyUncoveredHttpMethods
public void visitDenyUncoveredHttpMethods(WebAppContext context, Descriptor descriptor, XmlParser.Node node)
Servlet spec 3.1. When present in web.xml, this means that http methods that are not covered by security constraints should have access denied.See section 13.8.4, pg 145
- Parameters:
context
- the of the processingdescriptor
- the descriptornode
- the xml node
-
-