Commit Graph

280 Commits

Author SHA1 Message Date
Oleg Kalnichevski 1e153a504c HTTPCLIENT-759: Ensure release of connections back to the connection manager on exceptions.
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638517 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 19:22:57 +00:00
Oleg Kalnichevski c84d594f75 HTTPCLIENT-758: Fixed the use of generics in AbstractHttpClient #removeRequestInterceptorByClass and #removeResponseInterceptorByClass
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski




git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635675 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:00:15 +00:00
Oleg Kalnichevski f25c8c1f77 HTTPCLIENT-746: Alternative URL coding methods
Contributed by Stojce Dimski <sdmiski at yahoo.it>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635111 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 23:21:03 +00:00
Oleg Kalnichevski 8f53912519 HTTPCLIENT-749: HttpParams beans
Contributed by Stojce Dimski <sdmiski at yahoo.it>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632313 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 13:19:50 +00:00
Oleg Kalnichevski 2588e16238 HTTPCLIENT-755: Workaround for known bugs in java.net.URI.resolve() (Bug ID: 4708535)
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632273 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 09:43:28 +00:00
Oleg Kalnichevski a24d0b2de1 HTTPCLIENT-754: BasicClientCookie.toString() contains 'name' instead of 'value' when writing out cookie value
Contributed by Thomas Friol <thomas at anyware-tech.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@631985 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 14:31:43 +00:00
Oleg Kalnichevski 64abe1e5a2 Added javadocs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@631721 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 20:51:28 +00:00
Oleg Kalnichevski b055442d4b This patch effectively reverts HTTPCLIENT-643 changes. Multihome fail-over mechanism simply cannot be properly implemented at the socket factory level. A failure in the connect method can leave the socket in a inconsistent state on some platforms (Mac OS), making it impossible to connect the same socket to a different address
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@631713 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 20:40:35 +00:00
Roland Weber a42e4de19e more volatiles, not sure whether these are needed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@630417 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 09:04:32 +00:00
Roland Weber 898a8edc53 missing volatile declarations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@630414 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 08:59:18 +00:00
Oleg Kalnichevski 30e15edc67 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@629589 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 19:42:42 +00:00
Oleg Kalnichevski 49021f33b8 [maven-release-plugin] prepare release 4.0-alpha3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@629587 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 19:42:26 +00:00
Oleg Kalnichevski 44cb5c03e0 Do not attempt to update the auth state if not valid
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627483 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 15:39:37 +00:00
Oleg Kalnichevski d720162806 #isStale to return true if the connection has been aborted
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627464 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 15:20:53 +00:00
Oleg Kalnichevski b6f3d188bb Web site updates for the 4.0-alpha3 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627080 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 20:25:32 +00:00
Erik Abele 9c602edefc Module site improvements for HttpClient:
- add license header to stay in sync with other site.xml's
  - change Home link to HttpComponents
  - add Overview menu for easier navigation


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620548 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 17:46:42 +00:00
Oleg Kalnichevski 72ec65e6cb Updated dependency declarations in poms
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620519 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 16:33:39 +00:00
Roland Weber a955029035 HttpRoutePlanner uses RouteInfo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620255 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 10:23:55 +00:00
Roland Weber 2c2dd57f72 HTTPCLIENT-742: common interface for HttpRoute and RouteTracker
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620254 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 10:18:48 +00:00
Roland Weber 7c53de5b93 HTTPCLIENT-726: test for spurious wakeups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619610 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:01:04 +00:00
Roland Weber 2d0496fdd1 fixed and extended JavaDocs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619550 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 18:37:21 +00:00
Roland Weber 51396fcf43 beautified NO_HOST, slightly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619535 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 18:11:17 +00:00
Oleg Kalnichevski aa020a5c0d HTTPCLIENT-643: Automatic connect fail-over for multi-home remote servers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619163 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 21:41:06 +00:00
Oleg Kalnichevski 5349fe9f8b HTTPCLIENT-733: Added HTTP DELETE method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618343 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 17:44:59 +00:00
Oleg Kalnichevski 4f6599c959 HTTPCLIENT-738: Renamed o.a.http.conn.ssl.HostnameVerifier to o.a.http.conn.ssl.X509HostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618309 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:01:24 +00:00
Oleg Kalnichevski 137da8207d HTTPCLIENT-739: CookieIdentityComparator and CookiePathComparator now implement Serializable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618308 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 15:51:19 +00:00
Roland Weber 55ffbe1b6c tests for hierarchical unsetting of default proxy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618138 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 00:58:42 +00:00
Roland Weber b0dc5a5d6a more tests for route params, coverage complete
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618133 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 00:29:06 +00:00
Roland Weber 1892a783cc first tests for route params
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618122 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 23:26:29 +00:00
Roland Weber 6963674cd6 HTTPCLIENT-735: explicit unsetting of DEFAULT_PROXY and FORCED_ROUTE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618119 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 23:14:50 +00:00
Roland Weber 38761e7e46 HTTPCLIENT-723: basic test coverage for ProxySelectorRoutePlanner
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618048 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 18:14:48 +00:00
Roland Weber 3fc63457df release notes and an exception punctuation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618020 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:06:26 +00:00
Roland Weber d3353f00e8 HTTPCLIENT-740: start connection GC thread in extra call after construction
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618019 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:02:31 +00:00
Oleg Kalnichevski 0f561bdf2b HTTPCLIENT-741: AbstractClientConnAdapter#abortConnection() no longer releases the wrapped connection back to the connection manager. The wrapped connection gets shut down, but remains attached to the adapter. The connection is expected to be released back to the connection manager by the request execution thread.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617839 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 17:38:07 +00:00
Oleg Kalnichevski 6d1391a332 HTTPCLIENT-741: Ensure thread safety for AbstractClientConnAdapter and its subclasses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617817 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 15:47:07 +00:00
Sebastian Bazley 8c08ae3178 Fixup odd tab usage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617645 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:05:31 +00:00
Sebastian Bazley 13d6dc3da4 Fixup identation problems caused by Eclipse autocorrect when adding @Override
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617644 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:04:09 +00:00
Sebastian Bazley 430d7d10cb Integer|Long.valueOf() are cheaper than new Integer()|Long()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617643 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:56:12 +00:00
Sebastian Bazley 553a26bc1b Fixup identation problems caused by Eclipse autocorrect when adding @Override
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617642 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:54:07 +00:00
Sebastian Bazley c953589141 Fixup identation problems caused by Eclipse autocorrect when adding @Override
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617638 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:49:26 +00:00
Roland Weber 799365d07a HTTPCLIENT-736: SchemeRegistry instead of ConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617616 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 19:27:30 +00:00
Roland Weber 27f4cee3c5 HTTPCLIENT-737 fixed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617581 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 18:01:01 +00:00
Sebastian Bazley 9b592fd961 Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617233 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:38:04 +00:00
Sebastian Bazley 2cc2818642 Removing unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617207 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:14:12 +00:00
Sebastian Bazley 8c73effc71 Fix Javadoc complaint and remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617206 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:11:43 +00:00
Sebastian Bazley 31488a0220 Fix Javadoc complaints
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617193 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:26:47 +00:00
Roland Weber 632bf9aba6 attribute visibility and explicit ProxySelector
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617184 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:42:19 +00:00
Roland Weber 91f7ef4cef removed wrong comments
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617179 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:28:24 +00:00
Oleg Kalnichevski 291da5706e Made constructor public
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@616910 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 21:33:44 +00:00
Oleg Kalnichevski da00b07129 HTTPCLIENT-734: Set release trigger on a managed connection as soon as it is allocated by the connection manager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615584 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 12:07:42 +00:00