org.matalon.pagerankhits.servlet
Class CrawlerControlServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.matalon.pagerankhits.servlet.AbstractServlet
org.matalon.pagerankhits.servlet.CrawlerControlServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class CrawlerControlServlet
- extends AbstractServlet
This servlet is responsible for activating/deactivating the crawler according to the
given URL parameters.
- Author:
- Yonatan Matalon
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Method Summary |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
PARAM_NAME_COMMAND
public static final java.lang.String PARAM_NAME_COMMAND
- See Also:
- Constant Field Values
PARAM_VALUE_START
public static final java.lang.String PARAM_VALUE_START
- See Also:
- Constant Field Values
PARAM_VALUE_STOP
public static final java.lang.String PARAM_VALUE_STOP
- See Also:
- Constant Field Values
PARAM_NAME_STARTING_URL
public static final java.lang.String PARAM_NAME_STARTING_URL
- See Also:
- Constant Field Values
PARAM_NAME_MAX_RETRIEVED_URLS_NO
public static final java.lang.String PARAM_NAME_MAX_RETRIEVED_URLS_NO
- See Also:
- Constant Field Values
startingUrl
private static java.lang.String startingUrl
maxRetrievedUrlsNo
private static int maxRetrievedUrlsNo
CrawlerControlServlet
public CrawlerControlServlet()
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)