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