public class CollecTorServlet extends AnyServlet
categories
Constructor and Description |
---|
CollecTorServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles requests for either CollecTor's "home" page or for directory
listings.
|
void |
init(javax.servlet.ServletConfig config)
Initializes this servlet by retrieving the CollecTor host name from the
configuration file and starting the periodic index.json downloader.
|
init
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
java.io.IOException
javax.servlet.ServletException