Updated Http4 component documentation in gitbook
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ea37bdb0 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ea37bdb0 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ea37bdb0 Branch: refs/heads/master Commit: ea37bdb01d3dafc4e9e8f292cfc7569c03f927b9 Parents: d210edd Author: Andrea Cosentino <anco...@gmail.com> Authored: Fri Apr 8 09:34:12 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Fri Apr 8 09:34:12 2016 +0200 ---------------------------------------------------------------------- components/camel-http4/src/main/docs/http4.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/ea37bdb0/components/camel-http4/src/main/docs/http4.adoc ---------------------------------------------------------------------- diff --git a/components/camel-http4/src/main/docs/http4.adoc b/components/camel-http4/src/main/docs/http4.adoc index eb420c3..a79278e 100644 --- a/components/camel-http4/src/main/docs/http4.adoc +++ b/components/camel-http4/src/main/docs/http4.adoc @@ -81,8 +81,9 @@ The HTTP4 component supports 13 options which are listed below. + // endpoint options: START -The HTTP4 component supports 29 endpoint options which are listed below: +The HTTP4 component supports 30 endpoint options which are listed below: [width="100%",cols="2s,1,1m,1m,5",options="header"] |======================================================================= @@ -100,6 +101,7 @@ The HTTP4 component supports 29 endpoint options which are listed below: | httpBinding | producer | | HttpBinding | To use a custom HttpBinding to control the mapping between Camel message and HttpClient. | ignoreResponseBody | producer | false | boolean | If this option is true The http producer won't read response body and cache the input stream | okStatusCodeRange | producer | 200-299 | String | The status codes which is considered a success response. The values are inclusive. The range must be defined as from-to with the dash included. +| preserveHostHeader | producer | false | boolean | If the option is true HttpProducer will set the Host header to the value contained in the current exchange Host header useful in reverse proxy applications where you want the Host header received by the downstream server to reflect the URL called by the upstream client this allows applications which use the Host header to generate accurate URL's for a proxied service | proxyHost | producer | | String | The proxy host name | proxyPort | producer | | int | The proxy port number | throwExceptionOnFailure | producer | true | boolean | 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. @@ -121,6 +123,7 @@ The HTTP4 component supports 29 endpoint options which are listed below: + [[HTTP4-MessageHeaders]] Message Headers ^^^^^^^^^^^^^^^