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 2018/12/17 11:06:21 UTC

[httpcomponents-website] branch master updated: Updated project website for HttpClient 5.0-beta3 release

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 67f3f2e  Updated project website for HttpClient 5.0-beta3 release
67f3f2e is described below

commit 67f3f2e9dcb366af204501514f4d453697b8ad80
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Mon Dec 17 11:49:07 2018 +0100

    Updated project website for HttpClient 5.0-beta3 release
---
 .../apt/httpcomponents-client-5.0.x/download.apt   |  2 -
 src/site/apt/httpcomponents-client-5.0.x/index.apt |  4 +-
 .../apt/httpcomponents-client-5.0.x/quickstart.apt |  9 +--
 src/site/apt/news.apt                              | 87 ++++++++++++----------
 src/site/xdoc/downloads.xml                        | 36 ++++-----
 5 files changed, 65 insertions(+), 73 deletions(-)

diff --git a/src/site/apt/httpcomponents-client-5.0.x/download.apt b/src/site/apt/httpcomponents-client-5.0.x/download.apt
index 8aa8de0..dc95d2f 100644
--- a/src/site/apt/httpcomponents-client-5.0.x/download.apt
+++ b/src/site/apt/httpcomponents-client-5.0.x/download.apt
@@ -51,6 +51,4 @@ HttpClient Downloads
 
     {{{./httpclient5-win/dependency-info.html}HttpClient Windows extensions}}
 
-    {{{./httpclient5-osgi/dependency-info.html}HttpClient OSGi}}
-
 
diff --git a/src/site/apt/httpcomponents-client-5.0.x/index.apt b/src/site/apt/httpcomponents-client-5.0.x/index.apt
index 925ef3e..bfdc4a2 100644
--- a/src/site/apt/httpcomponents-client-5.0.x/index.apt
+++ b/src/site/apt/httpcomponents-client-5.0.x/index.apt
@@ -59,9 +59,7 @@ HttpClient Overview
     * {{{./httpclient5-cache/project-reports.html}HttpClient Cache}}
    
     * {{{./httpclient5-win/project-reports.html}HttpClient Windows extensions}}
-   
-    * {{{./httpclient5-osgi/project-reports.html}HttpClient OSGi}}
-   
+
 {Features}
 
     * Standards based, pure Java, implementation of HTTP versions 1.0 and 1.1
diff --git a/src/site/apt/httpcomponents-client-5.0.x/quickstart.apt b/src/site/apt/httpcomponents-client-5.0.x/quickstart.apt
index 12dc5d2..1efda20 100644
--- a/src/site/apt/httpcomponents-client-5.0.x/quickstart.apt
+++ b/src/site/apt/httpcomponents-client-5.0.x/quickstart.apt
@@ -111,7 +111,7 @@ CloseableHttpAsyncClient httpclient = HttpAsyncClients.createDefault();
 httpclient.start();
 
 // Execute request
-final SimpleHttpRequest request1 = SimpleHttpRequest.get("http://httpbin.org/get");
+final SimpleHttpRequest request1 = SimpleHttpRequests.GET.create("http://httpbin.org/get");
 Future<SimpleHttpResponse> future = httpclient.execute(request1, null);
 // and wait until response is received
 final SimpleHttpResponse response1 = future.get();
