/** * Creates new action request and initializes it. */ public ActionRequest( final MadvocController madvocController, final String actionPath, final String[] actionPathChunks, final ActionRuntime actionRuntime, final Object action, final HttpServletRequest servletRequest, final HttpServletResponse servletResponse) { this.madvocController = madvocController; this.actionPath = actionPath; this.actionPathChunks = actionPathChunks; this.actionRuntime = actionRuntime; this.servletRequest = servletRequest; this.servletResponse = servletResponse; this.action = action; this.targets = new Targets(this); this.executionIndex = 0; this.executionArray = createExecutionArray(); }