hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r539854 - in /jakarta/httpcomponents/httpcore/trunk: RELEASE_NOTES.txt module-main/src/main/java/org/apache/http/params/HttpParams.java
Date Sun, 20 May 2007 10:10:25 GMT
Author: rolandw
Date: Sun May 20 03:10:22 2007
New Revision: 539854

URL: http://svn.apache.org/viewvc?view=rev&rev=539854
Log:
added HttpParams.copy() to the interface, updated release notes

Modified:
    jakarta/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
    jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/params/HttpParams.java

Modified: jakarta/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt?view=diff&rev=539854&r1=539853&r2=539854
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt (original)
+++ jakarta/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt Sun May 20 03:10:22 2007
@@ -1,5 +1,8 @@
 Changes since 4.0 Alpha 4
 
+* [HTTPCORE-71]: HttpParams can be copied.
+  Contributed by Roland Weber <rolandw at apache.org>
+
 * [HTTPCORE-75]: DefaultNHttpServerConnection and DefaultNHttpClientConnection 
   now correctly terminate the underlying I/O session when closed. 
   BufferingHttpServiceHandler now correctly applies connection keep-alive 

Modified: jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/params/HttpParams.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/params/HttpParams.java?view=diff&rev=539854&r1=539853&r2=539854
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/params/HttpParams.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/params/HttpParams.java
Sun May 20 03:10:22 2007
@@ -92,7 +92,14 @@
      * @param value parameter value
      */ 
     HttpParams setParameter(String name, Object value);
-    
+
+    /**
+     * Creates a copy of these parameters.
+     *
+     * @return  a new set of parameters holding the same values as this one
+     */
+    HttpParams copy();
+
     /** 
      * Returns a {@link Long} parameter value with the given name. 
      * If the parameter is not explicitly defined in this collection, its 



Mime
View raw message