| vqwiki.servlets.VQWikiServlet vqwiki.servlets.LongLastingOperationServlet
All known Subclasses: vqwiki.servlets.StatisticServlet, vqwiki.servlets.SitemapServlet, vqwiki.servlets.ExportHTMLServlet,
LongLastingOperationServlet | abstract public class LongLastingOperationServlet extends VQWikiServlet implements Runnable(Code) | | Abstract class to support long lasting operations
This class was created on 00:24:36 23.07.2003
author: $Author: wrh2 $ |
MAX_TIME_TO_REFRESH | protected int MAX_TIME_TO_REFRESH(Code) | | Maximum time in seconds to wait until the page is refreshed
|
PROGRESS_DONE | final public static int PROGRESS_DONE(Code) | | progress done
|
locale | protected Locale locale(Code) | | The request, which is used during the operation
|
progress | protected int progress(Code) | | progress made
|
startingTime | protected Date startingTime(Code) | | time, when everything starts
|
url | protected String url(Code) | | the url, which is used to call this servlet
|
dispatchDone | abstract protected void dispatchDone(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)(Code) | | Go to the done page
Parameters: request - The current servlet request Parameters: response - The current servlet response |
doGet | protected void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException(Code) | | Handle get request.
The request is handled the same way as the post request.
See Also: doPost() Parameters: httpServletRequest - The current http request Parameters: httpServletResponse - What the servlet will send back as response throws: ServletException - If something goes wrong during servlet execution throws: IOException - If the output stream cannot be accessed |
getNextRefresh | protected int getNextRefresh()(Code) | | How many seconds shall we wait until the next refresh?
int giving the number of seconds to wait for the next refresh |
getProgress | public int getProgress()(Code) | | What is the progress of the ongoing operation?
int giving the percent (0 - 100), how much is finished. |
getUrl | protected String getUrl()(Code) | | Get the url, how this servlet is called
|
|
|