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

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Manfred Geiler (latest modification by $Author: bommel $), Stan Silvert

Field Summary
static String RENDER_KIT_ID_PARAM
           
static String VIEW_STATE_PARAM
           
 
Constructor Summary
ResponseStateManager()
           
 
Method Summary
 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.  
 
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
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


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.