org.matalon.pagerankhits.servlet
Class ShowCrawlingProgressServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.matalon.pagerankhits.servlet.AbstractServlet
              extended byorg.matalon.pagerankhits.servlet.ShowCrawlingProgressServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ShowCrawlingProgressServlet
extends AbstractServlet

This servlet is responsible for showing the crawling progress of the crawler, which may be running simultaneously in the background.

Author:
Yonatan Matalon
See Also:
Serialized Form

Field Summary
private static java.lang.String NEW_LINE
           
private static long serialVersionUID
           
 
Fields inherited from class org.matalon.pagerankhits.servlet.AbstractServlet
PARAM_NAME_STATUS, PARAM_VALUE_STATUS_ERROR, PARAM_VALUE_STATUS_IDLE, PARAM_VALUE_STATUS_RUNNING, PARAM_VALUE_STATUS_SUCCESS, RECENTLY_MODIFIED_INTERVAL
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
ShowCrawlingProgressServlet()
           
 
Method Summary
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.matalon.pagerankhits.servlet.AbstractServlet
printErrorMessage, printStandByMessage
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

NEW_LINE

private static final java.lang.String NEW_LINE
See Also:
Constant Field Values
Constructor Detail

ShowCrawlingProgressServlet

public ShowCrawlingProgressServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)