cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r927481 - in /websites/production/cxf/content: cache/docs.pageCache docs/client-http-transport-including-ssl-support.html
Date Fri, 31 Oct 2014 10:47:32 GMT
Author: buildbot
Date: Fri Oct 31 10:47:32 2014
New Revision: 927481

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html
==============================================================================
--- websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html
(original)
+++ websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html
Fri Oct 31 10:47:32 2014
@@ -118,11 +118,11 @@ Apache CXF -- Client HTTP Transport (inc
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1411645615144 {padding: 0px;}
-div.rbtoc1411645615144 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1411645615144 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1414752419173 {padding: 0px;}
+div.rbtoc1414752419173 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1414752419173 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1411645615144">
+/*]]>*/</style></p><div class="toc-macro rbtoc1414752419173">
 <ul class="toc-indentation"><li><a shape="rect" href="#ClientHTTPTransport(includingSSLsupport)-Authentication">Authentication</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#ClientHTTPTransport(includingSSLsupport)-BasicAuthentication">Basic
Authentication</a></li><li><a shape="rect" href="#ClientHTTPTransport(includingSSLsupport)-DigestAuthentication">Digest
Authentication</a></li><li><a shape="rect" href="#ClientHTTPTransport(includingSSLsupport)-Supplyingdynamicauthorization">Supplying
dynamic authorization</a></li><li><a shape="rect" href="#ClientHTTPTransport(includingSSLsupport)-SpnegoAuthentication(Kerberos)">Spnego
Authentication (Kerberos)</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#ClientHTTPTransport(includingSSLsupport)-CredentialDelegation">Credential
Delegation</a></li></ul>
@@ -286,7 +286,7 @@ http.setClient(httpClientPolicy);
   &lt;/http-conf:conduit&gt;
 ...
 ]]></script>
-</div></div><p>The <code>http-conf:conduit</code> element has
a number of child elements that specify configuration information. They are described below.
See also Sun's <a shape="rect" class="external-link" href="http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html"
rel="nofollow">JSSE Guide</a> for more information on configuring SSL.</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Element</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>http-conf:client</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the HTTP connection properties
such as timeouts, keep-alive requests, content types, etc.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>http-conf:authorization</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sp
 ecifies the the parameters for configuring the basic authentication method that the endpoint
uses preemptively.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>http-conf:proxyAuthorization</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the parameters for configuring
basic authentication against outgoing HTTP proxy servers.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>http-conf:tlsClientParameters</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the parameters used to
configure SSL/TLS.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>http-conf:basicAuthSupplier</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the bean reference or class
name of the object that supplies the the basic authentication information used by the endpoint
both preemptively or in response to a 401 HTTP challenge.</p></td></tr><tr><td
colspan="
 1" rowspan="1" class="confluenceTd"><p><code>http-conf:trustDecider</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the bean reference or class
name of the object that checks the HTTP(S) URLConnection object in order to establish trust
for a connection with an HTTPS service provider before any information is transmitted.</p></td></tr></tbody></table></div><h3
id="ClientHTTPTransport(includingSSLsupport)-Theclientelement">The <code>client</code>
element</h3><p>The <code>http-conf:client</code> element is used to
configure the non-security properties of a client's HTTP connection. Its attributes, described
below, specify the connection's properties.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Attribute</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>ConnectionTimeout</code></p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the amount of time,
in milliseconds, that the client will attempt to establish a connection before it times out.
The default is 30000 (30 seconds). <br clear="none" class="atl-forced-newline"> 0 specifies
that the client will continue to attempt to open a connection indefinitely.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>ReceiveTimeout</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the amount of time, in
milliseconds, that the client will wait for a response before it times out. The default is
60000. <br clear="none" class="atl-forced-newline"> 0 specifies that the client will
wait indefinitely.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>AutoRedirect</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies if the client will automatically
follow a server issued redirection. The default is false.</p></td></tr><
 tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>MaxRetransmits</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the maximum number of times
a client will retransmit a request to satisfy a redirect. The default is -1 which specifies
that unlimited retransmissions are allowed.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AllowChunking</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether the client will
send requests using chunking. The default is true which specifies that the client will use
chunking when sending requests. <br clear="none" class="atl-forced-newline"> Chunking
cannot be used used if either of the following are true:</p><ul><li><code>http-conf:basicAuthSupplier</code>
is configured to provide credentials preemptively.</li><li><code>AutoRedirect</code>
is set to true. <br clear="none" class="atl-forced-newline"> In both cases the value
of <code>AllowChunking</code> is i
 gnored and chunking is disallowed. <br clear="none" class="atl-forced-newline"> See