@@ -119,7 +119,7 @@ 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");
+final SimpleHttpRequest request2 = SimpleHttpRequests.GET.create("http://httpbin.org/get");
 httpclient.execute(request2, new FutureCallback<SimpleHttpResponse>() {
 
     @Override
@@ -157,11 +157,6 @@ AbstractCharResponseConsumer<HttpResponse> consumer3 = new AbstractCharResponseC
     }
 
     @Override
-    protected int remainingCapacity() {
-        return Integer.MAX_VALUE;
-    }
-
-    @Override
     protected int capacityIncrement() {
         return Integer.MAX_VALUE;
     }
diff --git a/src/site/apt/news.apt b/src/site/apt/news.apt
index 12d05f7..3ee88f4 100644
--- a/src/site/apt/news.apt
+++ b/src/site/apt/news.apt
@@ -30,6 +30,55 @@
 
 HttpComponents Project News
 
+* 17 December 2018 - HttpComponents HttpClient 5.0-beta3 released
+
+    This BETA release adds support for advanced TLS functions (such as ALPN protocol negotiation)
+    on Java 1.7 and Java 1.8 through Conscrypt TLS library and picks up the latest fixes
+    and performance improvements from HttpCore.
+
+    Notable new features in this release:
+
+    * TLS ALPN protocol negotiation support on older JREs through Conscrypt TLS library.
+
+    []
+
+    Notable changes and features included in the 5.0 series are:
+
+    * Support for the HTTP/2 protocol and conformance to requirements and
+      recommendations of the latest HTTP/2 protocol specification documents
+      (RFC 7540, RFC 7541.)
+
+      Supported features:
+
+        * HPACK header compression
+
+        * Stream multiplexing (client and server)
+
+        * Flow control
+
+        * Response push
+
+        * Message trailers
+
+        * Expect-continue handshake
+
+        * Connection validation (ping)
+
+        * Application-layer protocol negotiation (ALPN) on Java 9.0.1+
+
+        * TLS 1.2 security features
+
+    * Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol
+      specification documents (RFC 7230, RFC 7231.)
+
+    * New connection pool implementation with lax connection limit guarantees and better
+      performance under higher concurrency due to absence of a global pool lock.
+
+    * Package name space changed to 'org.apache.hc.client5'.
+
+    * Maven group id changed to 'org.apache.httpcomponents.client5'.
+
+
 * 6 December 2018 - HttpComponents HttpCore 5.0-beta5 released
 
     This BETA release adds support for advanced TLS functions (such as ALPN protocol negotiation)
@@ -110,44 +159,6 @@ HttpComponents Project News
 
     * Support for Reactive Streams API [http://www.reactive-streams.org/]
 
-    []
-
-    Notable changes and features included in the 5.0 series are:
-
-    * Support for the HTTP/2 protocol and conformance to requirements and
-      recommendations of the latest HTTP/2 protocol specification documents
-      (RFC 7540, RFC 7541.)
-
-      Supported features:
-
-        * HPACK header compression
-
-        * Stream multiplexing (client and server)
-
-        * Flow control
-
-        * Response push
-
-        * Message trailers
-
-        * Expect-continue handshake
-
-        * Connection validation (ping)
-
-        * Application-layer protocol negotiation (ALPN) on Java 9.0.1+
-
-        * TLS 1.2 security features
-
-    * Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol
-      specification documents (RFC 7230, RFC 7231.)
-
-    * New connection pool implementation with lax connection limit guarantees and better
-      performance under higher concurrency due to absence of a global pool lock.
-
-    * Package name space changed to 'org.apache.hc.client5'.
-
-    * Maven group id changed to 'org.apache.httpcomponents.client5'.
-
 
 * 22 October 2018 - HttpComponents HttpCore 5.0-beta5 released
 
diff --git a/src/site/xdoc/downloads.xml b/src/site/xdoc/downloads.xml
index 9215832..a6a6d81 100644
--- a/src/site/xdoc/downloads.xml
+++ b/src/site/xdoc/downloads.xml
@@ -156,44 +156,34 @@
     <p>Recent releases of HttpCore can be found <a href="[preferred]/httpcomponents/httpcore">here</a></p>
   </subsection>
 
-  <subsection name="HttpClient 5.0-beta2">
+  <subsection name="HttpClient 5.0-beta3">
     <a href="https://www.apache.org/dist/httpcomponents/httpclient/KEYS">KEYS</a>
     <a href="https://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-5.0.x.txt">Release Notes</a>
     <br/>
     <p>Binary</p>
     <ul>
      <li>
-       <a href="[preferred]/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-bin.tar.gz">5.0-beta2.tar.gz</a>
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-bin.tar.gz.sha512">sha512</a>]
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-bin.tar.gz.asc">pgp</a>]
+       <a href="[preferred]/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta3-bin.tar.gz">5.0-beta3.tar.gz</a>
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta3-bin.tar.gz.sha512">sha512</a>]
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta3-bin.tar.gz.asc">pgp</a>]
      </li>
      <li>
-       <a href="[preferred]/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-bin.zip">5.0-beta2.zip</a>
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-bin.zip.sha512">sha512</a>]
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-bin.zip.asc">pgp</a>]
-     </li>
-     <li>
-       <a href="[preferred]/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-osgi-bin.tar.gz">5.0-beta2.tar.gz (OSGi bundle)</a>
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-osgi-bin.tar.gz.sha512">sha512</a>]
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-osgi-bin.tar.gz.asc">pgp</a>]
-     </li>
-     <li>
-       <a href="[preferred]/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-osgi-bin.zip">5.0-beta2.zip (OSGi bundle)</a>
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-osgi-bin.zip.sha512">sha512</a>]
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta2-osgi-bin.zip.asc">pgp</a>]
+       <a href="[preferred]/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta3-bin.zip">5.0-beta3.zip</a>
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta3-bin.zip.sha512">sha512</a>]
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-5.0-beta3-bin.zip.asc">pgp</a>]
      </li>
     </ul>
     <p>Source</p>
     <ul>
      <li>
-       <a href="[preferred]/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta2-src.tar.gz">5.0-beta2.tar.gz</a>
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta2-src.tar.gz.sha512">sha512</a>]
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta2-src.tar.gz.asc">pgp</a>]
+       <a href="[preferred]/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta3-src.tar.gz">5.0-beta3.tar.gz</a>
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta3-src.tar.gz.sha512">sha512</a>]
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta3-src.tar.gz.asc">pgp</a>]
      </li>
      <li>
-       <a href="[preferred]/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta2-src.zip">5.0-beta2.zip</a>
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta2-src.zip.sha512">sha512</a>]
-       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta2-src.zip.asc">pgp</a>]
+       <a href="[preferred]/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta3-src.zip">5.0-beta3.zip</a>
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta3-src.zip.sha512">sha512</a>]
+       [<a href="https://www.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-5.0-beta3-src.zip.asc">pgp</a>]
      </li>
     </ul>
   </subsection>