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 2017/11/27 08:37:05 UTC
svn commit: r1816414 [3/3] - in /httpcomponents/site: ./
httpcomponents-asyncclient-4.0.x/ httpcomponents-asyncclient-4.1.x/
httpcomponents-client-4.3.x/ httpcomponents-client-4.5.x/
httpcomponents-client-5.0.x/
Added: httpcomponents/site/httpcomponents-client-5.0.x/quickstart.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-client-5.0.x/quickstart.html?rev=1816414&view=auto
==============================================================================
--- httpcomponents/site/httpcomponents-client-5.0.x/quickstart.html (added)
+++ httpcomponents/site/httpcomponents-client-5.0.x/quickstart.html Mon Nov 27 08:37:04 2017
@@ -0,0 +1,357 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at 2017-11-01 ( $Revision$ ) -->
+<!-- $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/maven-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Apache HttpComponents – HttpClient Quick Start</title>
+ <style type="text/css" media="all">
+ @import url("../css/maven-base.css");
+ @import url("../css/maven-theme.css");
+ @import url("../css/site.css");
+ </style>
+ <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+ <meta name="Date-Revision-yyyymmdd" content="20171101" />
+ <meta http-equiv="Content-Language" content="en" />
+
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://www.apache.org/" id="bannerLeft">
+ <img src="http://www.apache.org/images/asf_logo_wide.gif" alt="Apache" />
+ </a>
+ <a href=".././" id="bannerRight">
+ <img src="../images/logos/httpcomponents.png" alt="HttpComponents" />
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+ <div class="xleft">
+ <span id="publishDate">Last Published: 2017-11-01</span>
+ | <span id="projectVersion">Version: 1-SNAPSHOT</span>
+ </div>
+ <div class="xright"> <a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
+ |
+ <a href="../index.html" title="HttpComponents">HttpComponents</a>
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+ <h5>HttpComponents</h5>
+ <ul>
+ <li class="none">
+ <a href="../index.html" title="Home">Home</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a>
+ </li>
+ <li class="none">
+ <a href="../downloads.cgi" title="Download">Download</a>
+ </li>
+ <li class="none">
+ <a href="../mail.html" title="Mailing Lists">Mailing Lists</a>
+ </li>
+ <li class="none">
+ <a href="../dev-docs.html" title="Developer documents">Developer documents</a>
+ </li>
+ <li class="none">
+ <a href="http://wiki.apache.org/HttpComponents/" class="externalLink" title="Wiki (external)">Wiki (external)</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/security/" class="externalLink" title="Security">Security</a>
+ </li>
+ </ul>
+ <h5>Overview</h5>
+ <ul>
+ <li class="none">
+ <a href="../index.html" title="About">About</a>
+ </li>
+ <li class="none">
+ <a href="../news.html" title="News">News</a>
+ </li>
+ <li class="none">
+ <a href="../poweredby.html" title="Powered by">Powered by</a>
+ </li>
+ <li class="none">
+ <a href="../get-involved.html" title="Get Involved">Get Involved</a>
+ </li>
+ </ul>
+ <h5>Components</h5>
+ <ul>
+ <li class="expanded">
+ <a href="../httpcomponents-client-5.0.x/index.html" title="HttpClient 5.0 alpha">HttpClient 5.0 alpha</a>
+ <ul>
+ <li class="none">
+ <strong>Quick Start</strong>
+ </li>
+ <li class="none">
+ <a href="../httpcomponents-client-5.0.x/examples.html" title="Examples (Classic)">Examples (Classic)</a>
+ </li>
+ <li class="none">
+ <a href="../httpcomponents-client-5.0.x/examples-async.html" title="Examples (Async)">Examples (Async)</a>
+ </li>
+ <li class="none">
+ <a href="../httpcomponents-client-5.0.x/logging.html" title="Logging Guide">Logging Guide</a>
+ </li>
+ <li class="none">
+ <a href="../httpcomponents-client-5.0.x/download.html" title="Download">Download</a>
+ </li>
+ <li class="none">
+ <a href="../httpcomponents-client-5.0.x/project-info.html" title="Project Info">Project Info</a>
+ </li>
+ </ul>
+ </li>
+ <li class="collapsed">
+ <a href="../httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5">HttpClient 4.5</a>
+ </li>
+ <li class="collapsed">
+ <a href="../httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 alpha">HttpCore 5.0 alpha</a>
+ </li>
+ <li class="collapsed">
+ <a href="../httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4">HttpCore 4.4</a>
+ </li>
+ <li class="collapsed">
+ <a href="../httpcomponents-asyncclient-4.1.x/index.html" title="HttpAsyncClient 4.1">HttpAsyncClient 4.1</a>
+ </li>
+ </ul>
+ <h5>Legacy</h5>
+ <ul>
+ <li class="none">
+ <a href="../httpclient-legacy/index.html" title="Commons HttpClient">Commons HttpClient</a>
+ </li>
+ </ul>
+ <h5>Project</h5>
+ <ul>
+ <li class="none">
+ <a href="../status.html" title="Status">Status</a>
+ </li>
+ <li class="none">
+ <a href="../charter.html" title="Charter">Charter</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="../project-info.html" title="Project Information">Project Information</a>
+ </li>
+ </ul>
+ <h5>ASF</h5>
+ <ul>
+ <li class="none">
+ <a href="http://www.apache.org" class="externalLink" title="ASF Home Page">ASF Home Page</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation">Foundation</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsor Apache">Sponsor Apache</a>
+ </li>
+ <li class="none">
+ <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">Thanks</a>
+ </li>
+ </ul>
+ <a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="poweredBy">
+ <img class="poweredBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" />
+ </a>
+ <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
+ <img class="poweredBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
+ </a>
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section">
+<h2><a name="HttpClient_Quick_Start"></a>HttpClient Quick Start</h2>
+<ol style="list-style-type: decimal">
+<li>Download 'Binary' package of the latest HttpClient 5.0 release or configure dependency on <a href="./httpclient5/dependency-info.html">HttpClient</a> and <a href="./httpclient5-fluent/dependency-info.html">Fluent HC</a> modules using a dependency manager of your choice as described <a href="./download.html">here</a>. </li>
+<li>HttpClient 5.0 requires Java 1.7 or newer. </li>
+<li>The below code fragment illustrates the execution of HTTP GET and POST requests using HttpClient classic API.
+<div>
+<pre>
+CloseableHttpClient httpclient = HttpClients.createDefault();
+HttpGet httpGet = new HttpGet("http://targethost/homepage");
+CloseableHttpResponse response1 = httpclient.execute(httpGet);
+// The underlying HTTP connection is still held by the response object
+// to allow the response content to be streamed directly from the network socket.
+// In order to ensure correct deallocation of system resources
+// the user MUST call CloseableHttpResponse#close() from a finally clause.
+// Please note that if response content is not fully consumed the underlying
+// connection cannot be safely re-used and will be shut down and discarded
+// by the connection manager.
+try {
+ System.out.println(response1.getStatusLine());
+ HttpEntity entity1 = response1.getEntity();
+ // do something useful with the response body
+ // and ensure it is fully consumed
+ EntityUtils.consume(entity1);
+} finally {
+ response1.close();
+}
+
+HttpPost httpPost = new HttpPost("http://targethost/login");
+List <NameValuePair> nvps = new ArrayList <NameValuePair>();
+nvps.add(new BasicNameValuePair("username", "vip"));
+nvps.add(new BasicNameValuePair("password", "secret"));
+httpPost.setEntity(new UrlEncodedFormEntity(nvps));
+CloseableHttpResponse response2 = httpclient.execute(httpPost);
+
+try {
+ System.out.println(response2.getStatusLine());
+ HttpEntity entity2 = response2.getEntity();
+ // do something useful with the response body
+ // and ensure it is fully consumed
+ EntityUtils.consume(entity2);
+} finally {
+ response2.close();
+}</pre></div>
+<p>Source can be downloaded <a href="./httpclient5/examples/org/apache/hc/client5/http/examples/QuickStart.java">here</a></p></li>
+<li>The same requests can be executed using a simpler, albeit less flexible, fluent API.
+<div>
+<pre>
+// 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")
+ .execute().returnContent();
+Request.Post("http://targethost/login")
+ .bodyForm(Form.form().add("username", "vip").add("password", "secret").build())
+ .execute().returnContent();
+</pre></div>
+<p>Source can be downloaded <a href="./httpclient5-fluent/examples/org/apache/hc/client5/http/examples/fluent/FluentQuickStart.java">here</a></p></li>
+<li>The below code fragment illustrates the execution of HTTP requests using HttpClient async API.
+<div>
+<pre>
+CloseableHttpAsyncClient httpclient = HttpAsyncClients.createDefault();
+// Start the client
+httpclient.start();
+
+// Execute request
+final SimpleHttpRequest request1 = SimpleHttpRequest.get("http://httpbin.org/get");
+Future<SimpleHttpResponse> future = httpclient.execute(request1, null);
+// and wait until response is received
+final SimpleHttpResponse response1 = future.get();
+System.out.println(request1.getRequestUri() + "->" + response1.getCode());
+
+// One most likely would want to use a callback for operation result
+final CountDownLatch latch1 = new CountDownLatch(1);
+final SimpleHttpRequest request2 = SimpleHttpRequest.get("http://httpbin.org/get");
+httpclient.execute(request2, new FutureCallback<SimpleHttpResponse>() {
+
+ @Override
+ public void completed(final SimpleHttpResponse response2) {
+ latch1.countDown();
+ System.out.println(request2.getRequestUri() + "->" + response2.getCode());
+ }
+
+ @Override
+ public void failed(final Exception ex) {
+ latch1.countDown();
+ System.out.println(request2.getRequestUri() + "->" + ex);
+ }
+
+ @Override
+ public void cancelled() {
+ latch1.countDown();
+ System.out.println(request2.getRequestUri() + " cancelled");
+ }
+
+});
+latch1.await();
+
+// In real world one most likely would want also want to stream
+// request and response body content
+final CountDownLatch latch2 = new CountDownLatch(1);
+AsyncRequestProducer producer3 = AsyncRequestBuilder.get("http://httpbin.org/get").build();
+AbstractCharResponseConsumer<HttpResponse> consumer3 = new AbstractCharResponseConsumer<HttpResponse>() {
+
+ HttpResponse response;
+
+ @Override
+ protected void start(final HttpResponse response, final ContentType contentType) throws HttpException, IOException {
+ this.response = response;
+ }
+
+ @Override
+ protected int capacity() {
+ return Integer.MAX_VALUE;
+ }
+
+ @Override
+ protected void data(final CharBuffer data, final boolean endOfStream) throws IOException {
+ // Do something useful
+ }
+
+ @Override
+ protected HttpResponse buildResult() throws IOException {
+ return response;
+ }
+
+ @Override
+ public HttpResponse getResult() {
+ return response;
+ }
+
+ @Override
+ public void releaseResources() {
+ }
+
+};
+httpclient.execute(producer3, consumer3, new FutureCallback<HttpResponse>() {
+
+ @Override
+ public void completed(final HttpResponse response3) {
+ latch2.countDown();
+ System.out.println(request2.getRequestUri() + "->" + response3.getCode());
+ }
+
+ @Override
+ public void failed(final Exception ex) {
+ latch2.countDown();
+ System.out.println(request2.getRequestUri() + "->" + ex);
+ }
+
+ @Override
+ public void cancelled() {
+ latch2.countDown();
+ System.out.println(request2.getRequestUri() + " cancelled");
+ }
+
+});
+latch2.await();</pre></div>
+<p>Source can be downloaded <a href="./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncQuickStart.java">here</a></p></li></ol></div>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+
+<div class="xleft">Apache HttpComponents, Commons HttpClient, Apache, the Apache feather logo, and the Apache HttpComponents project logo are trademarks of The Apache Software Foundation.</div>
+
+<br/>
+
+<div class="xleft">All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+ <div class="xright">Copyright © 2005-2017
+ <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: httpcomponents/site/httpcomponents-client-5.0.x/quickstart.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: httpcomponents/site/httpcomponents-client-5.0.x/quickstart.html
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: httpcomponents/site/httpcomponents-client-5.0.x/quickstart.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Modified: httpcomponents/site/issue-tracking.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/issue-tracking.html?rev=1816414&r1=1816413&r2=1816414&view=diff
==============================================================================
--- httpcomponents/site/issue-tracking.html (original)
+++ httpcomponents/site/issue-tracking.html Mon Nov 27 08:37:04 2017
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at 2017-11-06 ( $Revision$ ) -->
+<!-- Generated by Apache Maven Doxia at 2017-11-27 ( $Revision$ ) -->
<!-- $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/maven-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@@ -11,7 +11,7 @@
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20171106" />
+ <meta name="Date-Revision-yyyymmdd" content="20171127" />
<meta http-equiv="Content-Language" content="en" />
</head>
@@ -31,7 +31,7 @@
<div class="xleft">
- <span id="publishDate">Last Published: 2017-11-06</span>
+ <span id="publishDate">Last Published: 2017-11-27</span>
| <span id="projectVersion">Version: 1-SNAPSHOT</span>
</div>
<div class="xright"> <a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
@@ -96,7 +96,7 @@
<a href="httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5">HttpClient 4.5</a>
</li>
<li class="collapsed">
- <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 alpha">HttpCore 5.0 alpha</a>
+ <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 beta">HttpCore 5.0 beta</a>
</li>
<li class="collapsed">
<a href="httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4">HttpCore 4.4</a>
Modified: httpcomponents/site/license.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/license.html?rev=1816414&r1=1816413&r2=1816414&view=diff
==============================================================================
--- httpcomponents/site/license.html (original)
+++ httpcomponents/site/license.html Mon Nov 27 08:37:04 2017
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at 2017-11-06 ( $Revision$ ) -->
+<!-- Generated by Apache Maven Doxia at 2017-11-27 ( $Revision$ ) -->
<!-- $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/maven-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@@ -11,7 +11,7 @@
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20171106" />
+ <meta name="Date-Revision-yyyymmdd" content="20171127" />
<meta http-equiv="Content-Language" content="en" />
</head>
@@ -31,7 +31,7 @@
<div class="xleft">
- <span id="publishDate">Last Published: 2017-11-06</span>
+ <span id="publishDate">Last Published: 2017-11-27</span>
| <span id="projectVersion">Version: 1-SNAPSHOT</span>
</div>
<div class="xright"> <a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
@@ -96,7 +96,7 @@
<a href="httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5">HttpClient 4.5</a>
</li>
<li class="collapsed">
- <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 alpha">HttpCore 5.0 alpha</a>
+ <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 beta">HttpCore 5.0 beta</a>
</li>
<li class="collapsed">
<a href="httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4">HttpCore 4.4</a>
Modified: httpcomponents/site/mail-lists.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/mail-lists.html?rev=1816414&r1=1816413&r2=1816414&view=diff
==============================================================================
--- httpcomponents/site/mail-lists.html (original)
+++ httpcomponents/site/mail-lists.html Mon Nov 27 08:37:04 2017
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at 2017-11-06 ( $Revision$ ) -->
+<!-- Generated by Apache Maven Doxia at 2017-11-27 ( $Revision$ ) -->
<!-- $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/maven-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@@ -11,7 +11,7 @@
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20171106" />
+ <meta name="Date-Revision-yyyymmdd" content="20171127" />
<meta http-equiv="Content-Language" content="en" />
</head>
@@ -31,7 +31,7 @@
<div class="xleft">
- <span id="publishDate">Last Published: 2017-11-06</span>
+ <span id="publishDate">Last Published: 2017-11-27</span>
| <span id="projectVersion">Version: 1-SNAPSHOT</span>
</div>
<div class="xright"> <a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
@@ -96,7 +96,7 @@
<a href="httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5">HttpClient 4.5</a>
</li>
<li class="collapsed">
- <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 alpha">HttpCore 5.0 alpha</a>
+ <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 beta">HttpCore 5.0 beta</a>
</li>
<li class="collapsed">
<a href="httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4">HttpCore 4.4</a>
Modified: httpcomponents/site/news.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/news.html?rev=1816414&r1=1816413&r2=1816414&view=diff
==============================================================================
--- httpcomponents/site/news.html (original)
+++ httpcomponents/site/news.html Mon Nov 27 08:37:04 2017
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at 2017-11-06 ( $Revision$ ) -->
+<!-- Generated by Apache Maven Doxia at 2017-11-27 ( $Revision$ ) -->
<!-- $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/maven-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@@ -11,7 +11,7 @@
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20171106" />
+ <meta name="Date-Revision-yyyymmdd" content="20171127" />
<meta http-equiv="Content-Language" content="en" />
</head>
@@ -31,7 +31,7 @@
<div class="xleft">
- <span id="publishDate">Last Published: 2017-11-06</span>
+ <span id="publishDate">Last Published: 2017-11-27</span>
| <span id="projectVersion">Version: 1-SNAPSHOT</span>
</div>
<div class="xright"> <a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
@@ -96,7 +96,7 @@
<a href="httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5">HttpClient 4.5</a>
</li>
<li class="collapsed">
- <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 alpha">HttpCore 5.0 alpha</a>
+ <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 beta">HttpCore 5.0 beta</a>
</li>
<li class="collapsed">
<a href="httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4">HttpCore 4.4</a>
@@ -156,6 +156,34 @@
<div class="section">
<h2><a name="HttpComponents_Project_News"></a>HttpComponents Project News</h2>
<div class="section">
+<h3><a name="a27_November_2017_-_HttpComponents_HttpClient_5.0-alpha3_released"></a>27 November 2017 - HttpComponents HttpClient 5.0-alpha3 released</h3>
+<p>This is a major release that introduces support for the HTTP/2 protocol and event driven messaging APIs consistent for all supported HTTP protocol versions.</p>
+<p>HttpClient ships with two client implementations:</p>
+<ul>
+<li>HttpClient Classic is based on the classic (blocking) I/O model; largely compatible with the 4.x APIs; supports HTTP/1.1 only.</li>
+<li>HttpClient Async is based on NIO model; new event driven APIs consistent for all supported HTTP protocol versions; supports both HTTP/1.1 and HTTP/2.
+<p>Notable new features in this release:</p></li>
+<li>Asynchronous HttpClient implementations optimized for HTTP/2 multiplexed request execution.</li>
+<li>Full support for HTTP caching by asynchronous HttpClient implementations including streaming message exchanages.
+<p>Notable changes and features included in the 5.0 series are:</p></li>
+<li>Support for the HTTP/2 protocol and conformance to requirements and recommendations of the latest HTTP/2 protocol specification documents (RFC 7540, RFC 7541.)
+<p>Supported features:</p>
+<ul>
+<li>HPACK header compression</li>
+<li>Stream multiplexing (client and server)</li>
+<li>Flow control</li>
+<li>Response push</li>
+<li>Message trailers</li>
+<li>Expect-continue handshake</li>
+<li>Connection validation (ping)</li>
+<li>Application-layer protocol negotiation (ALPN) on Java 9.0.1+</li>
+<li>TLS 1.2 security features</li></ul></li>
+<li>Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol specification documents (RFC 7230, RFC 7231.)</li>
+<li>Redesigned connection pool implementation with reduced pool lock contention.</li>
+<li>Package name space changed to 'org.apache.hc.client5'.</li>
+<li>Maven group id changed to 'org.apache.httpcomponents.client5'.</li>
+<li>Apache Log4j2 logging APIs used for internal logging instead of Commons Logging APIs.</li></ul></div>
+<div class="section">
<h3><a name="a6_November_2017_-_HttpComponents_HttpCore_5.0-beta1_released"></a>6 November 2017 - HttpComponents HttpCore 5.0-beta1 released</h3>
<p>This is a major release that renders HttpCore API incompatible with the stable 4.x branch and upgrades HTTP/1.1 and HTTP/2 protocol conformance to the requirements and recommendations of the latest protocol specification.</p>
<p>Notable new features in this release:</p>
Modified: httpcomponents/site/project-info.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/project-info.html?rev=1816414&r1=1816413&r2=1816414&view=diff
==============================================================================
--- httpcomponents/site/project-info.html (original)
+++ httpcomponents/site/project-info.html Mon Nov 27 08:37:04 2017
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at 2017-11-06 ( $Revision$ ) -->
+<!-- Generated by Apache Maven Doxia at 2017-11-27 ( $Revision$ ) -->
<!-- $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/maven-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@@ -11,7 +11,7 @@
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20171106" />
+ <meta name="Date-Revision-yyyymmdd" content="20171127" />
<meta http-equiv="Content-Language" content="en" />
</head>
@@ -31,7 +31,7 @@
<div class="xleft">
- <span id="publishDate">Last Published: 2017-11-06</span>
+ <span id="publishDate">Last Published: 2017-11-27</span>
| <span id="projectVersion">Version: 1-SNAPSHOT</span>
</div>
<div class="xright"> <a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
@@ -96,7 +96,7 @@
<a href="httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5">HttpClient 4.5</a>
</li>
<li class="collapsed">
- <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 alpha">HttpCore 5.0 alpha</a>
+ <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 beta">HttpCore 5.0 beta</a>
</li>
<li class="collapsed">
<a href="httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4">HttpCore 4.4</a>
Modified: httpcomponents/site/team-list.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/team-list.html?rev=1816414&r1=1816413&r2=1816414&view=diff
==============================================================================
--- httpcomponents/site/team-list.html (original)
+++ httpcomponents/site/team-list.html Mon Nov 27 08:37:04 2017
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at 2017-11-06 ( $Revision$ ) -->
+<!-- Generated by Apache Maven Doxia at 2017-11-27 ( $Revision$ ) -->
<!-- $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/maven-skin/trunk/src/main/resources/META-INF/maven/site.vm $ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@@ -11,7 +11,7 @@
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20171106" />
+ <meta name="Date-Revision-yyyymmdd" content="20171127" />
<meta http-equiv="Content-Language" content="en" />
</head>
@@ -31,7 +31,7 @@
<div class="xleft">
- <span id="publishDate">Last Published: 2017-11-06</span>
+ <span id="publishDate">Last Published: 2017-11-27</span>
| <span id="projectVersion">Version: 1-SNAPSHOT</span>
</div>
<div class="xright"> <a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
@@ -96,7 +96,7 @@
<a href="httpcomponents-client-4.5.x/index.html" title="HttpClient 4.5">HttpClient 4.5</a>
</li>
<li class="collapsed">
- <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 alpha">HttpCore 5.0 alpha</a>
+ <a href="httpcomponents-core-5.0.x/index.html" title="HttpCore 5.0 beta">HttpCore 5.0 beta</a>
</li>
<li class="collapsed">
<a href="httpcomponents-core-4.4.x/index.html" title="HttpCore 4.4">HttpCore 4.4</a>