note about chunking below.</li></ul></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>ChunkingThreshold</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the threshold at which
CXF will switch from non-chunking to chunking. By default, messages less than 4K are buffered
and sent non-chunked. Once this threshold is reached, the message is chunked.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>Accept</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies what media types the client
is prepared to handle. The value is used as the value of the HTTP <code>Accept</code>
property. The value of the attribute is specified using as multipurpose internet mail extensions
(MIME) types. See note about chunking below.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AcceptLanguage</code></p>
 </td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies what
language (for example, American English) the client prefers for the purposes of receiving
a response. The value is used as the value of the HTTP AcceptLanguage property. <br clear="none"
class="atl-forced-newline"> Language tags are regulated by the International Organization
for Standards (ISO) and are typically formed by combining a language code, determined by the
ISO-639 standard, and country code, determined by the ISO-3166 standard, separated by a hyphen.
For example, en-US represents American English.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AcceptEncoding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies what content encodings
the client is prepared to handle. Content encoding labels are regulated by the Internet Assigned
Numbers Authority (IANA). The value is used as the value of the HTTP <code>AcceptEncoding</code>
property.</p></td></tr><tr>
 <td colspan="1" rowspan="1" class="confluenceTd"><p><code>ContentType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the media type of the data
being sent in the body of a message. Media types are specified using multipurpose internet
mail extensions (MIME) types. The value is used as the value of the HTTP <code>ContentType</code>
property. The default is <code>text/xml</code>. <br clear="none" class="atl-forced-newline">
<strong>Tip:</strong> For web services, this should be set to <code>text/xml</code>.
If the client is sending HTML form data to a CGI script, this should be set to application/x-www-form-urlencoded.
If the HTTP POST request is bound to a fixed payload format (as opposed to SOAP), the content
type is typically set to application/octet-stream.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>Host</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the Internet host and port
number of the
  resource on which the request is being invoked. The value is used as the value of the HTTP
<code>Host</code> property. <br clear="none" class="atl-forced-newline">
<strong>Tip:</strong> This attribute is typically not required. It is only required
by certain DNS scenarios or application designs. For example, it indicates what host the client
prefers for clusters (that is, for virtual servers mapping to the same Internet protocol (IP)
address).</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Connection</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether a particular connection
is to be kept open or closed after each request/response dialog. There are two valid values:</p><ul><li><code>Keep-Alive</code>(default)
specifies that the client wants to keep its connection open after the initial request/response
sequence. If the server honors it, the connection is kept open until the consumer closes it.</li><li><code>close</code>
s
 pecifies that the connection to the server is closed after each request/response sequence.</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>CacheControl</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies directives about the behavior
that must be adhered to by caches involved in the chain comprising a request from a client
to a server.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Cookie</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies a static cookie to be sent
with all requests.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>BrowserType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies information about the browser
from which the request originates. In the HTTP specification from the World Wide Web consortium
(W3C) this is also known as the <em>user-agent</em>. Some servers optimize based
upon the client that is s
 ending the request.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>Referer</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the URL of the resource
that directed the consumer to make requests on a particular service. The value is used as
the value of the HTTP Referer property. <br clear="none" class="atl-forced-newline">
<strong>Note:</strong> This HTTP property is used when a request is the result
of a browser user clicking on a hyperlink rather than typing a URL. This can allow the server
to optimize processing based upon previous task flow, and to generate lists of back-links
to resources for the purposes of logging, optimized caching, tracing of obsolete or mistyped
links, and so on. However, it is typically not used in web services applications. <br clear="none"
class="atl-forced-newline"> <strong>Important:</strong> If the AutoRedirect
attribute is set to true and the request is redirected, any value specified in the Refe
 rerattribute is overridden. The value of the HTTP Referer property will be set to the URL
of the service who redirected the consumer's original request.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>DecoupledEndpoint</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the URL of a decoupled
endpoint for the receipt of responses over a separate server-&gt;client connection. <br
clear="none" class="atl-forced-newline"> <strong>Warning:</strong> You must
configure both the client and server to use WS-Addressing for the decoupled endpoint to work.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>ProxyServer</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the URL of the proxy server
through which requests are routed.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>ProxyServerPort</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifie
 s the port number of the proxy server through which requests are routed.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>ProxyServerType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the type of proxy server
