incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r589708 - /incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
Date Mon, 29 Oct 2007 16:09:27 GMT
Author: bdelacretaz
Date: Mon Oct 29 09:09:26 2007
New Revision: 589708

URL: http://svn.apache.org/viewvc?rev=589708&view=rev
Log:
bugfix, forgot to implement the new getRequestDispatcher(Resource,RequestDispatcherOptions)
method

Modified:
    incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java

Modified: incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java?rev=589708&r1=589707&r2=589708&view=diff
==============================================================================
--- incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
(original)
+++ incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.java
Mon Oct 29 09:09:26 2007
@@ -27,6 +27,7 @@
 import javax.servlet.http.HttpServletRequestWrapper;
 
 import org.apache.sling.api.SlingHttpServletRequest;
+import org.apache.sling.api.request.RequestDispatcherOptions;
 import org.apache.sling.api.request.RequestParameter;
 import org.apache.sling.api.request.RequestParameterMap;
 import org.apache.sling.api.request.RequestPathInfo;
@@ -65,6 +66,10 @@
 
     public RequestDispatcher getRequestDispatcher(Resource resource) {
         return getSlingRequest().getRequestDispatcher(resource);
+    }
+
+    public RequestDispatcher getRequestDispatcher(Resource resource, RequestDispatcherOptions
options) {
+        return getSlingRequest().getRequestDispatcher(resource, options);
     }
 
     public RequestParameter getRequestParameter(String name) {



Mime
View raw message