camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: Component docs
Date Thu, 18 Jun 2015 07:12:54 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1e83aef00 -> 427f1b9ba


Component docs


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

Branch: refs/heads/master
Commit: 427f1b9bacd25a1501eff89fc3609c6b4e3f10f2
Parents: 1e83aef
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Jun 18 09:13:55 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Jun 18 09:13:55 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/http/HttpEndpoint.java | 5 +++--
 .../java/org/apache/camel/component/http4/HttpEndpoint.java     | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/427f1b9b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
index 5ad32b6..33c0e56 100644
--- a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
+++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
@@ -106,7 +106,8 @@ public class HttpEndpoint extends DefaultEndpoint implements HeaderFilterStrateg
     @UriParam(label = "consumer",
             description = "To use a custom buffer size on the javax.servlet.ServletResponse.")
     private Integer responseBufferSize;
-    @UriParam(label = "producer", defaultValue = "false")
+    @UriParam(label = "producer",
+            description = "If this option is true, The http producer won't read response
body and cache the input stream")
     private boolean ignoreResponseBody;
 
     public HttpEndpoint() {
@@ -484,9 +485,9 @@ public class HttpEndpoint extends DefaultEndpoint implements HeaderFilterStrateg
 
     /**
      * If this option is true, The http producer won't read response body and cache the input
stream.
-     *
      */
     public void setIgnoreResponseBody(boolean ignoreResponseBody) {
         this.ignoreResponseBody = ignoreResponseBody;
     }
+
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/427f1b9b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
index 14db1ca..6dfd1b7 100644
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
@@ -87,7 +87,7 @@ public class HttpEndpoint extends DefaultEndpoint implements HeaderFilterStrateg
     private String httpMethodRestrict;
     @UriParam(label = "producer", defaultValue = "true")
     private boolean clearExpiredCookies = true;
-    @UriParam(label = "producer", defaultValue = "false")
+    @UriParam(label = "producer")
     private boolean ignoreResponseBody;
 
     public HttpEndpoint() {
@@ -478,7 +478,6 @@ public class HttpEndpoint extends DefaultEndpoint implements HeaderFilterStrateg
         this.authenticationPreemptive = authenticationPreemptive;
     }
 
-   
     public boolean isIgnoreResponseBody() {
         return ignoreResponseBody;
     }
@@ -489,4 +488,5 @@ public class HttpEndpoint extends DefaultEndpoint implements HeaderFilterStrateg
     public void setIgnoreResponseBody(boolean ignoreResponseBody) {
         this.ignoreResponseBody = ignoreResponseBody;
     }
+
 }


Mime
View raw message