commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r414231 - /jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/SimpleHttpConnectionManager.java
Date Wed, 14 Jun 2006 13:01:48 GMT
Author: olegk
Date: Wed Jun 14 06:01:48 2006
New Revision: 414231

URL: http://svn.apache.org/viewvc?rev=414231&view=rev
Log:
[HTTPCLIENT-552] Add shutdown method to SimpleHttpConnectionManager

Contributed by Oleg Kalnichevski
Reviewed by Michael Becke and Sebastian Bazley

Modified:
    jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/SimpleHttpConnectionManager.java

Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/SimpleHttpConnectionManager.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/SimpleHttpConnectionManager.java?rev=414231&r1=414230&r2=414231&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/SimpleHttpConnectionManager.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/SimpleHttpConnectionManager.java
Wed Jun 14 06:01:48 2006
@@ -272,4 +272,12 @@
             httpConnection.close();
         }
     }
+    
+    /**
+     * since 3.1
+     */
+    public void shutdown() {
+        httpConnection.close();
+    }
+    
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message