Package org.springframework.web.jsf
Class DecoratingNavigationHandler
java.lang.Object
jakarta.faces.application.NavigationHandler
org.springframework.web.jsf.DecoratingNavigationHandler
Base class for JSF NavigationHandler implementations that want
 to be capable of decorating an original NavigationHandler.
 
Supports the standard JSF style of decoration (through a constructor argument)
 as well as an overloaded handleNavigation method with explicit
 NavigationHandler argument (passing in the original NavigationHandler). Subclasses
 are forced to implement this overloaded handleNavigation method.
 Standard JSF invocations will automatically delegate to the overloaded method,
 with the constructor-injected NavigationHandler as argument.
- Since:
- 1.2.7
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreate a DecoratingNavigationHandler without fixed original NavigationHandler.protectedDecoratingNavigationHandler(NavigationHandler originalNavigationHandler) Create a DecoratingNavigationHandler with fixed original NavigationHandler.
- 
Method SummaryModifier and TypeMethodDescriptionprotected final voidcallNextHandlerInChain(FacesContext facesContext, @Nullable String fromAction, @Nullable String outcome, @Nullable NavigationHandler originalNavigationHandler) Method to be called by subclasses when intending to delegate to the next handler in the NavigationHandler chain.final @Nullable NavigationHandlerReturn the fixed original NavigationHandler decorated by this handler, if any (that is, if passed in through the constructor).abstract voidhandleNavigation(FacesContext facesContext, @Nullable String fromAction, @Nullable String outcome, @Nullable NavigationHandler originalNavigationHandler) SpecialhandleNavigationvariant with explicit NavigationHandler argument.final voidhandleNavigation(FacesContext facesContext, String fromAction, String outcome) This implementation of the standard JSFhandleNavigationmethod delegates to the overloaded variant, passing in constructor-injected NavigationHandler as argument.Methods inherited from class jakarta.faces.application.NavigationHandlerhandleNavigation
- 
Constructor Details- 
DecoratingNavigationHandlerprotected DecoratingNavigationHandler()Create a DecoratingNavigationHandler without fixed original NavigationHandler.
 
- 
- 
Method Details