org.barracudamvc.core.helper.state
Class ParamPersister

java.lang.Object
  extended by org.barracudamvc.core.helper.state.ParamPersister

public class ParamPersister
extends Object

Utility methods used for saving servlet request param State and then reconstituting them later. TODO - there is a potential problem with this class, in that if you have multiple requests running at the same time, which both need to save values in the session, they are going to stomp on one another...


Constructor Summary
ParamPersister()
           
 
Method Summary
static void persistReqParamState(javax.servlet.http.HttpServletRequest req)
          This method takes Request parameters and saves them in a users session.
static void reconstituteReqParamState(BarracudaServletRequestWrapper req)
          This method reconstitutes Request parameters from a users session
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamPersister

public ParamPersister()
Method Detail

persistReqParamState

public static void persistReqParamState(javax.servlet.http.HttpServletRequest req)
This method takes Request parameters and saves them in a users session. End users should never need

Parameters:
req - the ServletRequest object

reconstituteReqParamState

public static void reconstituteReqParamState(BarracudaServletRequestWrapper req)
This method reconstitutes Request parameters from a users session

Parameters:
req - the wrapper ServletRequest object


Copyright © 2006 BarracudaMVC.org All Rights Reserved.