used to route requests. Valid values are:</p><ul><li>HTTP(default)</li><li>SOCKS</li></ul></td></tr></tbody></table></div><h4
id="ClientHTTPTransport(includingSSLsupport)-ExampleusingtheClientElement">Example using
the <code>Client</code> Element</h4><p>The example below shows a the
configuration for an HTTP client that wants to keep its connection to the server open between
requests, will only retransmit requests once per invocation, and cannot use chunking streams.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>HTTP Consumer Endpoint Configuration</b></div><div
class="codeContent panelContent pdl">
+</div></div><p>The <code>http-conf:conduit</code> element has
a number of child elements that specify configuration information. They are described below.
See also Sun's <a shape="rect" class="external-link" href="http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html"
rel="nofollow">JSSE Guide</a> for more information on configuring SSL.</p><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Element</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>http-conf:client</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the HTTP connection properties
such as timeouts, keep-alive requests, content types, etc.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>http-conf:authorization</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Sp
 ecifies the the parameters for configuring the basic authentication method that the endpoint
uses preemptively.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>http-conf:proxyAuthorization</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the parameters for configuring
basic authentication against outgoing HTTP proxy servers.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>http-conf:tlsClientParameters</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the parameters used to
configure SSL/TLS.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>http-conf:basicAuthSupplier</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the bean reference or class
name of the object that supplies the the basic authentication information used by the endpoint
both preemptively or in response to a 401 HTTP challenge.</p></td></tr><tr><td
colspan="
 1" rowspan="1" class="confluenceTd"><p><code>http-conf:trustDecider</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the bean reference or class
name of the object that checks the HTTP(S) URLConnection object in order to establish trust
for a connection with an HTTPS service provider before any information is transmitted.</p></td></tr></tbody></table></div><h3
id="ClientHTTPTransport(includingSSLsupport)-Theclientelement">The <code>client</code>
element</h3><p>The <code>http-conf:client</code> element is used to
configure the non-security properties of a client's HTTP connection. Its attributes, described
below, specify the connection's properties.</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Attribute</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>ConnectionTimeout</code></p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the amount of time,
in milliseconds, that the client will attempt to establish a connection before it times out.
The default is 30000 (30 seconds). <br clear="none" class="atl-forced-newline"> 0 specifies
that the client will continue to attempt to open a connection indefinitely.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>ReceiveTimeout</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the amount of time, in
milliseconds, that the client will wait for a response before it times out. The default is
60000. <br clear="none" class="atl-forced-newline"> 0 specifies that the client will
wait indefinitely.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>AutoRedirect</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies if the client will automatically
follow a server issued redirection. The default is false.</p></td></tr><
 tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>MaxRetransmits</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the maximum number of times
a client will retransmit a request to satisfy a redirect. The default is -1 which specifies
that unlimited retransmissions are allowed.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AllowChunking</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether the client will
send requests using chunking. The default is true which specifies that the client will use
chunking when sending requests. <br clear="none" class="atl-forced-newline"> Chunking
cannot be used used if either of the following are true:</p><ul><li><code>http-conf:basicAuthSupplier</code>
is configured to provide credentials preemptively.</li><li><code>AutoRedirect</code>
is set to true. <br clear="none" class="atl-forced-newline"> In both cases the value
of <code>AllowChunking</code> is i
 gnored and chunking is disallowed. <br clear="none" class="atl-forced-newline"> See
note about chunking below.</li></ul></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>ChunkingThreshold</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the threshold at which
CXF will switch from non-chunking to chunking. By default, messages less than 4K are buffered
and sent non-chunked. Once this threshold is reached, the message is chunked.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>Accept</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies what media types the client
is prepared to handle. The value is used as the value of the HTTP <code>Accept</code>
property. The value of the attribute is specified using as multipurpose internet mail extensions
(MIME) types. See note about chunking below.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AcceptLanguage</code></p>
 </td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies what
language (for example, American English) the client prefers for the purposes of receiving
a response. The value is used as the value of the HTTP AcceptLanguage property. <br clear="none"
class="atl-forced-newline"> Language tags are regulated by the International Organization
for Standards (ISO) and are typically formed by combining a language code, determined by the
ISO-639 standard, and country code, determined by the ISO-3166 standard, separated by a hyphen.
For example, en-US represents American English.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>AcceptEncoding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies what content encodings
the client is prepared to handle. Content encoding labels are regulated by the Internet Assigned
Numbers Authority (IANA). The value is used as the value of the HTTP <code>AcceptEncoding</code>
property.</p></td></tr><tr>
 <td colspan="1" rowspan="1" class="confluenceTd"><p><code>ContentType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the media type of the data
