Package com.sun.faces.application.view
Class JspStateManagementStrategy
java.lang.Object
jakarta.faces.view.StateManagementStrategy
com.sun.faces.application.view.JspStateManagementStrategy
public class JspStateManagementStrategy extends StateManagementStrategy
A state management strategy for JSP.
- Author:
- Manfred Riem (manfred.riem@oracle.com)
-
Constructor Summary
Constructors Constructor Description JspStateManagementStrategy()
Constructor.JspStateManagementStrategy(FacesContext context)
Constructor. -
Method Summary
Modifier and Type Method Description UIViewRoot
restoreView(FacesContext context, String viewId, String renderKitId)
Restore the view.Object
saveView(FacesContext context)
Save the view.
-
Constructor Details
-
JspStateManagementStrategy
public JspStateManagementStrategy()Constructor. -
JspStateManagementStrategy
Constructor.- Parameters:
context
- the Faces context.
-
-
Method Details
-
restoreView
Restore the view.- Specified by:
restoreView
in classStateManagementStrategy
- Parameters:
context
- the Faces context.viewId
- the view id.renderKitId
- the render kit id.- Returns:
- the view root.
-
saveView
Save the view.- Specified by:
saveView
in classStateManagementStrategy
- Parameters:
context
- the Faces context.- Returns:
- the saved view.
-