camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/4] camel git commit: CAMEL-8222: Jetty component setting responseHeaderSize is impossible. Thanks to Zoltan Farkas for reporting and with the solution.
Date Mon, 12 Jan 2015 12:47:24 GMT
CAMEL-8222: Jetty component setting responseHeaderSize is impossible. Thanks to Zoltan Farkas
for reporting and with the solution.


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

Branch: refs/heads/master
Commit: 55f6734d90cd6b6f6a2f88c786a952e19593e474
Parents: 30f64be
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Jan 12 13:45:13 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Jan 12 13:45:13 2015 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/jetty/JettyHttpComponent.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/55f6734d/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
index 42eb16f..30a27d6 100644
--- a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
+++ b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
@@ -735,7 +735,7 @@ public class JettyHttpComponent extends HttpComponent implements RestConsumerFac
                     .invoke(result, responseBufferSize);
             }
             if (result != null && responseHeaderSize != null) {
-                result.getClass().getMethod("setResponseBufferSize", Integer.TYPE)
+                result.getClass().getMethod("setResponseHeaderSize", Integer.TYPE)
                     .invoke(result, responseHeaderSize);
             }
 
@@ -785,7 +785,7 @@ public class JettyHttpComponent extends HttpComponent implements RestConsumerFac
      * Creates a new {@link HttpClient} and configures its proxy/thread pool and SSL based
on this
      * component settings.
      *
-     * @Param endpoint   the instance of JettyHttpEndpoint
+     * @param endpoint   the instance of JettyHttpEndpoint
      * @param minThreads optional minimum number of threads in client thread pool
      * @param maxThreads optional maximum number of threads in client thread pool
      * @param ssl        option SSL parameters


Mime
View raw message