Package javax.faces.render
Class ResponseStateManager
- java.lang.Object
-
- javax.faces.render.ResponseStateManager
-
public abstract class ResponseStateManager extends Object
see Javadoc of JSF Specification
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLIENT_WINDOW_PARAM
static String
CLIENT_WINDOW_URL_PARAM
static String
NON_POSTBACK_VIEW_TOKEN_PARAM
static String
RENDER_KIT_ID_PARAM
static String
VIEW_STATE_PARAM
-
Constructor Summary
Constructors Constructor Description ResponseStateManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
getComponentStateToRestore(FacesContext context)
Deprecated.String
getCryptographicallyStrongTokenFromSession(FacesContext context)
Object
getState(FacesContext context, String viewId)
Object
getTreeStructureToRestore(FacesContext context, String viewId)
Deprecated.String
getViewState(FacesContext context, Object state)
boolean
isPostback(FacesContext context)
Checks if the current request is a postbackboolean
isStateless(FacesContext context, String viewId)
void
writeState(FacesContext context, Object state)
void
writeState(FacesContext context, StateManager.SerializedView state)
Deprecated.
-
-
-
Field Detail
-
RENDER_KIT_ID_PARAM
public static final String RENDER_KIT_ID_PARAM
- See Also:
- Constant Field Values
-
VIEW_STATE_PARAM
public static final String VIEW_STATE_PARAM
- See Also:
- Constant Field Values
-
CLIENT_WINDOW_PARAM
public static final String CLIENT_WINDOW_PARAM
- See Also:
- Constant Field Values
-
CLIENT_WINDOW_URL_PARAM
public static final String CLIENT_WINDOW_URL_PARAM
- See Also:
- Constant Field Values
-
NON_POSTBACK_VIEW_TOKEN_PARAM
public static final String NON_POSTBACK_VIEW_TOKEN_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeState
public void writeState(FacesContext context, Object state) throws IOException
- Throws:
IOException
-
writeState
public void writeState(FacesContext context, StateManager.SerializedView state) throws IOException
Deprecated.- Throws:
IOException
-
getViewState
public String getViewState(FacesContext context, Object state)
- Parameters:
context
-state
-- Returns:
- Since:
- 2.0
-
getState
public Object getState(FacesContext context, String viewId)
- Since:
- 1.2
-
getTreeStructureToRestore
@Deprecated public Object getTreeStructureToRestore(FacesContext context, String viewId)
Deprecated.
-
getComponentStateToRestore
@Deprecated public Object getComponentStateToRestore(FacesContext context)
Deprecated.
-
isPostback
public boolean isPostback(FacesContext context)
Checks if the current request is a postback- Since:
- 1.2
-
getCryptographicallyStrongTokenFromSession
public String getCryptographicallyStrongTokenFromSession(FacesContext context)
- Parameters:
context
-- Returns:
- Since:
- 2.2
-
isStateless
public boolean isStateless(FacesContext context, String viewId)
- Parameters:
context
-viewId
-- Returns:
- Since:
- 2.2
-
-