This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1597870ff6ee305330cf165b476ea46256a44f53
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Feb 26 07:47:08 2021 +0100

    CAMEL-16264: camel-http - Allow to configure these on component level.
---
 .../apache/camel/component/http/HttpComponent.java   | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java
 
b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java
index 4b4ef65..591add7 100644
--- 
a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java
+++ 
b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java
@@ -153,35 +153,35 @@ public class HttpComponent extends HttpCommonComponent 
implements RestProducerFa
                             + " should be stored in memory as a byte array or 
be streaming based. Set this to -1 to always use streaming mode.")
     protected int responsePayloadStreamingThreshold = 8192;
     @Metadata(label = "advanced", description = "Disables automatic redirect 
handling")
-    private boolean redirectHandlingDisabled;
+    protected boolean redirectHandlingDisabled;
     @Metadata(label = "advanced", description = "Disables automatic request 
recovery and re-execution")
-    private boolean automaticRetriesDisabled;
+    protected boolean automaticRetriesDisabled;
     @Metadata(label = "advanced", description = "Disables automatic content 
decompression")
-    private boolean contentCompressionDisabled;
+    protected boolean contentCompressionDisabled;
     @Metadata(label = "advanced", description = "Disables state (cookie) 
management")
-    private boolean cookieManagementDisabled;
+    protected boolean cookieManagementDisabled;
     @Metadata(label = "advanced", description = "Disables authentication 
scheme caching")
-    private boolean authCachingDisabled;
+    protected boolean authCachingDisabled;
     @Metadata(label = "advanced", description = "Disables connection state 
tracking")
-    private boolean connectionStateDisabled;
+    protected boolean connectionStateDisabled;
     @Metadata(label = "advanced",
               description = "Disables the default user agent set by this 
builder if none has been provided by the user")
-    private boolean defaultUserAgentDisabled;
+    protected boolean defaultUserAgentDisabled;
     @Metadata(label = "producer",
               defaultValue = "true",
               description = "If this option is true then IN exchange headers 
will be copied to OUT exchange headers according to copy strategy."
                             + " Setting this to false, allows to only include 
the headers from the HTTP response (not propagating IN headers).")
-    boolean copyHeaders = true;
+    protected boolean copyHeaders = true;
     @Metadata(label = "producer,advanced",
               description = "Whether to skip mapping all the Camel headers as 
HTTP request headers."
                             + " If there are no data from Camel headers needed 
to be included in the HTTP request then this can avoid"
                             + " parsing overhead with many object allocations 
for the JVM garbage collector.")
-    private boolean skipRequestHeaders;
+    protected boolean skipRequestHeaders;
     @Metadata(label = "producer,advanced",
               description = "Whether to skip mapping all the HTTP response 
headers to Camel headers."
                             + " If there are no data needed from HTTP headers 
then this can avoid parsing overhead"
                             + " with many object allocations for the JVM 
garbage collector.")
-    private boolean skipResponseHeaders;
+    protected boolean skipResponseHeaders;
 
     public HttpComponent() {
         this(HttpEndpoint.class);

Reply via email to