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 2007/08/15 10:34:30 UTC

svn commit: r566065 - in /jakarta/httpcomponents/oac.hc3x/trunk: build.xml project.xml release_notes.txt src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java

Author: olegk
Date: Wed Aug 15 01:34:30 2007
New Revision: 566065

URL: http://svn.apache.org/viewvc?view=rev&rev=566065
Log:
Updated release notes and project files for release 3.1 final

Modified:
    jakarta/httpcomponents/oac.hc3x/trunk/build.xml
    jakarta/httpcomponents/oac.hc3x/trunk/project.xml
    jakarta/httpcomponents/oac.hc3x/trunk/release_notes.txt
    jakarta/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java

Modified: jakarta/httpcomponents/oac.hc3x/trunk/build.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/trunk/build.xml?view=diff&rev=566065&r1=566064&r2=566065
==============================================================================
--- jakarta/httpcomponents/oac.hc3x/trunk/build.xml (original)
+++ jakarta/httpcomponents/oac.hc3x/trunk/build.xml Wed Aug 15 01:34:30 2007
@@ -38,7 +38,7 @@
   <property name="component.title"         value="HttpClient Library"/>
 
   <!-- The current version number of this component -->
-  <property name="component.version"       value="3.1-rc1"/>
+  <property name="component.version"       value="3.1"/>
 
 <!-- ========== Properties: Source Directories ============================ -->
 

Modified: jakarta/httpcomponents/oac.hc3x/trunk/project.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/trunk/project.xml?view=diff&rev=566065&r1=566064&r2=566065
==============================================================================
--- jakarta/httpcomponents/oac.hc3x/trunk/project.xml (original)
+++ jakarta/httpcomponents/oac.hc3x/trunk/project.xml Wed Aug 15 01:34:30 2007
@@ -7,7 +7,7 @@
   <artifactId>commons-httpclient</artifactId>
   <gumpRepositoryId>jakarta-commons-httpclient</gumpRepositoryId>
   <inceptionYear>2001</inceptionYear>
-  <currentVersion>3.1-rc1</currentVersion>
+  <currentVersion>3.1</currentVersion>
   <package>org.apache.commons.httpclient</package>
 
   <organization>
@@ -33,6 +33,11 @@
     <url>http://svn.apache.org/repos/asf/jakarta/httpcomponents/oac.hc3x/trunk</url>
   </repository>
   <versions>
+    <version>
+      <id>3.1</id>
+      <name>3.1</name>
+      <tag>HTTPCLIENT_3_1</tag>
+    </version>
     <version>
       <id>3.1-rc1</id>
       <name>3.1-rc1</name>

Modified: jakarta/httpcomponents/oac.hc3x/trunk/release_notes.txt
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/trunk/release_notes.txt?view=diff&rev=566065&r1=566064&r2=566065
==============================================================================
--- jakarta/httpcomponents/oac.hc3x/trunk/release_notes.txt (original)
+++ jakarta/httpcomponents/oac.hc3x/trunk/release_notes.txt Wed Aug 15 01:34:30 2007
@@ -1,3 +1,14 @@
+Release 3.1 Final
+-------------------
+
+New features:
+-------------------
+
+(1) HTTP state management
+ 
+ * RFC 2965 cookie specification support
+
+-------------------
 Changes since 3.1 RC 1
 
 * [HTTPCLIENT-679] - Fixed RFC3986 compliance problem in URI absolutization
@@ -14,7 +25,7 @@
            Contributed by Roland Weber <rolandw at apache.org>
 
 * [HTTPCLIENT-651] - Improved API Doc regarding response buffering.
-           Contributed by Ortwin Gl�ck <oglueck at apache.org>
+           Contributed by Ortwin Glueck <oglueck at apache.org>
 
 * [HTTPCLIENT-645] - Cookie#compare() changed to do a simple case-sensitive string comparison 
            when comparing path attributes instead of using a static instance of RuleBasedCollator
@@ -23,51 +34,8 @@
            instead of all at once afterwards, which fails on parse errors.
            Contributed by Roland Weber <rolandw at apache.org>
 
-Release 3.1 RC 1
+API changes since release 3.0.1
 -------------------
-New features:
--------------------
-
-(1) HTTP state management
- 
- * RFC 2965 cookie specification support
-  
--------------------
-* [HTTPCLIENT-641] - Resource Leakage when loading keystore in AuthSSLProtocolSocketFactory.
-           Contributed by Hanson Char
-
-* [HTTPCLIENT-634] - Default host config can override scheme of absolute URL.
-           Contributed by John Kristian
-
-* [HTTPCLIENT-633] - Changed MultiThreadedHttpConnectionManager's handling of thread 
-           interrupts. IllegalThreadStateException is now thrown when waiting threads
-           are interrupted from outside of the connection manager.
-           Contributed by Michael Becke <mbecke at apache.org>
-
-* [HTTPCLIENT-628] - IOException in AutoCloseInputStream.available()
-           Contributed by Roland Weber <rolandw at apache.org>
-
-* [HTTPCLIENT-625] - revised shutdown of MultiThreadedHttpConnectionManager
-           Contributed by Roland Weber <rolandw at apache.org>
-
-* [HTTPCLIENT-622] - Leak in MultiThreadedHttpConnectionManager.ConnectionPool.mapHosts
-           Contributed by Michael Becke <mbecke at apache.org> and Ortwin Glueck <oglueck at apache.org>
-
-* [HTTPCLIENT-612] - FileRequestEntity now always closes the input file.
-           Contributed by Sebastian Bazley <sebb at apache.org>
-
-* [HTTPCLIENT-616] - HttpMethodDirector.executeWithRetry method fixed to close 
-           the underlying connection if a RuntimeException is thrown
-           Contributed by Jason Bird
-
-* [HTTPCLIENT-606] - Added a HTTP method level parameter for URI charset
-           Contributed by Oleg Kalnichevski <olegk at apache.org>
-
-* [HTTPCLIENT-610] - Added for convenience HttpMethodBase.getResponseBodyAsString(int)
-           Contributed by Ortwin Glueck <oglueck at apache.org>
--------------------
-API changes since 3.0
-           
 Class added: 
   public org.apache.commons.httpclient.HttpContentTooLargeException extends org.apache.commons.httpclient.HttpException
 Class added: 
