public abstract class ResponseStateManager extends Object
| Modifier and Type | Field and 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 and Description | 
|---|
| ResponseStateManager() | 
| Modifier and Type | Method and 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 postback | 
| boolean | isStateless(FacesContext context,
           String viewId) | 
| 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 static final String CLIENT_WINDOW_PARAM
public static final String CLIENT_WINDOW_URL_PARAM
public static final String NON_POSTBACK_VIEW_TOKEN_PARAM
public void writeState(FacesContext context, Object state) throws IOException
IOExceptionpublic void writeState(FacesContext context, StateManager.SerializedView state) throws IOException
IOExceptionpublic 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)
public String getCryptographicallyStrongTokenFromSession(FacesContext context)
context - public boolean isStateless(FacesContext context, String viewId)
context - viewId - Copyright © 2021 The Apache Software Foundation. All rights reserved.