Class MyfacesResponseStateManager

    • Constructor Detail

      • MyfacesResponseStateManager

        public MyfacesResponseStateManager()
    • Method Detail

      • saveState

        public void saveState​(FacesContext facesContext,
                              Object state)
        Execute additional operations like save the state on a cache when server side state saving is used.
      • isWriteStateAfterRenderViewRequired

        public boolean isWriteStateAfterRenderViewRequired​(FacesContext facesContext)
        Indicates if the call to ResponseStateManager.writeState should be done after the view is fully rendered. Usually this is required for client side state saving, but it is not for server side state saving, because ResponseStateManager.writeState could render a just a marker and then StateManager.saveState could be called, preventing use an additional buffer.
        Parameters:
        facesContext -
        Returns: