org.dspace.app.webui.util
Class RequestInfo

java.lang.Object
  extended by org.dspace.app.webui.util.RequestInfo
All Implemented Interfaces:
Serializable

public class RequestInfo
extends Object
implements Serializable

Stores information about an HTTP request. This is used so that the request can be replicated during a later request, once authentication has successfully occurred. Note: Implements Serializable as it will be saved to the current session during submission. Please ensure that nothing is added to this class that isn't also serializable

Version:
$Revision$
Author:
Robert Tansley
See Also:
Serialized Form

Constructor Summary
RequestInfo(javax.servlet.http.HttpServletRequest request)
          Construct a request info object storing information about the given request
 
Method Summary
 javax.servlet.http.HttpServletRequest wrapRequest(javax.servlet.http.HttpServletRequest request)
          Wrap an incoming request to make it look like the request that the constructor was called with
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestInfo

public RequestInfo(javax.servlet.http.HttpServletRequest request)
Construct a request info object storing information about the given request

Parameters:
request - the request to get information from
Method Detail

wrapRequest

public javax.servlet.http.HttpServletRequest wrapRequest(javax.servlet.http.HttpServletRequest request)
Wrap an incoming request to make it look like the request that the constructor was called with

Parameters:
request - the request to wrap
Returns:
a wrapper around the request passed into this method, wrapped so that it looks like the request passed into the constructor


Copyright © 2013 DuraSpace. All Rights Reserved.