| org.apache.beehive.netui.pageflow.PageFlowRequestProcessor
PageFlowRequestProcessor | public class PageFlowRequestProcessor extends TilesRequestProcessor implements Serializable,InternalConstants,PageFlowConstants(Code) | | The Page Flow extension of the Struts RequestProcessor, which contains callbacks that are invoked
during processing of a request to the Struts action servlet. This class is registered as the
controller for all Struts modules derived from page flows.
|
Inner Class :protected static class ExceptionHandledActionMapping extends ActionMapping | |
Inner Class :public static class ExceptionHandledAction extends Action | |
Method Summary | |
protected boolean | changeScheme(String webappRelativeURI, String scheme, int port, FlowControllerHandlerContext context) | void | doActionForward(HttpServletRequest request, HttpServletResponse response, ActionForward forward) | protected void | doForward(String uri, HttpServletRequest request, HttpServletResponse response) | protected ActionMapping | getBeginMapping() | public void | init(ActionServlet actionServlet, ModuleConfig mc) | protected void | initDefinitionsMapping() Read component instance mapping configuration file. | public void | process(HttpServletRequest request, HttpServletResponse response) | protected Action | processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping actionMapping) | protected ActionForm | processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) | protected boolean | processActionOverride(HttpServletRequest request, HttpServletResponse response) The requested action can be overridden by a request parameter. | protected ActionForward | processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) | public ActionForward | processException(HttpServletRequest request, HttpServletResponse response, Exception ex, ActionForm form, ActionMapping mapping) | protected void | processForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig fwd) This override of the base method ensures that absolute URIs don't get the context
path prepended, and handles forwards to special things like return-to="currentPage". | public ActionMapping | processMapping(HttpServletRequest request, HttpServletResponse response, String path) | protected HttpServletRequest | processMultipart(HttpServletRequest request) If this is a multipart request, wrap it with a special wrapper. | protected void | processNoCache(HttpServletRequest request, HttpServletResponse response) Set the no-cache headers. | protected boolean | processPageFlowRequest(HttpServletRequest request, HttpServletResponse response, String uri) Process any direct request for a page flow by forwarding to its "begin" action. | protected void | processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) | protected boolean | processRoles(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) | protected boolean | processSharedFlowMapping(HttpServletRequest request, HttpServletResponse response, String actionPath, FlowController currentFlowController) | protected ActionMapping | processUnresolvedAction(String actionPath, HttpServletRequest request, HttpServletResponse response, Object returningForm) | protected boolean | processValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) | protected boolean | shouldDoSecureForwards() |
getBeginMapping | protected ActionMapping getBeginMapping()(Code) | | |
initDefinitionsMapping | protected void initDefinitionsMapping() throws ServletException(Code) | | Read component instance mapping configuration file.
This is where we read files properties.
|
processActionOverride | protected boolean processActionOverride(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code) | | The requested action can be overridden by a request parameter. In this case, we parse the action from
the request parameter and forward to a URI constructed from it.
Parameters: request - the current HttpServletRequest Parameters: response - the current HttpServletResponse true if the action was overridden by a request parameter, in which case the requestwas forwarded. throws: IOException - throws: ServletException - |
processMultipart | protected HttpServletRequest processMultipart(HttpServletRequest request)(Code) | | If this is a multipart request, wrap it with a special wrapper. Otherwise, return the request unchanged.
Parameters: request - The HttpServletRequest we are processing |
processPageFlowRequest | protected boolean processPageFlowRequest(HttpServletRequest request, HttpServletResponse response, String uri) throws IOException, ServletException(Code) | | Process any direct request for a page flow by forwarding to its "begin" action.
Parameters: request - the current HttpServletRequest Parameters: response - the current HttpServletResponse Parameters: uri - the decoded request URI true if the request was for a page flow, in which case it was forwarded. throws: IOException - throws: ServletException - |
|
|