incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r689618 - /incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/request/RequestData.java
Date Wed, 27 Aug 2008 21:05:21 GMT
Author: fmeschbe
Date: Wed Aug 27 14:05:21 2008
New Revision: 689618

URL: http://svn.apache.org/viewvc?rev=689618&view=rev
Log:
SLING-631 properly implement the toSlingHttpServletResponseWrapper method

Modified:
    incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/request/RequestData.java

Modified: incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/request/RequestData.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/request/RequestData.java?rev=689618&r1=689617&r2=689618&view=diff
==============================================================================
--- incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/request/RequestData.java
(original)
+++ incubator/sling/trunk/engine/src/main/java/org/apache/sling/engine/impl/request/RequestData.java
Wed Aug 27 14:05:21 2008
@@ -54,6 +54,7 @@
 import org.apache.sling.engine.impl.SlingHttpServletResponseImpl;
 import org.apache.sling.engine.impl.SlingMainServlet;
 import org.apache.sling.engine.impl.adapter.SlingServletRequestAdapter;
+import org.apache.sling.engine.impl.adapter.SlingServletResponseAdapter;
 import org.apache.sling.engine.impl.output.BufferProvider;
 import org.apache.sling.engine.impl.parameters.ParameterSupport;
 import org.slf4j.Logger;
@@ -411,7 +412,8 @@
 
         // otherwise, we create a new response wrapping the servlet response
         // and unwrapped component response
-        return null;
+        return new SlingServletResponseAdapter(cResponse,
+            (HttpServletResponse) response);
     }
 
     /**



Mime
View raw message