being sent in the body of a message. Media types are specified using multipurpose internet
mail extensions (MIME) types. The value is used as the value of the HTTP <code>ContentType</code>
property. The default is <code>text/xml</code>. <br clear="none" class="atl-forced-newline">
<strong>Tip:</strong> For web services, this should be set to <code>text/xml</code>.
If the client is sending HTML form data to a CGI script, this should be set to application/x-www-form-urlencoded.
If the HTTP POST request is bound to a fixed payload format (as opposed to SOAP), the content
type is typically set to application/octet-stream.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>Host</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the Internet host and port
number of the
  resource on which the request is being invoked. The value is used as the value of the HTTP
<code>Host</code> property. <br clear="none" class="atl-forced-newline">
<strong>Tip:</strong> This attribute is typically not required. It is only required
by certain DNS scenarios or application designs. For example, it indicates what host the client
prefers for clusters (that is, for virtual servers mapping to the same Internet protocol (IP)
address).</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Connection</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies whether a particular connection
is to be kept open or closed after each request/response dialog. There are two valid values:</p><ul><li><code>Keep-Alive</code>(default)
specifies that the client wants to keep its connection open after the initial request/response
sequence. If the server honors it, the connection is kept open until the consumer closes it.</li><li><code>close</code>
s
 pecifies that the connection to the server is closed after each request/response sequence.</li></ul></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>CacheControl</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies directives about the behavior
that must be adhered to by caches involved in the chain comprising a request from a client
to a server.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>Cookie</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies a static cookie to be sent
with all requests.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>BrowserType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies information about the browser
from which the request originates. In the HTTP specification from the World Wide Web consortium
(W3C) this is also known as the <em>user-agent</em>. Some servers optimize based
upon the client that is s
 ending the request.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>Referer</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the URL of the resource
that directed the consumer to make requests on a particular service. The value is used as
the value of the HTTP Referer property. <br clear="none" class="atl-forced-newline">
<strong>Note:</strong> This HTTP property is used when a request is the result
of a browser user clicking on a hyperlink rather than typing a URL. This can allow the server
to optimize processing based upon previous task flow, and to generate lists of back-links
to resources for the purposes of logging, optimized caching, tracing of obsolete or mistyped
links, and so on. However, it is typically not used in web services applications. <br clear="none"
class="atl-forced-newline"> <strong>Important:</strong> If the AutoRedirect
attribute is set to true and the request is redirected, any value specified in the Refe
 rerattribute is overridden. The value of the HTTP Referer property will be set to the URL
of the service who redirected the consumer's original request.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>DecoupledEndpoint</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the URL of a decoupled
endpoint for the receipt of responses over a separate server-&gt;client connection. <br
clear="none" class="atl-forced-newline"> <strong>Warning:</strong> You must
configure both the client and server to use WS-Addressing for the decoupled endpoint to work.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>ProxyServer</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the URL of the proxy server
through which requests are routed.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>ProxyServerPort</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifie
 s the port number of the proxy server through which requests are routed.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">NonProxyHosts</td><td colspan="1"
rowspan="1" class="confluenceTd">Specifies a list of hosts that should be directly routed.
This value is a list of patterns separated by '|', where each pattern may start or end with
a '*' for wildcard matching.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>ProxyServerType</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the type of proxy server
used to route requests. Valid values are:</p><ul><li>HTTP(default)</li><li>SOCKS</li></ul></td></tr></tbody></table></div><h4
id="ClientHTTPTransport(includingSSLsupport)-ExampleusingtheClientElement">Example using
the <code>Client</code> Element</h4><p>The example below shows a the
configuration for an HTTP client that wants to keep its connection to the server open between
requests, will only retransmit requests once 
 per invocation, and cannot use chunking streams.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width:
1px;"><b>HTTP Consumer Endpoint Configuration</b></div><div class="codeContent
panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;beans
xmlns=&quot;http://www.springframework.org/schema/beans&quot;
        xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
        xmlns:http-conf=&quot;http://cxf.apache.org/transports/http/configuration&quot;



Mime
View raw message