camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-9013: rest binding should inheirt the options
Date Mon, 27 Jul 2015 10:13:10 GMT
Repository: camel
Updated Branches:
  refs/heads/master b2bac745a -> 6e502b701


CAMEL-9013: rest binding should inheirt the options


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6e502b70
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6e502b70
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6e502b70

Branch: refs/heads/master
Commit: 6e502b7019fa649e3f586f1ab19ca2c097163678
Parents: b2bac74
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Jul 27 12:20:19 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Jul 27 12:20:19 2015 +0200

----------------------------------------------------------------------
 .../camel/component/servlet/ServletRestHttpBinding.java     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6e502b70/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletRestHttpBinding.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletRestHttpBinding.java
b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletRestHttpBinding.java
index a652fba..8aae805 100644
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletRestHttpBinding.java
+++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletRestHttpBinding.java
@@ -19,10 +19,19 @@ package org.apache.camel.component.servlet;
 import javax.servlet.http.HttpServletRequest;
 
 import org.apache.camel.http.common.DefaultHttpBinding;
+import org.apache.camel.http.common.HttpCommonEndpoint;
 import org.apache.camel.http.common.HttpMessage;
 
 public class ServletRestHttpBinding extends DefaultHttpBinding {
 
+    public ServletRestHttpBinding() {
+    }
+
+    @Deprecated
+    public ServletRestHttpBinding(HttpCommonEndpoint endpoint) {
+        super(endpoint);
+    }
+
     @Override
     protected void populateRequestParameters(HttpServletRequest request, HttpMessage message)
throws Exception {
         super.populateRequestParameters(request, message);


Mime
View raw message