Same lifetime and scope as DefaultLifecycleImpl.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static String | |
| private static final String | |
| private WebConfiguration |
| 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. |
| public void | execute(FacesContext
FacesContext for the current request being processed facesContext)Implements abstract com. |
| public PhaseId | |
| private WebConfiguration | |
| private boolean | |
| 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 String SKIP_ITERATION_HINT | |
| WEBAPP_ERROR_PAGE_MARKER | back to summary |
|---|---|
| private static final String WEBAPP_ERROR_PAGE_MARKER | |
| webConfig | back to summary |
|---|---|
| private WebConfiguration webConfig | |
| 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.
| |
| getWebConfig | back to summary |
|---|---|
| private WebConfiguration getWebConfig(FacesContext context) | |
| is11CompatEnabled | back to summary |
|---|---|
| private boolean is11CompatEnabled(FacesContext context) | |
| 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 javax.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 | |