Package org.eclipse.jetty.ee10.webapp
Class StandardDescriptorProcessor
java.lang.Object
org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor
org.eclipse.jetty.ee10.webapp.StandardDescriptorProcessor
- All Implemented Interfaces:
DescriptorProcessor
StandardDescriptorProcessor.
Process the web.xml, web-defaults.xml, web-overrides.xml, and web-fragment.xml descriptors.
-
Field Summary
Fields inherited from class org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor
__signature, _visitors
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFilterMapping
(String filterName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) addServletMapping
(String servletName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) void
addSessionConfigAttribute
(WebAppContext context, Descriptor descriptor, String name, String value) void
addWelcomeFiles
(WebAppContext context, XmlParser.Node node, Descriptor descriptor) void
end
(WebAppContext context, Descriptor descriptor) void
start
(WebAppContext context, Descriptor descriptor) void
visitContextParam
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitDefaultContextPath
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default context path of the web application.void
visitDenyUncoveredHttpMethods
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Servlet spec 3.1.void
visitDisplayName
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitErrorPage
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitFilter
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitFilterMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitJspConfig
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitListener
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitLocaleEncodingList
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitLoginConfig
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitMimeMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitRequestCharacterEncoding
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default request encoding of the web application.void
visitResponseCharacterEncoding
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default response encoding of the web application.void
visitSecurityConstraint
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitSecurityRole
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitServlet
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitServletMapping
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitSessionConfig
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitTagLib
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) void
visitWelcomeFileList
(WebAppContext context, Descriptor descriptor, XmlParser.Node node) Methods inherited from class org.eclipse.jetty.ee10.webapp.IterativeDescriptorProcessor
process, registerVisitor, visit
-
Field Details
-
STANDARD_PROCESSOR
- See Also:
-
-
Constructor Details
-
StandardDescriptorProcessor
public StandardDescriptorProcessor()
-
-
Method Details
-
start
- Specified by:
start
in classIterativeDescriptorProcessor
-
end
- Specified by:
end
in classIterativeDescriptorProcessor
-
visitContextParam
-
visitDisplayName
-
visitServlet
-
visitServletMapping
-
visitSessionConfig
-
addSessionConfigAttribute
public void addSessionConfigAttribute(WebAppContext context, Descriptor descriptor, String name, String value) -
visitMimeMapping
-
visitWelcomeFileList
-
visitLocaleEncodingList
public void visitLocaleEncodingList(WebAppContext context, Descriptor descriptor, XmlParser.Node node) -
visitErrorPage
-
addWelcomeFiles
-
addServletMapping
public ServletMapping addServletMapping(String servletName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) -
addFilterMapping
public void addFilterMapping(String filterName, XmlParser.Node node, WebAppContext context, Descriptor descriptor) -
visitTagLib
-
visitJspConfig
-
visitSecurityConstraint
public void visitSecurityConstraint(WebAppContext context, Descriptor descriptor, XmlParser.Node node) -
visitLoginConfig
public void visitLoginConfig(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws Exception - Throws:
Exception
-
visitSecurityRole
-
visitFilter
-
visitFilterMapping
-
visitListener
-
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
-
visitDefaultContextPath
public void visitDefaultContextPath(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default context path of the web application. The default context path starts with a / character. If it is not rooted at the root of the server's name space, the path does not end with a / character.- Parameters:
context
- the of the processingdescriptor
- the descriptornode
- the xml node- Since:
- Servlet 4.0
-
visitRequestCharacterEncoding
public void visitRequestCharacterEncoding(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default request encoding of the web application.- Parameters:
context
- the of the processingdescriptor
- the descriptornode
- the xml node- Since:
- Servlet 4.0
-
visitResponseCharacterEncoding
public void visitResponseCharacterEncoding(WebAppContext context, Descriptor descriptor, XmlParser.Node node) When specified, this element provides a default response encoding of the web application.- Parameters:
context
- the of the processingdescriptor
- the descriptornode
- the xml node- Since:
- Servlet 4.0
-