@@ -121,6 +89,12 @@
     protected org.apache.commons.httpclient.HttpVersion effectiveVersion;
     protected org.apache.commons.httpclient.StatusLine statusLine;
 
+Class changed: org.apache.commons.httpclient.HttpState
+  Fields added:
+    protected java.util.ArrayList cookies;
+    protected java.util.HashMap credMap;
+    protected java.util.HashMap proxyCred;
+
 Class changed: org.apache.commons.httpclient.ProxyHost
   Method changed:
   old:
@@ -153,6 +127,26 @@
   new:
     protected final static char[] rootPath;
 
+Class changed: org.apache.commons.httpclient.auth.AuthSchemeBase
+  Methods removed:
+    deprecated: public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
+    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
+    deprecated: public abstract java.lang.String getID();
+    public abstract java.lang.String getParameter(java.lang.String);
+    public abstract java.lang.String getRealm();
+    public abstract java.lang.String getSchemeName();
+    public abstract boolean isComplete();
+    public abstract boolean isConnectionBased();
+    public abstract void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
+
+Class changed: org.apache.commons.httpclient.auth.RFC2617Scheme
+  Methods removed:
+    deprecated: public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
+    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
+    public abstract java.lang.String getSchemeName();
+    public abstract boolean isComplete();
+    public abstract boolean isConnectionBased();
+
 Class changed: org.apache.commons.httpclient.cookie.CookiePolicy
   Methods added:
     public static java.lang.String[] getRegisteredCookieSpecs();
@@ -187,25 +181,43 @@
 
 API diff generated by JarDiff http://www.osjava.org/jardiff/
 -------------------
-                        
-Release 3.1 Beta 1
+
+Release 3.1 RC 1  
 -------------------
-Changes since Release 3.1 Alpha 1:
+Changes since Release 3.1 Beta1:
+
+* [HTTPCLIENT-641] - Resource Leakage when loading keystore in AuthSSLProtocolSocketFactory.
+           Contributed by Hanson Char
 
-* [HTTPCLIENT-598] - Fixed ContentLengthInputStream#available()
-           Contributed by Igor Lubashev <igorlord at yahoo.com>
+* [HTTPCLIENT-634] - Default host config can override scheme of absolute URL.
+           Contributed by John Kristian
 
-* [HTTPCLIENT-597] - Improved handling of idle connections in the multithreaded HTTP connection 
-           manager. 
+* [HTTPCLIENT-633] - Changed MultiThreadedHttpConnectionManager's handling of thread 
+           interrupts. IllegalThreadStateException is now thrown when waiting threads
+           are interrupted from outside of the connection manager.
            Contributed by Michael Becke <mbecke at apache.org>
 
-* [HTTPCLIENT-593] - Fixed problem with #equals() and #hashCode() methods in subclasses of 
-           DefaultProtocolSocketFactory and SSLProtocolSocketFactory
-           Contributed by Chris Audley <chrisaudley at yahoo.com>
+* [HTTPCLIENT-628] - IOException in AutoCloseInputStream.available()
+           Contributed by Roland Weber <rolandw at apache.org>
 
-* [HTTPCLIENT-594] - HttpMethodBase#aborted variable was declared transient instead of volatile
-           by mistake.
+* [HTTPCLIENT-625] - revised shutdown of MultiThreadedHttpConnectionManager
+           Contributed by Roland Weber <rolandw at apache.org>
+
+* [HTTPCLIENT-622] - Leak in MultiThreadedHttpConnectionManager.ConnectionPool.mapHosts
+           Contributed by Michael Becke <mbecke at apache.org> and Ortwin Glueck <oglueck at apache.org>
+
+* [HTTPCLIENT-612] - FileRequestEntity now always closes the input file.
+           Contributed by Sebastian Bazley <sebb at apache.org>
+
+* [HTTPCLIENT-616] - HttpMethodDirector.executeWithRetry method fixed to close 
+           the underlying connection if a RuntimeException is thrown
+           Contributed by Jason Bird
+
+* [HTTPCLIENT-606] - Added a HTTP method level parameter for URI charset
            Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+* [HTTPCLIENT-610] - Added for convenience HttpMethodBase.getResponseBodyAsString(int)
+           Contributed by Ortwin Glueck <oglueck at apache.org>
 
 Release 3.1 Alpha 1
 -------------------

Modified: jakarta/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java?view=diff&rev=566065&r1=566064&r2=566065
==============================================================================
--- jakarta/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java (original)
+++ jakarta/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java Wed Aug 15 01:34:30 2007
@@ -67,7 +67,7 @@
     protected HttpParams createParams() {
         HttpClientParams params = new HttpClientParams(null);
         
-        params.setParameter(HttpMethodParams.USER_AGENT, "Jakarta Commons-HttpClient/3.1-rc1");
+        params.setParameter(HttpMethodParams.USER_AGENT, "Jakarta Commons-HttpClient/3.1");
         params.setVersion(HttpVersion.HTTP_1_1);
         params.setConnectionManagerClass(SimpleHttpConnectionManager.class);
         params.setCookiePolicy(CookiePolicy.DEFAULT);