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 2011/09/18 14:09:25 UTC
svn commit: r1172266 - in /httpcomponents/httpcore/trunk: ./
httpcore-nio/src/examples/org/apache/http/examples/nio/ src/site/apt/
Author: olegk
Date: Sun Sep 18 12:09:25 2011
New Revision: 1172266
URL: http://svn.apache.org/viewvc?rev=1172266&view=rev
Log:
Updated release notes and the download page for HttpCore 4.2-alpha2 release; updated NIO example descriptions
Modified:
httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
httpcomponents/httpcore/trunk/src/site/apt/download.apt
Modified: httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt?rev=1172266&r1=1172265&r2=1172266&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpcore/trunk/RELEASE_NOTES.txt Sun Sep 18 12:09:25 2011
@@ -1,4 +1,26 @@
-Changes since 4.2-ALPHA1
+Release 4.2-ALPHA2
+-------------------
+
+This is the second ALPHA release of HttpCore 4.2. This release comes with completely redesigned
+and rewritten asynchronous protocol handlers. New protocol handling API used in conjunction with
+connection pooling components introduced in the previous ALPHA release is expected to make
+development of asynchronous HTTP client agents and HTTP proxies easier and less error prone.
+
+Sample application shipped with the release include an example of an HTTP file server capable of
+direct channel (zero copy) data transfer and an example of a non-blocking, fully streaming reverse
+proxy.
+
+We are kindly asking existing and prospective users of HttpCore to review and try out the
+new protocol handlers and give us feedback while the 4.2 API is still not final. If no major flaws
+are discovered the 4.2 API is expected to be frozen with the next BETA release.
+
+Please note that new features included in this release are still considered experimental and
+their API may change in the future ALPHA releases. This release also marks the end of support for
+Java 1.3. As of this release HttpCore requires Java 1.5 for all its components. Several classes and
+methods deprecated between versions 4.0-beta1 and 4.0 GA (more than two years ago) have been
+removed in this release.
+
+Bug fixes:
* [HTTPCORE-270] Fixed IllegalStateException in AbstractSessionOutputBuffer and
AbstractSessionInputBuffer.
Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java?rev=1172266&r1=1172265&r2=1172266&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java Sun Sep 18 12:09:25 2011
@@ -59,7 +59,7 @@ import org.apache.http.protocol.RequestT
import org.apache.http.protocol.RequestUserAgent;
/**
- * Elemental example for executing HTTP requests using the non-blocking I/O model.
+ * Asynchronous HTTP/1.1 client.
*/
public class NHttpClient {
Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java?rev=1172266&r1=1172265&r2=1172266&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java Sun Sep 18 12:09:25 2011
@@ -101,7 +101,7 @@ import org.apache.http.protocol.Response
import org.apache.http.protocol.ResponseServer;
/**
- * Elemental HTTP/1.1 reverse proxy based on the non-blocking I/O model.
+ * Asynchronous, fully streaming HTTP/1.1 reverse proxy.
*/
public class NHttpReverseProxy {
Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java?rev=1172266&r1=1172265&r2=1172266&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java Sun Sep 18 12:09:25 2011
@@ -85,8 +85,8 @@ import org.apache.http.protocol.Response
import org.apache.http.protocol.ResponseServer;
/**
- * Basic, yet fully functional and spec compliant, HTTP/1.1 server based on the non-blocking
- * I/O model.
+ * HTTP/1.1 file server based on the non-blocking I/O model and capable of direct channel
+ * (zero copy) data transfer.
*/
public class NHttpServer {
Modified: httpcomponents/httpcore/trunk/src/site/apt/download.apt
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/src/site/apt/download.apt?rev=1172266&r1=1172265&r2=1172266&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/src/site/apt/download.apt (original)
+++ httpcomponents/httpcore/trunk/src/site/apt/download.apt Sun Sep 18 12:09:25 2011
@@ -64,24 +64,24 @@ HttpCore Downloads
</dependency>
-------------------------
-* {HttpComponents Core 4.2-alpha1}
+* {HttpComponents Core 4.2-alpha2}
-------------------------
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
- <version>4.2-alpha1</version>
+ <version>4.2-alpha2</version>
<scope>compile</scope>
</dependency>
-------------------------
-* {HttpComponents Core NIO 4.2-alpha1}
+* {HttpComponents Core NIO 4.2-alpha2}
-------------------------
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-nio</artifactId>
- <version>4.2-alpha1</version>
+ <version>4.2-alpha2</version>
<scope>compile</scope>
</dependency>
-------------------------