Class SitemapXmlFilter
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.SitemapXmlFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
This filter delivers a sitemap.xml of a domain (Domain_type has to be "web").
Only pages of this domain with "read_permissions_set" == false and "robots_noindex" == false are included.
Protocol: http://www.sitemaps.org/protocol.html
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSitemapXmlFilter
(ContentTreeService contentTreeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doFilter
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.servlet.Filter
destroy, init
-
Field Details
-
PRIORITY
public static final int PRIORITY- See Also:
-
-
Constructor Details
-
SitemapXmlFilter
@Lazy public SitemapXmlFilter(ContentTreeService contentTreeService, SecurityManager securityManager)
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doFilter
in interfacejakarta.servlet.Filter
- Throws:
IOException
jakarta.servlet.ServletException
-