java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.semanticcms.news.rss.RssServlet
- All Implemented Interfaces:
Servlet,ServletConfig,Serializable
Automated RSS feeds for each page, if it or any of its
child pages have any news.
TODO: Generate or convert all relative paths to absolute paths to be in strict compliance with RSS. Then test on Android gReader app which does not currently handle relative paths.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoGet(HttpServletRequest req, HttpServletResponse resp) protected longprotected voidservice(HttpServletRequest req, HttpServletResponse resp) Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, init, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
RssServlet
public RssServlet()
-
-
Method Details
-
service
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
servicein classHttpServlet- Throws:
ServletExceptionIOException
-
getLastModified
- Overrides:
getLastModifiedin classHttpServlet
-
doGet
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doGetin classHttpServlet- Throws:
ServletExceptionIOException
-
