java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.semanticcms.core.sitemap.SiteMapIndexServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Creates a site map index of all per-book sitemaps.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Scans for additional sitemaps inMETA-INF/sitemap-index.xml
of all JARs on application start-up. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(HttpServletRequest req, HttpServletResponse resp) protected long
Last modified is known only when the last modified is known for all books, and it is the most recent of all the per-book last modified.protected void
service
(HttpServletRequest req, HttpServletResponse resp) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, 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
-
SiteMapIndexServlet
public SiteMapIndexServlet()
-
-
Method Details
-
service
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
service
in classHttpServlet
- Throws:
ServletException
IOException
-
getLastModified
Last modified is known only when the last modified is known for all books, and it is the most recent of all the per-book last modified.Note: This depends on the nulls-last ordering of
Comparable.compareTo(com.semanticcms.core.sitemap.SiteMapUrl)
.- Overrides:
getLastModified
in classHttpServlet
-
doGet
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-