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 2022/11/06 19:02:25 UTC
svn commit: r1905103 [5/9] - in /httpcomponents/site: ./ httpcomponents-asyncclient-4.1.x/ httpcomponents-client-4.5.x/ httpcomponents-client-5.1.x/ httpcomponents-client-5.1.x/migration-guide/ httpcomponents-client-5.2.x/ httpcomponents-core-4.4.x/ ht...
Modified: httpcomponents/site/httpcomponents-client-5.1.x/migration-guide/preparation.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.1.x/migration-guide/preparation.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.1.x/migration-guide/preparation.html (original)
+++ httpcomponents/site/httpcomponents-client-5.1.x/migration-guide/preparation.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.1.x/migration-guide/preparation.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.1.x/migration-guide/preparation.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – Migration from Apache HttpClient 4.x APIs</title>
<link rel="stylesheet" href="../../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">Migration from Apache HttpClient 4.x APIs <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.1.x/migration-guide/preparation.md"><img src="../../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -69,8 +69,7 @@
<li><a href="../../httpcomponents-client-5.1.x/related-projects.html" title="Related"><span class="none"></span>Related</a></li>
<li><a href="../../httpcomponents-client-5.1.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
- <li><a href="../../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -101,7 +100,9 @@
</header>
<main id="bodyColumn" class="span10" >
<h1>Migration from Apache HttpClient 4.x APIs</h1>
-<p>It is strongly encouraged to follow the best practices and common use patterns in programming with Apache HttpClient 4.x. They remain largely unchanged between 4.x and 5.x release series. Correctly written code will be easier to port to 5.0 APIs and from the classic I/O model to the async I/O model.</p><section>
+<p>It is strongly encouraged to follow the best practices and common use patterns in programming with Apache HttpClient
+4.x. They remain largely unchanged between 4.x and 5.x release series. Correctly written code will be easier to port to
+5.0 APIs and from the classic I/O model to the async I/O model.</p><section>
<h2><a name="Preparation_steps"></a>Preparation steps</h2>
<ol style="list-style-type: decimal">
@@ -111,11 +112,13 @@
</li>
<li>
-<p>HttpClient uses tries to use sensible defaults but it is generally recommended to adjust SSL/TLS parameters and timeout settings for the specific application context.</p>
+<p>HttpClient uses tries to use sensible defaults but it is generally recommended to adjust SSL/TLS parameters and
+timeout settings for the specific application context.</p>
</li>
<li>
-<p>Explicitly specify TLSv1.2 in order to disable older, less secure versions of the SSL/TLS protocol. Please note HttpClient 4.5 disables all SSL versions by default.</p>
+<p>Explicitly specify TLSv1.2 in order to disable older, less secure versions of the SSL/TLS protocol. Please note
+HttpClient 4.5 disables all SSL versions by default.</p>
</li>
<li>
@@ -131,10 +134,11 @@
</li>
<li>
-<p>IMPORTANT: Always re-use <code>CloseableHttpClient</code> instances. They are expensive to create, but they are also fully thread safe, so multiple threads can use the same instance of <code>CloseableHttpClient</code> to execute multiple requests concurrently taking full advantage of persistent connection re-use and connection pooling.</p>
+<p>IMPORTANT: Always re-use <code>CloseableHttpClient</code> instances. They are expensive to create, but they are also fully
+thread safe, so multiple threads can use the same instance of <code>CloseableHttpClient</code> to execute multiple requests
+concurrently taking full advantage of persistent connection re-use and connection pooling.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">CloseableHttpClient client = HttpClients.custom()
+<div class="source"><pre class="prettyprint"><code class="language-java">CloseableHttpClient client = HttpClients.custom()
.setSSLSocketFactory(new SSLConnectionSocketFactory(
SSLContexts.createSystemDefault(),
new String[] { "TLSv1.2" },
@@ -150,23 +154,24 @@
.setCookieSpec(CookieSpecs.STANDARD_STRICT)
.build())
.build();
-</pre></div></div>
+</code></pre></div>
</li>
<li>
-<p>Cookie store and credentials providers can be shared by multiple execution threads. They can still be shared by multiple message exchnages without being set at <code>CloseableHttpClient</code> construction time.</p>
+<p>Cookie store and credentials providers can be shared by multiple execution threads. They can still be shared by
+multiple message exchnages without being set at
+<code>CloseableHttpClient</code> construction time.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">CookieStore cookieStore = new BasicCookieStore();
+<div class="source"><pre class="prettyprint"><code class="language-java">CookieStore cookieStore = new BasicCookieStore();
CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
-</pre></div></div>
+</code></pre></div>
</li>
<li>
-<p>While <code>CloseableHttpClient</code> should have the default configuration applicable to all all messages exchanges one can use <code>HttpContext</code> to customize individual request execution parameters.</p>
+<p>While <code>CloseableHttpClient</code> should have the default configuration applicable to all all messages exchanges one can
+use <code>HttpContext</code> to customize individual request execution parameters.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">HttpClientContext clientContext = HttpClientContext.create();
+<div class="source"><pre class="prettyprint"><code class="language-java">HttpClientContext clientContext = HttpClientContext.create();
clientContext.setCookieStore(cookieStore);
clientContext.setCredentialsProvider(credentialsProvider);
clientContext.setRequestConfig(RequestConfig.custom()
@@ -174,14 +179,13 @@ clientContext.setRequestConfig(RequestCo
.setSocketTimeout(10000)
.setCookieSpec(CookieSpecs.STANDARD)
.build());
-</pre></div></div>
+</code></pre></div>
</li>
<li>
<p>Always set content type and content encoding on the entity and let HttpClient generate request headers automatically.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">JsonFactory jsonFactory = new JsonFactory();
+<div class="source"><pre class="prettyprint"><code class="language-java">JsonFactory jsonFactory = new JsonFactory();
ObjectMapper objectMapper = new ObjectMapper(jsonFactory);
HttpPost httpPost = new HttpPost("https://httpbin.org/post");
@@ -196,18 +200,18 @@ EntityTemplate requestEntity = new Entit
});
requestEntity.setContentType(ContentType.APPLICATION_JSON.toString());
httpPost.setEntity(requestEntity);
-</pre></div></div>
+</code></pre></div>
</li>
<li>
-<p>Consume response content directly from the content stream and convert it to a higher level object without converting it to an intermediate string or byte array.</p>
+<p>Consume response content directly from the content stream and convert it to a higher level object without converting
+it to an intermediate string or byte array.</p>
</li>
<li>
<p>Favor HTTP response handlers for response processing, thus making connection release automatic.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">JsonNode responseData = client.execute(httpPost, response -> {
+<div class="source"><pre class="prettyprint"><code class="language-java">JsonNode responseData = client.execute(httpPost, response -> {
if (response.getStatusLine().getStatusCode() >= 300) {
throw new ClientProtocolException(Objects.toString(response.getStatusLine()));
}
@@ -220,13 +224,14 @@ httpPost.setEntity(requestEntity);
}
});
System.out.println(responseData);
-</pre></div></div>
+</code></pre></div>
</li>
-<li><code>CloseableHttpClient</code> instances should be closed when no longer needed or about to go out of score.
+<li>
+
+<p><code>CloseableHttpClient</code> instances should be closed when no longer needed or about to go out of score.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">client.close();
-</pre></div></div>
+<div class="source"><pre class="prettyprint"><code class="language-java">client.close();
+</code></pre></div>
</li>
</ol></section>
</main>
Modified: httpcomponents/site/httpcomponents-client-5.1.x/quickstart.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.1.x/quickstart.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.1.x/quickstart.html (original)
+++ httpcomponents/site/httpcomponents-client-5.1.x/quickstart.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.1.x/quickstart.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.1.x/quickstart.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpClient Quick Start</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpClient Quick Start <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.1.x/quickstart.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -62,8 +62,7 @@
<li><a href="../httpcomponents-client-5.1.x/related-projects.html" title="Related"><span class="none"></span>Related</a></li>
<li><a href="../httpcomponents-client-5.1.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -116,7 +115,8 @@
<li>
-<p>Download ‘Binary’ package of the latest HttpClient 5.1 release or configure dependency on <code>HttpClient</code> and <code>Fluent HC</code> modules using a dependency manager of your choice as described <a href="download.html">here</a>.</p>
+<p>Download ‘Binary’ package of the latest HttpClient 5.1 release or configure dependency on <code>HttpClient</code> and <code>Fluent HC</code>
+modules using a dependency manager of your choice as described <a href="download.html">here</a>.</p>
</li>
<li>
@@ -126,8 +126,7 @@
<p>The below code fragment illustrates the execution of HTTP GET and POST requests using the HttpClient native API.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">try (CloseableHttpClient httpclient = HttpClients.createDefault()) {
+<div class="source"><pre class="prettyprint"><code>try (CloseableHttpClient httpclient = HttpClients.createDefault()) {
HttpGet httpGet = new HttpGet("http://httpbin.org/get");
// The underlying HTTP connection is still held by the response object
// to allow the response content to be streamed directly from the network socket.
@@ -158,16 +157,15 @@
EntityUtils.consume(entity2);
}
}
-</pre></div></div>
+</code></pre></div>
+<p>Source can be found here
+<a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/QuickStart.java">here</a></p>
</li>
-</ul>
-<p>Source can be found here <a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/QuickStart.java">here</a></p>
-<ul>
+<li>
-<li>The same requests can be executed using a simpler, albeit less flexible, fluent API.
+<p>The same requests can be executed using a simpler, albeit less flexible, fluent API.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">// The fluent API relieves the user from having to deal with manual deallocation of system
+<div class="source"><pre class="prettyprint"><code>// The fluent API relieves the user from having to deal with manual deallocation of system
// resources at the cost of having to buffer response content in memory in some cases.
Request.Get("http://targethost/homepage")
@@ -175,16 +173,15 @@ Request.Get("http://targethost/home
Request.Post("http://targethost/login")
.bodyForm(Form.form().add("username", "vip").add("password", "secret").build())
.execute().returnContent();
-</pre></div></div>
+</code></pre></div>
+<p>Source can be found here
+<a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/fluent/FluentQuickStart.java">here</a></p>
</li>
-</ul>
-<p>Source can be found here <a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/fluent/FluentQuickStart.java">here</a></p>
-<ul>
+<li>
-<li>The below code fragment illustrates the execution of HTTP requests using HttpClient async API.
+<p>The below code fragment illustrates the execution of HTTP requests using HttpClient async API.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">try (CloseableHttpAsyncClient httpclient = HttpAsyncClients.createDefault()) {
+<div class="source"><pre class="prettyprint"><code>try (CloseableHttpAsyncClient httpclient = HttpAsyncClients.createDefault()) {
// Start the client
httpclient.start();
@@ -278,10 +275,11 @@ Request.Post("http://targethost/log
latch2.await();
}
-</pre></div></div>
+</code></pre></div>
+<p>Source can be found here
+<a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/AsyncQuickStart.java">here</a></p>
</li>
</ul>
-<p>Source can be found here <a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/AsyncQuickStart.java">here</a></p>
</main>
</div>
</div>
Modified: httpcomponents/site/httpcomponents-client-5.1.x/related-projects.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.1.x/related-projects.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.1.x/related-projects.html (original)
+++ httpcomponents/site/httpcomponents-client-5.1.x/related-projects.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.1.x/related-projects.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.1.x/related-projects.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – Related projects</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">Related projects <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.1.x/related-projects.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -72,8 +72,7 @@
<li class="active"><a href="#"><span class="none"></span>Related</a></li>
<li><a href="../httpcomponents-client-5.1.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -123,10 +122,13 @@
-->
<h1>Related projects</h1><section>
<h2><a name="Asynchronous_JSON_message_processors"></a>Asynchronous JSON message processors</h2>
-<p><a class="externalLink" href="https://ok2c.github.io/httpcomponents-jackson/">Asynchronous JSON message processors</a> library is a companion project for HttpClient 5.0 developed outside the Apache Software Foundation.</p>
-<p>The library provides a number of asynchronous message consumers and producers for efficient, reactive processing of HTTP messages with enclosed JSON content using <a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson JSON processor</a>.</p></section><section>
+<p><a class="externalLink" href="https://ok2c.github.io/httpcomponents-jackson/">Asynchronous JSON message processors</a> library is a companion project
+for HttpClient 5.0 developed outside the Apache Software Foundation.</p>
+<p>The library provides a number of asynchronous message consumers and producers for efficient, reactive processing of HTTP
+messages with enclosed JSON content using <a class="externalLink" href="https://github.com/FasterXML/jackson">Jackson JSON processor</a>.</p></section><section>
<h2><a name="Android_extensions"></a>Android extensions</h2>
-<p><a class="externalLink" href="https://ok2c.github.io/httpclient-android-ext/">Android extensions for Apache HttpClient 5.x</a> is a third party library that provides extra functionality simplifying application of Apache HttpClient on Google Android platform.</p></section>
+<p><a class="externalLink" href="https://ok2c.github.io/httpclient-android-ext/">Android extensions for Apache HttpClient 5.x</a> is a third party library
+that provides extra functionality simplifying application of Apache HttpClient on Google Android platform.</p></section>
</main>
</div>
</div>
Modified: httpcomponents/site/httpcomponents-client-5.2.x/download.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.2.x/download.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.2.x/download.html (original)
+++ httpcomponents/site/httpcomponents-client-5.2.x/download.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.2.x/download.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.2.x/download.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpClient Downloads</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpClient Downloads <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.2.x/download.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -61,8 +61,7 @@
<li class="active"><a href="#"><span class="none"></span>Download</a></li>
</ul></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -112,9 +111,13 @@
-->
<h1>HttpClient Downloads</h1>
<p>The latest release available for download:</p>
-<p><a class="externalLink" href="http://hc.apache.org/downloads.cgi">Release packages</a> - <a class="externalLink" href="http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-5.2.x.txt">Release Notes</a> - <a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></p><section>
+<p><a class="externalLink" href="http://hc.apache.org/downloads.cgi">Release packages</a> -
+<a class="externalLink" href="http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-5.2.x.txt">Release Notes</a> -
+<a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></p><section>
<h2><a name="Dependency_management"></a>Dependency management</h2>
-<p>If you are using a dependency manager for your project such as <a class="externalLink" href="https://maven.apache.org">Apache Maven</a>, <a class="externalLink" href="https://gradle.org/">Gradle</a> or <a class="externalLink" href="https://ant.apache.org/projects/ivy.html">Apache Ivy</a>, you can create a dependency on HttpClient modules by using this information:</p>
+<p>If you are using a dependency manager for your project such as <a class="externalLink" href="https://maven.apache.org">Apache Maven</a>,
+<a class="externalLink" href="https://gradle.org/">Gradle</a> or <a class="externalLink" href="https://ant.apache.org/projects/ivy.html">Apache Ivy</a>, you can create a dependency on
+HttpClient modules by using this information:</p>
<ul>
<li><a class="externalLink" href="https://search.maven.org/artifact/org.apache.httpcomponents.client5/httpclient5">HttpClient</a></li>
Modified: httpcomponents/site/httpcomponents-client-5.2.x/examples-async.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.2.x/examples-async.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.2.x/examples-async.html (original)
+++ httpcomponents/site/httpcomponents-client-5.2.x/examples-async.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.2.x/examples-async.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.2.x/examples-async.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpClient Examples (Async)</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpClient Examples (Async) <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.2.x/examples-async.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -61,8 +61,7 @@
<li><a href="../httpcomponents-client-5.2.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -113,59 +112,70 @@
<h1>HttpClient Examples (Async)</h1>
<ul>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java">Asynchronous HTTP exchange</a></li>
-</ul>
-<p>This example demonstrates a basic asynchronous HTTP request / response exchange. Response content is buffered in memory for simplicity.</p>
-<ul>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchangeStreaming.java">Asynchronous HTTP exchange with content streaming</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java">Asynchronous HTTP exchange</a></p>
+<p>This example demonstrates a basic asynchronous HTTP request / response exchange. Response content is buffered in
+memory for simplicity.</p>
+</li>
+<li>
+
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchangeStreaming.java">Asynchronous HTTP exchange with content streaming</a></p>
<p>This example demonstrates an asynchronous HTTP request / response exchange with a full content streaming.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp1Pipelining.java">Pipelined HTTP/1.1 exchanges</a></li>
-</ul>
-<p>This example demonstrates a pipelined execution of multiple HTTP/1.1 request / response exchanges. Response content is buffered in memory for simplicity.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp1Pipelining.java">Pipelined HTTP/1.1 exchanges</a></p>
+<p>This example demonstrates a pipelined execution of multiple HTTP/1.1 request / response exchanges. Response content is
+buffered in memory for simplicity.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp2Multiplexing.java">Multiplexed HTTP/2 exchanges</a></li>
-</ul>
-<p>This example demonstrates a multiplexed execution of multiple HTTP/2 request / response exchanges. Response content is buffered in memory for simplicity.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp2Multiplexing.java">Multiplexed HTTP/2 exchanges</a></p>
+<p>This example demonstrates a multiplexed execution of multiple HTTP/2 request / response exchanges. Response content is
+buffered in memory for simplicity.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientInterceptors.java">Request execution interceptors</a></li>
-</ul>
-<p>This example demonstrates how to insert custom request interceptor and an execution interceptor to the request execution chain.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientInterceptors.java">Request execution interceptors</a></p>
+<p>This example demonstrates how to insert custom request interceptor and an execution interceptor to the request
+execution chain.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientMessageTrailers.java">Message trailers</a></li>
-</ul>
-<p>This example demonstrates how to use a custom execution interceptor to add trailers to all outgoing request enclosing an entity..</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientMessageTrailers.java">Message trailers</a></p>
+<p>This example demonstrates how to use a custom execution interceptor to add trailers to all outgoing request enclosing
+an entity..</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp2ServerPush.java">Multiplexed HTTP/2 exchanges</a></li>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp2ServerPush.java">Multiplexed HTTP/2 exchanges</a></p>
+</li>
</ul>
<p>This example demonstrates handling of HTTP/2 message exchanges pushed by the server.</p>
<ul>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientAuthentication.java">Client authentication</a></li>
-</ul>
+<li>
+
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientAuthentication.java">Client authentication</a></p>
<p>This example demonstrates execution of an HTTP request against a target site that requires user authentication.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientCustomSSL.java">Custom SSL context</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientCustomSSL.java">Custom SSL context</a></p>
<p>This example demonstrates how to create secure connections with a custom SSL context.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionConfig.java">Connection / TLS configuation per route / host</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionConfig.java">Connection / TLS configuation per route / host</a></p>
<p>This example demonstrates how to use connection configuration on a per-route or a per-host basis.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionEviction.java">Connection eviction</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionEviction.java">Connection eviction</a></p>
<p>This example demonstrates how to evict expired and idle connections from the connection pool.</p>
+</li>
+</ul>
</main>
</div>
</div>
Modified: httpcomponents/site/httpcomponents-client-5.2.x/examples-reactive.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.2.x/examples-reactive.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.2.x/examples-reactive.html (original)
+++ httpcomponents/site/httpcomponents-client-5.2.x/examples-reactive.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.2.x/examples-reactive.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.2.x/examples-reactive.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpClient Examples (Async)</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpClient Examples (Async) <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.2.x/examples-reactive.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -61,8 +61,7 @@
<li><a href="../httpcomponents-client-5.2.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -113,9 +112,12 @@
<h1>HttpClient Examples (Async)</h1>
<ul>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java">HTTP exchange with Reactive Streams</a></li>
-</ul>
+<li>
+
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java">HTTP exchange with Reactive Streams</a></p>
<p>This example demonstrates a reactive, full-duplex HTTP/1.1 message exchange using RxJava.</p>
+</li>
+</ul>
</main>
</div>
</div>
Modified: httpcomponents/site/httpcomponents-client-5.2.x/examples.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.2.x/examples.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.2.x/examples.html (original)
+++ httpcomponents/site/httpcomponents-client-5.2.x/examples.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.2.x/examples.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.2.x/examples.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpClient Examples (Classic)</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpClient Examples (Classic) <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.2.x/examples.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -61,8 +61,7 @@
<li><a href="../httpcomponents-client-5.2.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -113,94 +112,110 @@
<h1>HttpClient Examples (Classic)</h1>
<ul>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientWithResponseHandler.java">Response handling</a></li>
-</ul>
-<p>This example demonstrates how to process HTTP responses using a response handler. This is the recommended way of executing HTTP requests and processing HTTP responses. This approach enables the caller to concentrate on the process of digesting HTTP responses and to delegate the task of system resource deallocation to HttpClient. The use of an HTTP response handler guarantees that the underlying HTTP connection will be released back to the connection manager automatically in all cases.</p>
-<ul>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionRelease.java">Manual connection release</a></li>
-</ul>
-<p>This example demonstrates how to ensure the release of the underlying HTTP connection back to the connection manager in case of a manual processing of HTTP responses.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientWithResponseHandler.java">Response handling</a></p>
+<p>This example demonstrates how to process HTTP responses using a response handler. This is the recommended way of
+executing HTTP requests and processing HTTP responses. This approach enables the caller to concentrate on the process
+of digesting HTTP responses and to delegate the task of system resource deallocation to HttpClient. The use of an HTTP
+response handler guarantees that the underlying HTTP connection will be released back to the connection manager
+automatically in all cases.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConfiguration.java">HttpClient configuration</a></li>
-</ul>
-<p>This example demonstrates how to customize and configure the most common aspects of HTTP request execution and connection management.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionRelease.java">Manual connection release</a></p>
+<p>This example demonstrates how to ensure the release of the underlying HTTP connection back to the connection manager
+in case of a manual processing of HTTP responses.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientInterceptors.java">Request execution interceptors</a></li>
-</ul>
-<p>This example demonstrates how to insert custom request interceptor and an execution interceptor to the request execution chain.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConfiguration.java">HttpClient configuration</a></p>
+<p>This example demonstrates how to customize and configure the most common aspects of HTTP request execution and
+connection management.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAbortMethod.java">Abort method</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientInterceptors.java">Request execution interceptors</a></p>
+<p>This example demonstrates how to insert custom request interceptor and an execution interceptor to the request
+execution chain.</p>
+</li>
+<li>
+
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAbortMethod.java">Abort method</a></p>
<p>This example demonstrates how to abort an HTTP request before its normal completion.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAuthentication.java">Client authentication</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAuthentication.java">Client authentication</a></p>
<p>This example uses HttpClient to execute an HTTP request against a target site that requires user authentication.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientExecuteProxy.java">Request via a proxy</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientExecuteProxy.java">Request via a proxy</a></p>
<p>This example demonstrates how to send an HTTP request via a proxy.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientProxyAuthentication.java">Proxy authentication</a></li>
-</ul>
-<p>A simple example showing execution of an HTTP request over a secure connection tunneled through an authenticating proxy.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientProxyAuthentication.java">Proxy authentication</a></p>
+<p>A simple example showing execution of an HTTP request over a secure connection tunneled through an authenticating
+proxy.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientChunkEncodedPost.java">Chunk encoded POST</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientChunkEncodedPost.java">Chunk encoded POST</a></p>
<p>This example shows how to stream out a request entity using chunk encoding.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomContext.java">Custom execution context</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomContext.java">Custom execution context</a></p>
<p>This example demonstrates the use of a local HTTP context populated custom attributes.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientFormLogin.java">Form based logon</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientFormLogin.java">Form based logon</a></p>
<p>This example demonstrates how HttpClient can be used to perform form-based logon.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java">Threaded request execution</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java">Threaded request execution</a></p>
<p>An example that executes HTTP requests from multiple worker threads.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomSSL.java">Custom SSL context</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomSSL.java">Custom SSL context</a></p>
<p>This example demonstrates how to create secure connections with a custom SSL context.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionConfig.java">Connection / TLS configuation per route / host</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionConfig.java">Connection / TLS configuation per route / host</a></p>
<p>This example demonstrates how to use connection configuration on a per-route or a per-host basis.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveBasicAuthentication.java">Preemptive BASIC authentication</a></li>
-</ul>
-<p>This example shows how HttpClient can be customized to authenticate preemptively using BASIC scheme. Generally, preemptive authentication can be considered less secure than a response to an authentication challenge and therefore discouraged.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveBasicAuthentication.java">Preemptive BASIC authentication</a></p>
+<p>This example shows how HttpClient can be customized to authenticate preemptively using BASIC scheme. Generally,
+preemptive authentication can be considered less secure than a response to an authentication challenge and therefore
+discouraged.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveDigestAuthentication.java">Preemptive DIGEST authentication</a></li>
-</ul>
-<p>This example shows how HttpClient can be customized to authenticate preemptively using DIGEST scheme. Generally, preemptive authentication can be considered less secure than a response to an authentication challenge and therefore discouraged.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveDigestAuthentication.java">Preemptive DIGEST authentication</a></p>
+<p>This example shows how HttpClient can be customized to authenticate preemptively using DIGEST scheme. Generally,
+preemptive authentication can be considered less secure than a response to an authentication challenge and therefore
+discouraged.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ProxyTunnelDemo.java">Proxy tunnel</a></li>
-</ul>
-<p>This example shows how to use ProxyClient in order to establish a tunnel through an HTTP proxy for an arbitrary protocol.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ProxyTunnelDemo.java">Proxy tunnel</a></p>
+<p>This example shows how to use ProxyClient in order to establish a tunnel through an HTTP proxy for an arbitrary
+protocol.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultipartFormPost.java">Multipart encoded request entity</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultipartFormPost.java">Multipart encoded request entity</a></p>
<p>This example shows how to execute requests enclosing a multipart encoded entity.</p>
+</li>
+</ul>
</main>
</div>
</div>
Modified: httpcomponents/site/httpcomponents-client-5.2.x/index.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.2.x/index.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.2.x/index.html (original)
+++ httpcomponents/site/httpcomponents-client-5.2.x/index.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.2.x/index.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.2.x/index.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpClient Overview</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpClient Overview <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.2.x/index.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -61,8 +61,7 @@
<li><a href="../httpcomponents-client-5.2.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -111,14 +110,26 @@
under the License.
-->
<h1>HttpClient Overview</h1>
-<p>The Hyper-Text Transfer Protocol (HTTP) is perhaps the most significant protocol used on the Internet today. Web services, network-enabled appliances and the growth of network computing continue to expand the role of the HTTP protocol beyond user-driven web browsers, while increasing the number of applications that require HTTP support.</p>
-<p>Although the java.net package provides basic functionality for accessing resources via HTTP, it doesn’t provide the full flexibility or functionality needed by many applications. HttpClient seeks to fill this void by providing an efficient, up-to-date, and feature-rich package implementing the client side of the most recent HTTP standards and recommendations.</p>
-<p>Designed for extension while providing robust support for the base HTTP protocol, HttpClient may be of interest to anyone building HTTP-aware client applications such as web browsers, web service clients, or systems that leverage or extend the HTTP protocol for distributed communication.</p><section>
+<p>The Hyper-Text Transfer Protocol (HTTP) is perhaps the most significant protocol used on the Internet today. Web
+services, network-enabled appliances and the growth of network computing continue to expand the role of the HTTP
+protocol beyond user-driven web browsers, while increasing the number of applications that require HTTP support.</p>
+<p>Although the java.net package provides basic functionality for accessing resources via HTTP, it doesn't provide the full
+flexibility or functionality needed by many applications. HttpClient seeks to fill this void by providing an efficient,
+up-to-date, and feature-rich package implementing the client side of the most recent HTTP standards and recommendations.</p>
+<p>Designed for extension while providing robust support for the base HTTP protocol, HttpClient may be of interest to
+anyone building HTTP-aware client applications such as web browsers, web service clients, or systems that leverage or
+extend the HTTP protocol for distributed communication.</p><section>
<h2><a name="Documentation"></a>Documentation</h2>
<ol style="list-style-type: decimal">
-<li><a href="quickstart.html">Quick Start</a> - contains simple, complete examples of request execution with the classic, fluent and async APIs.</li>
-<li>Examples demonstrating some common as well as more complex use cases
+<li>
+
+<p><a href="quickstart.html">Quick Start</a> - contains simple, complete examples of request execution with the classic, fluent and
+async APIs.</p>
+</li>
+<li>
+
+<p>Examples demonstrating some common as well as more complex use cases</p>
<ul>
<li><a href="examples.html">HttpClient (classic APIs)</a></li>
@@ -164,7 +175,8 @@
<li>Source code is freely available under the Apache License.</li>
</ul></section><section>
<h2><a name="Standards_Compliance"></a>Standards Compliance</h2>
-<p>HttpClient strives to conform to the following specifications endorsed by the Internet Engineering Task Force (IETF) and the internet at large:</p>
+<p>HttpClient strives to conform to the following specifications endorsed by the Internet Engineering Task Force (IETF) and
+the internet at large:</p>
<ul>
<li><a class="externalLink" href="https://datatracker.ietf.org/doc/html/rfc7540">RFC 7540</a> - Hypertext Transfer Protocol Version 2 (HTTP/2)</li>
Modified: httpcomponents/site/httpcomponents-client-5.2.x/quickstart.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.2.x/quickstart.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.2.x/quickstart.html (original)
+++ httpcomponents/site/httpcomponents-client-5.2.x/quickstart.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-client-5.2.x/quickstart.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-client-5.2.x/quickstart.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpClient Quick Start</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpClient Quick Start <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-client-5.2.x/quickstart.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -61,8 +61,7 @@
<li><a href="../httpcomponents-client-5.2.x/download.html" title="Download"><span class="none"></span>Download</a></li>
</ul></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-right"></span>HttpCore 4.4</a></li>
<li><a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1"><span class="icon-chevron-right"></span>HttpAsyncClient 4.1</a></li>
@@ -115,7 +114,8 @@
<li>
-<p>Download ‘Binary’ package of the latest HttpClient 5.2 release or configure dependency on <code>HttpClient</code> and <code>Fluent HC</code> modules using a dependency manager of your choice as described <a href="download.html">here</a>.</p>
+<p>Download ‘Binary’ package of the latest HttpClient 5.2 release or configure dependency on <code>HttpClient</code> and <code>Fluent HC</code>
+modules using a dependency manager of your choice as described <a href="download.html">here</a>.</p>
</li>
<li>
@@ -125,8 +125,7 @@
<p>The below code fragment illustrates the execution of HTTP GET and POST requests using the HttpClient native API.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">try (CloseableHttpClient httpclient = HttpClients.createDefault()) {
+<div class="source"><pre class="prettyprint"><code>try (CloseableHttpClient httpclient = HttpClients.createDefault()) {
HttpGet httpGet = new HttpGet("http://httpbin.org/get");
// The underlying HTTP connection is still held by the response object
// to allow the response content to be streamed directly from the network socket.
@@ -157,16 +156,15 @@
EntityUtils.consume(entity2);
}
}
-</pre></div></div>
+</code></pre></div>
+<p>Source can be found here
+<a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/QuickStart.java">here</a></p>
</li>
-</ul>
-<p>Source can be found here <a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/QuickStart.java">here</a></p>
-<ul>
+<li>
-<li>The same requests can be executed using a simpler, albeit less flexible, fluent API.
+<p>The same requests can be executed using a simpler, albeit less flexible, fluent API.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">// The fluent API relieves the user from having to deal with manual deallocation of system
+<div class="source"><pre class="prettyprint"><code>// The fluent API relieves the user from having to deal with manual deallocation of system
// resources at the cost of having to buffer response content in memory in some cases.
Request.Get("http://targethost/homepage")
@@ -174,16 +172,15 @@ Request.Get("http://targethost/home
Request.Post("http://targethost/login")
.bodyForm(Form.form().add("username", "vip").add("password", "secret").build())
.execute().returnContent();
-</pre></div></div>
+</code></pre></div>
+<p>Source can be found here
+<a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/fluent/FluentQuickStart.java">here</a></p>
</li>
-</ul>
-<p>Source can be found here <a class="externalLink" href="https://github.com/apache/httpcomponents-website/blob/master/samples/src/main/java/org/apache/hc/client5/http/examples/fluent/FluentQuickStart.java">here</a></p>
-<ul>
+<li>
-<li>The below code fragment illustrates the execution of HTTP requests using HttpClient async API.
+<p>The below code fragment illustrates the execution of HTTP requests using HttpClient async API.</p>
-<div class="source">
-<div class="source"><pre class="prettyprint">try (CloseableHttpAsyncClient httpclient = HttpAsyncClients.createDefault()) {
+<div class="source"><pre class="prettyprint"><code>try (CloseableHttpAsyncClient httpclient = HttpAsyncClients.createDefault()) {
// Start the client
httpclient.start();
@@ -277,10 +274,11 @@ Request.Post("http://targethost/log
latch2.await();
}
-</pre></div></div>
+</code></pre></div>
+<p>Source can be found here
+<a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncQuickStart.java">here</a></p>
</li>
</ul>
-<p>Source can be found here <a class="externalLink" href="https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncQuickStart.java">here</a></p>
</main>
</div>
</div>
Modified: httpcomponents/site/httpcomponents-core-4.4.x/download.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-core-4.4.x/download.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-core-4.4.x/download.html (original)
+++ httpcomponents/site/httpcomponents-core-4.4.x/download.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-core-4.4.x/download.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-core-4.4.x/download.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpCore Downloads</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpCore Downloads <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-core-4.4.x/download.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -51,8 +51,7 @@
<li class="nav-header">Components</li>
<li><a href="../httpcomponents-client-5.2.x/index.html" title="HttpClient 5.2 BETA"><span class="icon-chevron-right"></span>HttpClient 5.2 BETA</a></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-down"></span>HttpCore 4.4</a>
<ul class="nav nav-list">
@@ -107,9 +106,13 @@
-->
<h1>HttpCore Downloads</h1>
<p>The latest release available for download:</p>
-<p><a class="externalLink" href="http://hc.apache.org/downloads.cgi">Release packages</a> - <a class="externalLink" href="http://www.apache.org/dist/httpcomponents/httpcore/RELEASE_NOTES-4.4.x.txt">Release Notes</a> - <a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></p><section>
+<p><a class="externalLink" href="http://hc.apache.org/downloads.cgi">Release packages</a> -
+<a class="externalLink" href="http://www.apache.org/dist/httpcomponents/httpcore/RELEASE_NOTES-4.4.x.txt">Release Notes</a> -
+<a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></p><section>
<h2><a name="Dependency_management"></a>Dependency management</h2>
-<p>If you are using a dependency manager for your project such as <a class="externalLink" href="https://maven.apache.org">Apache Maven</a>, <a class="externalLink" href="https://gradle.org/">Gradle</a> or <a class="externalLink" href="https://ant.apache.org/projects/ivy.html">Apache Ivy</a>, you can create a dependency on HttpCore modules by using this information:</p>
+<p>If you are using a dependency manager for your project such as <a class="externalLink" href="https://maven.apache.org">Apache Maven</a>,
+<a class="externalLink" href="https://gradle.org/">Gradle</a> or <a class="externalLink" href="https://ant.apache.org/projects/ivy.html">Apache Ivy</a>, you can create a dependency on
+HttpCore modules by using this information:</p>
<ul>
<li><a class="externalLink" href="https://search.maven.org/artifact/org.apache.httpcomponents/httpcore">HttpCore</a></li>
Modified: httpcomponents/site/httpcomponents-core-4.4.x/examples.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-core-4.4.x/examples.html?rev=1905103&r1=1905102&r2=1905103&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-core-4.4.x/examples.html (original)
+++ httpcomponents/site/httpcomponents-core-4.4.x/examples.html Sun Nov 6 19:02:24 2022
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/httpcomponents-core-4.4.x/examples.md
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/httpcomponents-core-4.4.x/examples.md
| Rendered using Apache Maven Fluido Skin 1.9
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+ <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>Apache HttpComponents – HttpCore Examples</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-1.9.min.css" />
<link rel="stylesheet" href="../css/site.css" />
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2022-10-31<span class="divider">|</span>
+ <li id="publishDate">Last Published: 2022-11-06<span class="divider">|</span>
</li>
<li class=""><a href="http://hc.apache.org/index.html" class="externalLink" title="HttpComponents">HttpComponents</a><span class="divider">/</span></li>
<li class="active ">HttpCore Examples <a href="https://github.com/apache/httpcomponents-website/tree/master/src/site/markdown/httpcomponents-core-4.4.x/examples.md"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
@@ -51,8 +51,7 @@
<li class="nav-header">Components</li>
<li><a href="../httpcomponents-client-5.2.x/index.html" title="HttpClient 5.2 BETA"><span class="icon-chevron-right"></span>HttpClient 5.2 BETA</a></li>
<li><a href="../httpcomponents-client-5.1.x/index.html" title="HttpClient 5.1"><span class="icon-chevron-right"></span>HttpClient 5.1</a></li>
- <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2 BETA"><span class="icon-chevron-right"></span>HttpCore 5.2 BETA</a></li>
- <li><a href="../httpcomponents-core-5.1.x/index.html" title="HttpCore 5.1"><span class="icon-chevron-right"></span>HttpCore 5.1</a></li>
+ <li><a href="../httpcomponents-core-5.2.x/index.html" title="HttpCore 5.2"><span class="icon-chevron-right"></span>HttpCore 5.2</a></li>
<li><a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5"><span class="icon-chevron-right"></span>HttpClient 4.5</a></li>
<li><a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4"><span class="icon-chevron-down"></span>HttpCore 4.4</a>
<ul class="nav nav-list">
@@ -108,49 +107,55 @@
<h1>HttpCore Examples</h1>
<ul>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalHttpGet.java">Synchronous HTTP GET requests</a></li>
-</ul>
+<li>
+
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalHttpGet.java">Synchronous HTTP GET requests</a></p>
<p>This example demonstrates how to execute a series of synchronous (blocking) HTTP GET requests.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalHttpPost.java">Synchronous HTTP POST requests</a></li>
-</ul>
-<p>This example demonstrates how to execute a series of synchronous (blocking) HTTP POST requests that enclose entity content of various types: a string, a byte array, an arbitrary input stream.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalHttpPost.java">Synchronous HTTP POST requests</a></p>
+<p>This example demonstrates how to execute a series of synchronous (blocking) HTTP POST requests that enclose entity
+content of various types: a string, a byte array, an arbitrary input stream.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalPoolingHttpGet.java">Synchronous HTTP GET requests with connection pooling</a></li>
-</ul>
-<p>This example demonstrates how to execute a series of synchronous (blocking) HTTP GET requests using a pool of persistent connections.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalPoolingHttpGet.java">Synchronous HTTP GET requests with connection pooling</a></p>
+<p>This example demonstrates how to execute a series of synchronous (blocking) HTTP GET requests using a pool of
+persistent connections.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/HttpFileServer.java">Synchronous HTTP file server</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/HttpFileServer.java">Synchronous HTTP file server</a></p>
<p>This is an example of an HTTP/1.1 file server based on a synchronous (blocking) I/O model.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalReverseProxy.java">Synchronous HTTP reverse proxy</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore/src/examples/org/apache/http/examples/ElementalReverseProxy.java">Synchronous HTTP reverse proxy</a></p>
<p>This is an example of an HTTP/1.1 reverse proxy based on a synchronous (blocking) I/O model.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java">Asynchronous HTTP GET requests</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java">Asynchronous HTTP GET requests</a></p>
<p>This example demonstrates how HttpCore NIO can be used to execute multiple HTTP requests asynchronously.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/PipeliningHttpClient.java">Pipelined HTTP GET requests</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/PipeliningHttpClient.java">Pipelined HTTP GET requests</a></p>
<p>This example demonstrates how HttpCore NIO can be used to execute series of pipelined HTTP requests.</p>
-<ul>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpFileServer.java">Asynchronous HTTP server</a></li>
-</ul>
-<p>This example demonstrates the use of HttpCore NIO to build an asynchronous (non-blocking) HTTP server capable of direct channel (zero copy) data transfer.</p>
-<ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpFileServer.java">Asynchronous HTTP server</a></p>
+<p>This example demonstrates the use of HttpCore NIO to build an asynchronous (non-blocking) HTTP server capable of
+direct channel (zero copy) data transfer.</p>
+</li>
+<li>
-<li><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java">Asynchronous HTTP reverse proxy</a></li>
-</ul>
+<p><a class="externalLink" href="https://github.com/apache/httpcomponents-core/tree/4.4.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java">Asynchronous HTTP reverse proxy</a></p>
<p>This example demonstrates how HttpCore NIO can be used to build an asynchronous, fully streaming reverse HTTP proxy.</p>
+</li>
+</ul>
</main>
</div>
</div>