| java.lang.Object com.mvnforum.admin.AdminModuleProcessor
Method Summary | |
public String | process(HttpServletRequest request, HttpServletResponse response) This method handles the requestURI , and invokes the needed
procedure (if the current user has the permission to perform that task).
For example, URI "/addforumprocess" invokes the call to
forumWebHandler.processAdd(request); .
After the task is performed, we use the AdminModuleURLMapHandler
to get the responseURI . | public void | setServlet(HttpServlet servlet) |
ORIGINAL_REQUEST | final protected String ORIGINAL_REQUEST(Code) | | |
AdminModuleProcessor | public AdminModuleProcessor()(Code) | | |
process | public String process(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code) | | This method handles the requestURI , and invokes the needed
procedure (if the current user has the permission to perform that task).
For example, URI "/addforumprocess" invokes the call to
forumWebHandler.processAdd(request); .
After the task is performed, we use the AdminModuleURLMapHandler
to get the responseURI . That responseURI is
returned back to the calling method, so it can decide and act on it
(to redirect to that URI).
Parameters: request - The HttpServletRequest object of this HTTP request. Parameters: response - The HttpServletResponse object of this HTTP request. responseURI to be redirected to. It could be null, whichmeans we are not supposed to do any redirection, since the output wasalready committed (for example, if we sent (downloaded) a file to the user. |
|
|