org.barracudamvc.core.helper.state
Class ParamPersister
java.lang.Object
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...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParamPersister
public ParamPersister()
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 © 2004 BarracudaMVC.org All Rights Reserved.