Author: taylor
Date: Mon Dec 18 22:13:18 2006
New Revision: 488540

URL: http://svn.apache.org/viewvc?view=rev&rev=488540
Log:
allow for HttpServletRequest and HttpServletResponse to be wrappered

Modified:
    
portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java

Modified: 
portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java?view=diff&rev=488540&r1=488539&r2=488540
==============================================================================
--- 
portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java
 (original)
+++ 
portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java
 Mon Dec 18 22:13:18 2006
@@ -56,6 +56,16 @@
     public HttpServletRequest getRequest();
 
     /**
+     * Sets the HTTP Servlet Request.  This is the Servlet
+     * containers raw request object.  This request should
+     * be wrapped using <code>getPortletRequestForWindow()</code> before
+     * being processed by the portlet container.
+     *
+     * @return HttpServletRequest
+     */    
+    public void setRequest(HttpServletRequest request);
+    
+    /**
      * Gets the HTTP Servlet Response.  This is the Servlet
      * containers raw response object.  This response should
      * be wrapped using <code>getPortletResponseForWindow()</code> before
@@ -64,6 +74,15 @@
      */
     public HttpServletResponse getResponse();
 
+    /**
+     * Sets the HTTP Servlet Response.  This is the Servlet
+     * containers raw response object.  This response should
+     * be wrapped using <code>getPortletResponseForWindow()</code> before
+     * being processed by the portlet container.
+     * @return HttpServletResponse
+     */    
+    public void setResponse(HttpServletResponse response);
+    
     /**
      * Gets the HTTP Servlet Config
      *



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to