cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor updates to RequestDispatcherProvider
Date Mon, 23 Mar 2015 21:08:02 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 50f1eaf66 -> 4906110d3


Minor updates to RequestDispatcherProvider


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4906110d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4906110d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4906110d

Branch: refs/heads/2.7.x-fixes
Commit: 4906110d3b7e72e3e04b0ea904e127f32701f148
Parents: 50f1eaf
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Mon Mar 23 17:50:02 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Mon Mar 23 21:07:38 2015 +0000

----------------------------------------------------------------------
 .../apache/cxf/jaxrs/provider/RequestDispatcherProvider.java | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4906110d/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
index c523da3..c7b33e6 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
@@ -406,6 +406,14 @@ public class RequestDispatcherProvider extends AbstractConfigurableProvider
         this.includeResource = includeResource;
     }
 
+    public void setLocationPrefix(String locationPrefix) {
+        this.locationPrefix = locationPrefix;
+    }
+
+    public void setResourceExtension(String resourceExtension) {
+        this.resourceExtension = resourceExtension;
+    }
+
     protected static class HttpServletRequestFilter extends HttpServletRequestWrapper {
         
         private Map<String, String[]> params;


Mime
View raw message