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 0ecbe53674b6321cc3c8169b524737bb2589f4a6
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Oct 31 14:36:40 2019 +0100

    Polished
---
 components/camel-http/src/main/docs/http-component.adoc           | 8 ++++----
 .../main/java/org/apache/camel/component/http/HttpEndpoint.java   | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/components/camel-http/src/main/docs/http-component.adoc 
b/components/camel-http/src/main/docs/http-component.adoc
index 8b1dcf0..c8c1bd5 100644
--- a/components/camel-http/src/main/docs/http-component.adoc
+++ b/components/camel-http/src/main/docs/http-component.adoc
@@ -110,15 +110,11 @@ with the following path and query parameters:
 | *disableStreamCache* (common) | Determines whether or not the raw input 
stream from Servlet is cached or not (Camel will read the stream into a in 
memory/overflow to file, Stream caching) cache. By default Camel will cache the 
Servlet input stream to support reading it multiple times to ensure it Camel 
can retrieve all data from the stream. However you can set this option to true 
when you for example need to access the raw stream, such as streaming it 
directly to a file or other persis [...]
 | *headerFilterStrategy* (common) | To use a custom HeaderFilterStrategy to 
filter header to and from Camel message. |  | HeaderFilterStrategy
 | *httpBinding* (common) | To use a custom HttpBinding to control the mapping 
between Camel message and HttpClient. |  | HttpBinding
-| *authenticationPreemptive* (producer) | If this option is true, camel-http 
sends preemptive basic authentication to the server. | false | boolean
 | *bridgeEndpoint* (producer) | If the option is true, HttpProducer will 
ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. 
You may also set the option throwExceptionOnFailure to be false to let the 
HttpProducer send all the fault response back. | false | boolean
 | *chunked* (producer) | If this option is false the Servlet will disable the 
HTTP streaming and set the content-length header on the response | true | 
boolean
 | *clearExpiredCookies* (producer) | Whether to clear expired cookies before 
sending the HTTP request. This ensures the cookies store does not keep growing 
by adding new cookies which is newer removed when they are expired. | true | 
boolean
 | *connectionClose* (producer) | Specifies whether a Connection Close header 
must be added to HTTP Request. By default connectionClose is false. | false | 
boolean
-| *cookieStore* (producer) | To use a custom CookieStore. By default the 
BasicCookieStore is used which is an in-memory only cookie store. Notice if 
bridgeEndpoint=true then the cookie store is forced to be a noop cookie store 
as cookie shouldn't be stored as we are just bridging (eg acting as a proxy). 
If a cookieHandler is set then the cookie store is also forced to be a noop 
cookie store as cookie handling is then performed by the cookieHandler. |  | 
CookieStore
 | *copyHeaders* (producer) | 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). | true | boolean
-| *deleteWithBody* (producer) | Whether the HTTP DELETE should include the 
message body or not. By default HTTP DELETE do not include any HTTP body. 
However in some rare cases users may need to be able to include the message 
body. | false | boolean
-| *getWithBody* (producer) | Whether the HTTP GET should include the message 
body or not. By default HTTP GET do not include any HTTP body. However in some 
rare cases users may need to be able to include the message body. | false | 
boolean
 | *httpMethod* (producer) | Configure the HTTP method to use. The HttpMethod 
header cannot override this option if set. |  | HttpMethods
 | *ignoreResponseBody* (producer) | If this option is true, The http producer 
won't read response body and cache the input stream | false | boolean
 | *lazyStartProducer* (producer) | Whether the producer should be started lazy 
(on the first message). By starting lazy you can use this to allow CamelContext 
and routes to startup in situations where a producer may otherwise fail during 
starting and cause the route to fail being started. By deferring this startup 
to be lazy then the startup failure can be handled during routing messages via 
Camel's routing error handlers. Beware that when the first message is processed 
then creating and [...]
@@ -126,6 +122,9 @@ with the following path and query parameters:
 | *throwExceptionOnFailure* (producer) | Option to disable throwing the 
HttpOperationFailedException in case of failed responses from the remote 
server. This allows you to get all responses regardless of the HTTP status 
code. | true | boolean
 | *transferException* (producer) | If enabled and an Exchange failed 
processing on the consumer side, and if the caused Exception was send back 
serialized in the response as a application/x-java-serialized-object content 
type. On the producer side the exception will be deserialized and thrown as is, 
instead of the HttpOperationFailedException. The caused exception is required 
to be serialized. This is by default turned off. If you enable this then be 
aware that Java will deserialize the  [...]
 | *cookieHandler* (producer) | Configure a cookie handler to maintain a HTTP 
