Same lifetime and scope as DefaultLifecycleImpl.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static final Set | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | doPhase(FacesContext
the FacesContext for the current request context, Lifecycle the lifecycle for this request lifecycle, ListIterator<PhaseListener> listeners)Overrides com. Performs PhaseListener processing and invokes the execute method of the Phase. |
| public void | execute(FacesContext
FacesContext for the current request being processed facesContext)Implements abstract com. POSTCONDITION: The facesContext has been initialized with a tree. |
| public PhaseId | |
| private static boolean | Returns: true if WEBAPP_ERROR_PAGE_MARKER is found in the request, otherwise return
falsethe FacesContext for the current request context)The Servlet specification states that if an error occurs in the application and there is a matching error-page declaration, the that original request the cause the error is forwarded to the error page. |
| private boolean | |
| private void | maybeTakeProtectedViewAction(FacesContext context, ViewHandler viewHandler, ViewDeclarationLanguage vdl, String viewId)
|
| private void | notifyAfter(FacesContext
the FacesContext for the current request context, Lifecycle lifecycle instance lifecycle)Notify afterPhase listener that is registered on the View Root. |
| private boolean |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SKIP_ITERATION_HINT | back to summary |
|---|---|
| private static final Set<VisitHint> SKIP_ITERATION_HINT | |
| WEBAPP_ERROR_PAGE_MARKER | back to summary |
|---|---|
| private static final String WEBAPP_ERROR_PAGE_MARKER | |
| RestoreViewPhase | back to summary |
|---|---|
| public RestoreViewPhase() | |
| deliverPostRestoreStateEvent | back to summary |
|---|---|
| private void deliverPostRestoreStateEvent(FacesContext facesContext) throws FacesException | |
| doPhase | back to summary |
|---|---|
| public void doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners) Overrides com. Doc from com. Performs PhaseListener processing and invokes the execute method of the Phase.
| |
| execute | back to summary |
|---|---|
| public void execute(FacesContext facesContext) throws FacesException Implements abstract com. Precondition the necessary factories have been installed in the ServletContext attr set. POSTCONDITION: The facesContext has been initialized with a tree.
| |
| getId | back to summary |
|---|---|
| public PhaseId getId() Implements abstract com.
| |
| isErrorPage | back to summary |
|---|---|
| private static boolean isErrorPage(FacesContext context) The Servlet specification states that if an error occurs in the application and there is a matching error-page declaration, the that original request the cause the error is forwarded to the error page. If the error occurred during a post-back and a matching error-page definition was found, then an attempt to restore the error view would be made as the jakarta.faces.ViewState marker would still be in the request parameters. Use this method to determine if the current request is an error page to avoid the above condition.
| |
| isProtectedView | back to summary |
|---|---|
| private boolean isProtectedView(String viewToCheck, Set<String> urlPatterns) | |
| maybeTakeProtectedViewAction | back to summary |
|---|---|
| private void maybeTakeProtectedViewAction(FacesContext context, ViewHandler viewHandler, ViewDeclarationLanguage vdl, String viewId) | |
| notifyAfter | back to summary |
|---|---|
| private void notifyAfter(FacesContext context, Lifecycle lifecycle) Notify afterPhase listener that is registered on the View Root.
| |
| originatesInWebapp | back to summary |
|---|---|
| private boolean originatesInWebapp(FacesContext context, String view, ViewDeclarationLanguage vdl) throws URISyntaxException | |