Name

ResponseStateManager

Synopsis

An instance of a subclass of this abstract class is responsible for encoding and decoding client-side view state information for the rendering format supported by a specific render kit.

Synopsis

Class name:

javax.faces.render.ResponseStateManager

Extends:

None

Implements:

None

Constructors

public ResponseStateManager()

Creates an instance.

Methods

public abstract Object getComponentStateToRestore(javax.faces.context.FacesContext context)

Returns an Object representing the component state extracted from the current request or null if not found.

public abstract Object getTreeStructureToRestore(javax.faces.context.FacesContext context, String viewId)

Returns an Object representing the component tree structure for the specified view, extracted from the current request, or null if not found.

public abstract void writeState(javax.faces.context.FacesContext context, javax.faces.application.StateManager.SerializedView state)

Writes the current position of the ResponseWriter for the FacesContext, in a format that ensures it’s returned with the next request triggered from the view.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.