javax.faces.render
Class ResponseStateManager

java.lang.Object
  extended by javax.faces.render.ResponseStateManager

public abstract class ResponseStateManager
extends Object

see Javadoc of JSF Specification


Field Summary
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
ResponseStateManager()
           
 
Method Summary
 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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

ResponseStateManager

public ResponseStateManager()
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

public Object getTreeStructureToRestore(FacesContext context,
                                        String viewId)
Deprecated. 


getComponentStateToRestore

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


Copyright © 2014 The Apache Software Foundation. All rights reserved.