Package lumis.service.seo.sitemap
Class SitemapFilter
- java.lang.Object
-
- lumis.service.seo.sitemap.SitemapFilter
-
- All Implemented Interfaces:
Filter
public class SitemapFilter extends Object implements Filter
Serves sitemap xml files Based on the requested file and website, this service looksup the previously generated file in /lumisdata/shared/data/sitemapfiles/ directory and returns the appropriate file (http / https) content if it exists.- Since:
- 11.0.0
- Version:
- $Revision: 21881 $ $Date: 2018-09-21 17:09:37 -0300 (Fri, 21 Sep 2018) $
-
-
Constructor Summary
Constructors Constructor Description SitemapFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
doFilter(ServletRequest req, ServletResponse resp, FilterChain chain)
The requested path for this filter to do work should be in the root of website and end with sitemap.xmlvoid
init(FilterConfig filterConfig)
-
-
-
Method Detail
-
init
public void init(FilterConfig filterConfig) throws ServletException
- Specified by:
init
in interfaceFilter
- Throws:
ServletException
-
doFilter
public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
The requested path for this filter to do work should be in the root of website and end with sitemap.xml- Specified by:
doFilter
in interfaceFilter
- Throws:
IOException
ServletException
-
-