session |  | CookieHandler
+| *cookieStore* (producer) | To use a custom CookieStore. By default the 
BasicCookieStore is used which is an in-memory only cookie store. Notice if 
bridgeEndpoint=true then the cookie store is forced to be a noop cookie store 
as cookie shouldn't be stored as we are just bridging (eg acting as a proxy). 
If a cookieHandler is set then the cookie store is also forced to be a noop 
cookie store as cookie handling is then performed by the cookieHandler. |  | 
CookieStore
+| *deleteWithBody* (producer) | Whether the HTTP DELETE should include the 
message body or not. By default HTTP DELETE do not include any HTTP body. 
However in some rare cases users may need to be able to include the message 
body. | false | boolean
+| *getWithBody* (producer) | Whether the HTTP GET should include the message 
body or not. By default HTTP GET do not include any HTTP body. However in some 
rare cases users may need to be able to include the message body. | false | 
boolean
 | *okStatusCodeRange* (producer) | The status codes which are considered a 
success response. The values are inclusive. Multiple ranges can be defined, 
separated by comma, e.g. 200-204,209,301-304. Each range must be a single 
number or from-to with the dash included. | 200-299 | String
 | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic 
property binding (Camel 2.x) or the newer property binding with additional 
capabilities | false | boolean
 | *clientBuilder* (advanced) | Provide access to the http client request 
parameters used on new RequestConfig instances used by producers or consumers 
of this endpoint. |  | HttpClientBuilder
@@ -151,6 +150,7 @@ with the following path and query parameters:
 | *proxyHost* (proxy) | Proxy hostname to use |  | String
 | *proxyPort* (proxy) | Proxy port to use |  | int
 | *authDomain* (security) | Authentication domain to use with NTML |  | String
+| *authenticationPreemptive* (security) | If this option is true, camel-http 
sends preemptive basic authentication to the server. | false | boolean
 | *authHost* (security) | Authentication host to use with NTML |  | String
 | *authMethod* (security) | Authentication methods allowed to use as a comma 
separated list of values Basic, Digest or NTLM. |  | String
 | *authMethodPriority* (security) | Which authentication method to prioritize 
to use, either as Basic, Digest or NTLM. |  | String
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 82d894e..d2ca0ae 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
@@ -95,7 +95,7 @@ public class HttpEndpoint extends HttpCommonEndpoint {
         + " A timeout value of zero is interpreted as an infinite timeout."
         + " A negative value is interpreted as undefined (system default).")
     private int socketTimeout = -1;
-    @UriParam(label = "producer", description = "To use a custom CookieStore."
+    @UriParam(label = "producer,advanced", description = "To use a custom 
CookieStore."
         + " By default the BasicCookieStore is used which is an in-memory only 
cookie store."
         + " Notice if bridgeEndpoint=true then the cookie store is forced to 
be a noop cookie store as cookie shouldn't be stored as we are just bridging 
(eg acting as a proxy)."
         + " If a cookieHandler is set then the cookie store is also forced to 
be a noop cookie store as cookie handling is then performed by the 
cookieHandler.")
@@ -103,12 +103,12 @@ public class HttpEndpoint extends HttpCommonEndpoint {
     @UriParam(label = "producer", defaultValue = "true", description = 
"Whether to clear expired cookies before sending the HTTP request."
         + " This ensures the cookies store does not keep growing by adding new 
cookies which is newer removed when they are expired.")
     private boolean clearExpiredCookies = true;
-    @UriParam(label = "producer", description = "If this option is true, 
camel-http sends preemptive basic authentication to the server.")
+    @UriParam(label = "producer,security", description = "If this option is 
true, camel-http sends preemptive basic authentication to the server.")
     private boolean authenticationPreemptive;
-    @UriParam(label = "producer", description = "Whether the HTTP GET should 
include the message body or not."
+    @UriParam(label = "producer,advanced", description = "Whether the HTTP GET 
should include the message body or not."
         + " By default HTTP GET do not include any HTTP body. However in some 
rare cases users may need to be able to include the message body.")
     private boolean getWithBody;
-    @UriParam(label = "producer", description = "Whether the HTTP DELETE 
should include the message body or not."
+    @UriParam(label = "producer,advanced", description = "Whether the HTTP 
DELETE should include the message body or not."
         + " By default HTTP DELETE do not include any HTTP body. However in 
some rare cases users may need to be able to include the message body.")
     private boolean deleteWithBody;
     @UriParam(label = "advanced", defaultValue = "200", description = "The 
maximum number of connections.")

Reply via email to