Module com.semanticcms.core.sitemap
Package com.semanticcms.core.sitemap
Class SiteMapRobotsTxtServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.semanticcms.core.sitemap.SiteMapRobotsTxtServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Generates a /robots.txt including the sitemap index
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(HttpServletRequest req, HttpServletResponse resp) protected long
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
SERVLET_PATH
- See Also:
-
-
Constructor Details
-
SiteMapRobotsTxtServlet
public SiteMapRobotsTxtServlet()
-
-
Method Details
-
getLastModified
- Overrides:
getLastModified
in classHttpServlet
-
doGet
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-