sk.baka.webvm.rss
Class RssFeed

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by sk.baka.webvm.rss.RssFeed
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class RssFeed
extends HttpServlet

Provides a RSS feed with the "Problems" report.

Author:
Martin Vysny
See Also:
Serialized Form

Constructor Summary
RssFeed()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
          Handles the HTTP GET method.
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
          Handles the HTTP POST method.
 String getServletInfo()
          Returns a short description of the servlet.
protected  void processRequest(HttpServletRequest request, HttpServletResponse response)
          Processes requests for both HTTP GET and POST methods.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RssFeed

public RssFeed()
Method Detail

processRequest

protected void processRequest(HttpServletRequest request,
                              HttpServletResponse response)
                       throws ServletException,
                              IOException
Processes requests for both HTTP GET and POST methods.

Parameters:
request - servlet request
response - servlet response
Throws:
ServletException - if a servlet-specific error occurs
IOException - if an I/O error occurs

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Handles the HTTP GET method.

Overrides:
doGet in class HttpServlet
Parameters:
request - servlet request
response - servlet response
Throws:
ServletException - if a servlet-specific error occurs
IOException - if an I/O error occurs

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Handles the HTTP POST method.

Overrides:
doPost in class HttpServlet
Parameters:
request - servlet request
response - servlet response
Throws:
ServletException - if a servlet-specific error occurs
IOException - if an I/O error occurs

getServletInfo

public String getServletInfo()
Returns a short description of the servlet.

Specified by:
getServletInfo in interface Servlet
Overrides:
getServletInfo in class GenericServlet
Returns:
a String containing servlet description


Copyright © 2010 Baka. All Rights Reserved.