You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2020/06/12 09:24:38 UTC
svn commit: r1878766 [9/46] - in /httpcomponents/site: ./
httpcomponents-client-5.0.x/ httpcomponents-client-5.0.x/httpclient5-cache/
httpcomponents-client-5.0.x/httpclient5-cache/apidocs/
httpcomponents-client-5.0.x/httpclient5-cache/apidocs/org/apach...
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/FluentRequests.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/FluentRequests.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/FluentRequests.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/FluentRequests.html Fri Jun 12 09:24:26 2020
@@ -52,26 +52,27 @@
<a class="jxr_linenumber" name="L44" href="#L44">44</a> <em class="jxr_comment">// Execute a GET with timeout settings and return response content as String.</em>
<a class="jxr_linenumber" name="L45" href="#L45">45</a> Request.get(<span class="jxr_string">"http://somehost/"</span>)
<a class="jxr_linenumber" name="L46" href="#L46">46</a> .connectTimeout(Timeout.ofSeconds(1))
-<a class="jxr_linenumber" name="L47" href="#L47">47</a> .execute().returnContent().asString();
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>
-<a class="jxr_linenumber" name="L49" href="#L49">49</a> <em class="jxr_comment">// Execute a POST with the 'expect-continue' handshake, using HTTP/1.1,</em>
-<a class="jxr_linenumber" name="L50" href="#L50">50</a> <em class="jxr_comment">// containing a request body as String and return response content as byte array.</em>
-<a class="jxr_linenumber" name="L51" href="#L51">51</a> Request.post(<span class="jxr_string">"http://somehost/do-stuff"</span>)
-<a class="jxr_linenumber" name="L52" href="#L52">52</a> .useExpectContinue()
-<a class="jxr_linenumber" name="L53" href="#L53">53</a> .version(HttpVersion.HTTP_1_1)
-<a class="jxr_linenumber" name="L54" href="#L54">54</a> .bodyString(<span class="jxr_string">"Important stuff"</span>, ContentType.DEFAULT_TEXT)
-<a class="jxr_linenumber" name="L55" href="#L55">55</a> .execute().returnContent().asBytes();
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>
-<a class="jxr_linenumber" name="L57" href="#L57">57</a> <em class="jxr_comment">// Execute a POST with a custom header through the proxy containing a request body</em>
-<a class="jxr_linenumber" name="L58" href="#L58">58</a> <em class="jxr_comment">// as an HTML form and save the result to the file</em>
-<a class="jxr_linenumber" name="L59" href="#L59">59</a> Request.post(<span class="jxr_string">"http://somehost/some-form"</span>)
-<a class="jxr_linenumber" name="L60" href="#L60">60</a> .addHeader(<span class="jxr_string">"X-Custom-header"</span>, <span class="jxr_string">"stuff"</span>)
-<a class="jxr_linenumber" name="L61" href="#L61">61</a> .viaProxy(<strong class="jxr_keyword">new</strong> HttpHost(<span class="jxr_string">"myproxy"</span>, 8080))
-<a class="jxr_linenumber" name="L62" href="#L62">62</a> .bodyForm(Form.form().add(<span class="jxr_string">"username"</span>, <span class="jxr_string">"vip"</span>).add(<span class="jxr_string">"password"</span>, <span class="jxr_string">"secret"</span>).build())
-<a class="jxr_linenumber" name="L63" href="#L63">63</a> .execute().saveContent(<strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"result.dump"</span>));
-<a class="jxr_linenumber" name="L64" href="#L64">64</a> }
-<a class="jxr_linenumber" name="L65" href="#L65">65</a>
-<a class="jxr_linenumber" name="L66" href="#L66">66</a> }
+<a class="jxr_linenumber" name="L47" href="#L47">47</a> .responseTimeout(Timeout.ofSeconds(5))
+<a class="jxr_linenumber" name="L48" href="#L48">48</a> .execute().returnContent().asString();
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>
+<a class="jxr_linenumber" name="L50" href="#L50">50</a> <em class="jxr_comment">// Execute a POST with the 'expect-continue' handshake, using HTTP/1.1,</em>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a> <em class="jxr_comment">// containing a request body as String and return response content as byte array.</em>
+<a class="jxr_linenumber" name="L52" href="#L52">52</a> Request.post(<span class="jxr_string">"http://somehost/do-stuff"</span>)
+<a class="jxr_linenumber" name="L53" href="#L53">53</a> .useExpectContinue()
+<a class="jxr_linenumber" name="L54" href="#L54">54</a> .version(HttpVersion.HTTP_1_1)
+<a class="jxr_linenumber" name="L55" href="#L55">55</a> .bodyString(<span class="jxr_string">"Important stuff"</span>, ContentType.DEFAULT_TEXT)
+<a class="jxr_linenumber" name="L56" href="#L56">56</a> .execute().returnContent().asBytes();
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>
+<a class="jxr_linenumber" name="L58" href="#L58">58</a> <em class="jxr_comment">// Execute a POST with a custom header through the proxy containing a request body</em>
+<a class="jxr_linenumber" name="L59" href="#L59">59</a> <em class="jxr_comment">// as an HTML form and save the result to the file</em>
+<a class="jxr_linenumber" name="L60" href="#L60">60</a> Request.post(<span class="jxr_string">"http://somehost/some-form"</span>)
+<a class="jxr_linenumber" name="L61" href="#L61">61</a> .addHeader(<span class="jxr_string">"X-Custom-header"</span>, <span class="jxr_string">"stuff"</span>)
+<a class="jxr_linenumber" name="L62" href="#L62">62</a> .viaProxy(<strong class="jxr_keyword">new</strong> HttpHost(<span class="jxr_string">"myproxy"</span>, 8080))
+<a class="jxr_linenumber" name="L63" href="#L63">63</a> .bodyForm(Form.form().add(<span class="jxr_string">"username"</span>, <span class="jxr_string">"vip"</span>).add(<span class="jxr_string">"password"</span>, <span class="jxr_string">"secret"</span>).build())
+<a class="jxr_linenumber" name="L64" href="#L64">64</a> .execute().saveContent(<strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"result.dump"</span>));
+<a class="jxr_linenumber" name="L65" href="#L65">65</a> }
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>
+<a class="jxr_linenumber" name="L67" href="#L67">67</a> }
</pre>
<hr/>
<div id="footer">Copyright © 2011–2020 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-frame.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-frame.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-frame.html Fri Jun 12 09:24:26 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache HttpClient Fluent 5.0 Reference Package org.apache.hc.client5.http.examples.fluent</title>
+ <title>Apache HttpClient Fluent 5.0.1 Reference Package org.apache.hc.client5.http.examples.fluent</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-summary.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-summary.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/examples/fluent/package-summary.html Fri Jun 12 09:24:26 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache HttpClient Fluent 5.0 Reference Package org.apache.hc.client5.http.examples.fluent</title>
+ <title>Apache HttpClient Fluent 5.0.1 Reference Package org.apache.hc.client5.http.examples.fluent</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0.1 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -101,7 +101,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0.1 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-frame.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-frame.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-frame.html Fri Jun 12 09:24:26 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache HttpClient Fluent 5.0 Reference Package org.apache.hc.client5.http.fluent</title>
+ <title>Apache HttpClient Fluent 5.0.1 Reference Package org.apache.hc.client5.http.fluent</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-summary.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-summary.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/org/apache/hc/client5/http/fluent/package-summary.html Fri Jun 12 09:24:26 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache HttpClient Fluent 5.0 Reference Package org.apache.hc.client5.http.fluent</title>
+ <title>Apache HttpClient Fluent 5.0.1 Reference Package org.apache.hc.client5.http.fluent</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0.1 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -81,7 +81,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0.1 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-frame.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-frame.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-frame.html Fri Jun 12 09:24:26 2020
@@ -4,11 +4,11 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache HttpClient Fluent 5.0 Reference</title>
+ <title>Apache HttpClient Fluent 5.0.1 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
- <h1 title="Apache HttpClient Fluent 5.0 Reference" class="bar"><strong>Apache HttpClient Fluent 5.0 Reference</strong></h1>
+ <h1 title="Apache HttpClient Fluent 5.0.1 Reference" class="bar"><strong>Apache HttpClient Fluent 5.0.1 Reference</strong></h1>
<div class="indexHeader"><span><a href="allclasses-frame.html" target="packageFrame">All Classes</a></span></div>
<div class="indexContainer">
<h2 title="Packages">Packages</h2>
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-summary.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-summary.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref-test/overview-summary.html Fri Jun 12 09:24:26 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk7) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache HttpClient Fluent 5.0 Reference</title>
+ <title>Apache HttpClient Fluent 5.0.1 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -22,7 +22,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0.1 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -37,7 +37,7 @@
</div>
<div class="header">
- <h1 class="title">Apache HttpClient Fluent 5.0 Reference</h1>
+ <h1 class="title">Apache HttpClient Fluent 5.0.1 Reference</h1>
</div>
<div class="contentContainer">
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages">
@@ -76,7 +76,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache HttpClient Fluent 5.0.1 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref/index.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref/index.html?rev=1878766&r1=1878765&r2=1878766&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref/index.html (original)
+++ httpcomponents/site/httpcomponents-client-5.0.x/httpclient5-fluent/xref/index.html Fri Jun 12 09:24:26 2020
@@ -4,7 +4,7 @@
<!-- this is a JXR report set (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache HttpClient Fluent 5.0 Reference</title>
+ <title>Apache HttpClient Fluent 5.0.1 Reference</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")