public abstract class ResponseStateManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RENDER_KIT_ID_PARAM |
static String |
VIEW_STATE_PARAM |
Constructor and Description |
---|
ResponseStateManager() |
Modifier and Type | Method and Description |
---|---|
Object |
getComponentStateToRestore(FacesContext context)
Deprecated.
|
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 postback
|
void |
writeState(FacesContext context,
Object state) |
void |
writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated.
|
public static final String RENDER_KIT_ID_PARAM
public static final String VIEW_STATE_PARAM
public void writeState(FacesContext context, Object state) throws IOException
IOException
public void writeState(FacesContext context, StateManager.SerializedView state) throws IOException
IOException
public String getViewState(FacesContext context, Object state)
context
- state
- public Object getState(FacesContext context, String viewId)
public Object getTreeStructureToRestore(FacesContext context, String viewId)
public Object getComponentStateToRestore(FacesContext context)
public boolean isPostback(FacesContext context)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.