cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r953887 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-client-api.html
Date Fri, 05 Jun 2015 09:47:01 GMT
Author: buildbot
Date: Fri Jun  5 09:47:01 2015
New Revision: 953887

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-client-api.html

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

Modified: websites/production/cxf/content/docs/jax-rs-client-api.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-client-api.html (original)
+++ websites/production/cxf/content/docs/jax-rs-client-api.html Fri Jun  5 09:47:01 2015
@@ -118,11 +118,11 @@ Apache CXF -- JAX-RS Client API
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;<span
class="inline-first-p" style="font-size:2em;font-weight:bold">JAX-RS : Client API</span>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1430923623390 {padding: 0px;}
-div.rbtoc1430923623390 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1430923623390 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1433497618055 {padding: 0px;}
+div.rbtoc1433497618055 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1433497618055 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1430923623390">
+/*]]>*/</style></p><div class="toc-macro rbtoc1433497618055">
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSClientAPI-MavenDependency">Maven
Dependency</a></li><li><a shape="rect" href="#JAX-RSClientAPI-JAX-RS2.0ClientAPI">JAX-RS
2.0 Client API</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSClientAPI-JAX-RS2.0andCXFspecificAPI">JAX-RS
2.0 and CXF specific API</a></li></ul>
 </li><li><a shape="rect" href="#JAX-RSClientAPI-Proxy-basedAPI">Proxy-based
API</a>
@@ -338,6 +338,13 @@ HTTPConduit conduit1 = (HTTPConduit)conf
 WebClient webclient = WebClient.create(&quot;http://books&quot;);
 HTTPConduit conduit2 = (HTTPConduit)WebClient.getConfig(webclient).getConduit();
 ]]></script>
+</div></div><p>When working with JAX-RS 2.0 Client API one can set some
low-level HTTP properties via Configurable interface:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[//http.connection.timeout
+//http.receive.timeout
+//http.proxy.server.uri
+//http.proxy.server.port
+Client client = ClientBuilder.newClient();
+client.property(&quot;http.receive.timeout&quot;, 1000000); ]]></script>
 </div></div><h1 id="JAX-RSClientAPI-CreatingclientsprogrammaticallywithnoSpringdependencies">Creating
clients programmatically with no Spring dependencies</h1><p>Example :</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[JAXRSClientFactoryBean
sf = new JAXRSClientFactoryBean();
 sf.setResourceClass(CustomerService.class);



Mime
View raw message