code: private Object getSavedState(FacesContext facesContext)
      {
          Object encodedState = 
              facesContext.getExternalContext().getRequestParameterMap().get(STANDARD_STATE_SAVING_PARAM);
          if(encodedState==null || (((String) encodedState).length() == 0))
          {
              return null;
          }
  
          Object savedStateObject = _stateTokenProcessor.decode(facesContext, (String)encodedState);
          
          return savedStateObject;
      }
docs: Reconstructs the state from the "javax.faces.ViewState" request parameter.
  
  @param facesContext
  the current FacesContext
  
  @return the reconstructed state, or <code>null</code> if there was no saved state