From 1835902eb12c821e33348a7f9988d44b185043c9 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Wed, 4 May 2011 08:44:45 -0400 Subject: [PATCH] INT-1827 edited HTTP Proxy documentation --- docs/src/reference/docbook/http.xml | 41 ++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/docs/src/reference/docbook/http.xml b/docs/src/reference/docbook/http.xml index 0f6b3b8478..c54842c534 100644 --- a/docs/src/reference/docbook/http.xml +++ b/docs/src/reference/docbook/http.xml @@ -180,12 +180,45 @@ In the case of the Outbound Gateway, the reply message produced by the gateway w HTTP Proxy configuration - If you are behind the proxy and need to configure proxy settings for HTTP outbound adapters/gateways you can do - so by providing custom instance of ClientHttpRequestFactory. - You can provide your own implementation of ClientHttpRequestFactory strategy or you can use - implementations already provided by Spring and Apache Commons. + If you are behind the proxy and need to configure proxy settings for HTTP outbound adapters/ + gateways you can apply several approaches. + + Standard Java Proxy configuration + + + + There are 3 properties you can set to specify the proxy that will be used by the http protocol handler: + + + http.proxyHost - the host name of the proxy server. + + + + http.proxyPort - the port number, the default value being 80. + + + + http.nonProxyHosts - a list of hosts that should be reached directly, + bypassing the proxy. This is a list of patterns separated by '|'. The patterns may start or end with a '*' for wildcards. Any host matching one of these patterns will be reached through a direct connection instead of through a proxy. + + + + And for HTTPS: + + + + https.proxyHost - the host name of the proxy server. + + + + https.proxyPort - the port number, the default value being 80. + + + For more information please refer to this document: http://download.oracle.com/javase/6/docs/technotes/guides/net/proxies.html + + Apache Commons