Commit Graph

386 Commits

Author SHA1 Message Date
Oleg Kalnichevski e1ac27569a HTTPCLIENT-746: Refactored URLUtils into URLEncodedUtils and URIUtils
Contributed by Stojce Dimski <sdmiski at yahoo.it>
Reviewed by Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645071 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 10:53:05 +00:00
Oleg Kalnichevski 4b3b19a8bd HTTPCLIENT-741: More concurrency fixes in HttpConn classes
Contributed by Tim Julien <tjulien at limewire.com>
Reviewed by Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@643531 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 19:38:50 +00:00
Oleg Kalnichevski 5956d0ed5f Removed unused method from the ClientRequestDirector interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@640959 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 19:49:35 +00:00
Oleg Kalnichevski 97bb41b687 GTTPCLIENT-760: Improved handling of request abort in fringe situations such as request abort immediately after a connection has been allocated but before the release trigger has been set
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@639600 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 11:28:15 +00:00
Oleg Kalnichevski c51f3a980f HTTPCLIENT-734: API refinements
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@639506 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 00:40:54 +00:00
Oleg Kalnichevski a72e883d9c HTTPCLIENT-734: Request abort will unblock the thread waiting for a connection
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638979 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 19:36:02 +00:00
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
Oleg Kalnichevski 49ba9e65e6 Replaced CharArrayBuffer with the JRE standard StringBuilder in all instances where CharArrayBuffer is not being used for building HTTP headers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615228 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 14:12:39 +00:00
Oleg Kalnichevski d605c403eb HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters (missed one rewrite)
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614927 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 17:00:09 +00:00
Oleg Kalnichevski 7c4f0f14ca HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614925 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:53:22 +00:00
Oleg Kalnichevski c8dd44d901 Upgraded HttpCore dependency to 4.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614494 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 11:12:51 +00:00
Oleg Kalnichevski f3ced2556a HTTPCLIENT-667:
* Completed 'best match' cookie spec implementation
* Added test coverage
* Made the 'best match' cookie policy default


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613865 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 12:04:30 +00:00
Oleg Kalnichevski 6e68e5ec92 First take at the 'best match' cookie spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613707 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 00:28:37 +00:00
Roland Weber 8a300abec9 fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613656 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:06:56 +00:00
Roland Weber bcc2848421 HTTPCLIENT-729: moved HttpRoute and friends to conn.routing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613654 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:00:19 +00:00
Oleg Kalnichevski dfffbc9a3c Fixed incorrect handling of redirect locations with the query component
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@610838 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 16:31:32 +00:00
Oleg Kalnichevski 5709949205 Renamed SimpleParamStack to DefaultedHttpParams; removed #isParameterSet method from the HttpParams interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610764 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 12:04:10 +00:00
Oleg Kalnichevski 96f2c55a3c Replaced HTTP parameter linking with a simple child/parent stack
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610470 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:18:45 +00:00
Oleg Kalnichevski 33498f875a Log HTTP parameter values in ClientParamsStack#getParameter
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610052 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 16:24:51 +00:00
Roland Weber 74f349b0c5 tsccm test coverage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609547 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 09:49:51 +00:00
Roland Weber 22cbf65e15 pointing component and module stylesheets to hc.apache.org
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609527 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 07:52:29 +00:00
Roland Weber f9db56cab2 tests for WaitingThread class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609389 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 19:57:05 +00:00
Oleg Kalnichevski 931953f769 HTTPCORE-136: Added #removeParameter
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 14:14:00 +00:00
Roland Weber df9d1ddc2c serialVersionUID attributes are private
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609105 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 08:55:00 +00:00
Roland Weber 5d43cf9acb updated copyright years
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@608005 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 04:52:27 +00:00
Roland Weber 98e8713c02 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:51:11 +00:00
Roland Weber 1d3425c2db HTTPCLIENT-725: time unit when closing idle connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607432 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:50:02 +00:00
Roland Weber d1a4c2ce6d HTTPCLIENT-725: time unit when getting a connection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607430 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:39:11 +00:00
Roland Weber 7ec734211f HTTPCLIENT-725: use factory methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607426 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:16:51 +00:00
Roland Weber 6830f05aab HTTPCLIENT-725: use deadline instead of adjusted timeout interval
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607424 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:02:49 +00:00
Roland Weber 540984183f HTTPCLIENT-677: no Thread.interrupt() for shutdown
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607421 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 14:40:44 +00:00
Roland Weber 7a2a85f25e HTTPCLIENT-677: don't use interrupt for regular wakeup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607293 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:25:23 +00:00
Roland Weber a453692c09 HTTPCLIENT-677: switching to new WaitingThread class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607289 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:08:13 +00:00
Roland Weber caf0b10534 HTTPCLIENT-677: replacing synchronized with Lock/Condition
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607287 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 16:59:17 +00:00
Roland Weber 2e6c2957ef fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607238 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 13:17:00 +00:00
Roland Weber 2403daf243 added Apache header to apt files
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607237 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 13:15:52 +00:00
Roland Weber 18fc621d22 HTTPCLIENT-716: removed context lookup for forced route
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606453 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 14:24:30 +00:00
Roland Weber e127f2278d HTTPCLIENT-723: initial implementation, completely untested
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606452 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 14:08:56 +00:00
Roland Weber 298a16321c HTTPCLIENT-716: new params for route planner, including a forced route
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606447 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 13:04:02 +00:00
Roland Weber 2f98b75ee0 removed param name from HttpConnParams, it's in ConnRoutePNames
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606425 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 08:54:55 +00:00
Roland Weber 8ea6827dc2 HTTPCLIENT-712: route tracker test coverage back to 100%
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606189 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 13:12:18 +00:00
Roland Weber 2016962d6f HTTPCLIENT-712: removed deprecated single proxy constructor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606186 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 13:02:37 +00:00
Roland Weber 789bc843c0 HTTPCLIENT-712: removed deprecated proxy chain constructor, added testcase for null enums
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606184 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 12:58:07 +00:00
Roland Weber 52cb8d3def HTTPCLIENT-712: added enums for tunnel and layer flags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606103 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 05:44:40 +00:00
Oleg Kalnichevski 78f79461a1 Added mandatory links to ASF wide resources
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@605045 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 23:33:05 +00:00
Oleg Kalnichevski 7156b09760 Web site fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@604934 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 17:13:39 +00:00
Oleg Kalnichevski 30d4733d06 POM reflecting promotion to the TLP status
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@604869 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 13:54:38 +00:00
Oleg Kalnichevski f696e1f684 HTTPCLIENT-718: SSL verification occurs before setSoTimeout, which can lead to hangs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604462 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 17:46:43 +00:00
Oleg Kalnichevski 2370dc5fd3 CookieStore converted to generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604434 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:45:48 +00:00
Oleg Kalnichevski d417db6bba HTTPCLIENT-711: Bad route computed for redirected requests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:35:20 +00:00
Roland Weber f1f1a7a72c cleanup and accessors in RouteSpecificPool
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604259 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 19:05:02 +00:00
Roland Weber 289c793a54 use Queue interface in ConnPoolByRoute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604252 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:43:46 +00:00
Roland Weber 8941651d8a fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604248 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:30:53 +00:00
Roland Weber 494daec53f HTTPCLIENT-715: RoutedRequest moved to impl.client package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 19:00:22 +00:00
Roland Weber c86b3b02bd HTTPCLIENT-715: changed more tests and examples to not use RoutedRequest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603977 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:54:50 +00:00
Roland Weber 389cd303f2 HTTPCLIENT-715: changed tests and one example to not use RoutedRequest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603969 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:30:18 +00:00
Roland Weber 92a3847e4c HTTPCLIENT-715: one of the RoutedRequest methods removed from HttpClient interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603966 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:15:11 +00:00
Roland Weber 6d57a9d5a8 HTTPCLIENT-714: computation of original route moved to director
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603965 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 17:51:03 +00:00
Roland Weber be0227d72a HTTPCLIENT-713: remove RoutedRequest from ClientRequestDirector interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603956 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 17:10:22 +00:00
Oleg Kalnichevski baf3239aec Removed unnecessary casts; minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603878 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:51:52 +00:00
Oleg Kalnichevski b62ae8fc19 Fixed remaining generics warnings in o.a.h.impl.conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603874 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:42:41 +00:00
Oleg Kalnichevski 08bf8e8e50 Generics in test cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603871 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:33:25 +00:00
Roland Weber 4d8e798156 fixed connection reuse bug, see HTTPCLIENT-711
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603812 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 04:09:47 +00:00
Oleg Kalnichevski 7477aa3042 Generics in o.a.h.impl.client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603615 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 14:03:21 +00:00
Roland Weber 0603fc9f3c remove last two generics warnings from API part of the code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603610 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 13:29:55 +00:00
Oleg Kalnichevski f4d2074d1e HttpAuth converted to use collections with generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603567 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 11:25:00 +00:00
Oleg Kalnichevski 34d72d935e HttpCookie converted to use collections with generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603563 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 11:17:55 +00:00
Oleg Kalnichevski d12f607b7f Use SimpleDateFormat instead of DateFormat to avoid cast
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603321 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:26:45 +00:00
Oleg Kalnichevski 86f8cd7460 Ain't generics fun?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603319 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:13:00 +00:00
Oleg Kalnichevski 89ffb0f780 More generics all over
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603318 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:06:50 +00:00
Roland Weber 3337029c96 some more generics in client and friends
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603312 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 17:27:55 +00:00
Roland Weber 87ff897181 generics in HttpConn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@602981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 18:01:12 +00:00
Oleg Kalnichevski c7b26a6450 HTTPCLIENT-705: Fixed incorrect handling of URIs with null path component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@596230 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 09:19:01 +00:00
Oleg Kalnichevski a543fc4fff Re-synched HttpClient trunk with HttpCore trunk
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@595948 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 13:39:46 +00:00
Oleg Kalnichevski 3ddce358ae HTTPCLIENT-688: HttpOptions#getAllowedMethods can now handle multiple Allow headers
Contributed by Andrea Selva <selva.andre at gmail.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@594946 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 16:59:15 +00:00
Roland Weber 8616ef1ab2 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591748 13f79535-47bb-0310-9956-ffa450edef68
2007-11-04 09:27:49 +00:00
Oleg Kalnichevski 1564243b0b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591361 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:22:07 +00:00
Oleg Kalnichevski c3ba003710 [maven-release-plugin] prepare release 4.0-alpha2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591359 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:21:50 +00:00
Oleg Kalnichevski 3ff047a1ae Added missing license headers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590695 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 14:55:41 +00:00
Oleg Kalnichevski 47b1f3e3d6 Fixed javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590162 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:18:52 +00:00
Oleg Kalnichevski 243769a600 HTTPCLIENT-698: Resolve non-absolute redirect URIs relative to the request URI
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589630 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 13:57:15 +00:00
Oleg Kalnichevski e445d72146 HTTPCLIENT-697: Throw a more intelligible exception when connection to a remote host cannot be established.
Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589382 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 16:56:32 +00:00
Oleg Kalnichevski a8e875970d HTTPCLIENT-689: Caching of SimpleDateFormat in DateUtils
Contributed by Daniel Müller <strider at digitalstrider.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@587904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 15:02:49 +00:00
Roland Weber 13124872f7 HTTPCLIENT-689: parameter stack building moved to AbstractHttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@586567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:18:21 +00:00
Oleg Kalnichevski bf541ba1fd HTTPCLIENT-477: Use distinct instances of the authentication handler interface for authentication with target and proxy hosts
Contributed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@585984 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:44:26 +00:00
Oleg Kalnichevski b0f91905f4 Upgraded HttpCore dependency to 4.0-ALPHA6
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@584545 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 13:40:19 +00:00
Oleg Kalnichevski e215891dd0 Test if the host name appears to be a fully qualified DNS name, IPv4 address or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583886 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 17:13:53 +00:00
Oleg Kalnichevski 19e029924f HTTPCLIENT-617: Hostname verification: turn off wildcards when CN is an IP address
Contributed by Julius Davies <juliusdavies at gmail.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583749 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 09:19:45 +00:00
Oleg Kalnichevski 3e8a5f6863 Added utility class to test whether a string represents a valid IPv4 or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583201 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:48:12 +00:00
Oleg Kalnichevski fe1fa7cd3f HTTPCLIENT-693: Set stacked parameters on the request wrapper instead of the original request (this also ensures parameters get correctly set on all follow-up requests)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582651 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 17:16:28 +00:00
Oleg Kalnichevski 52b28593cd Ported redirect test cases from the HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 16:51:11 +00:00
Oleg Kalnichevski d7a751cfeb HTTPCLIENT-687: Correctly set response parameters
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582639 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 14:48:11 +00:00
Oleg Kalnichevski 8ad4cebc82 Added protocol test cases to TestAll test suite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582637 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 14:37:22 +00:00
Oleg Kalnichevski c0a972f953 HTTPCLIENT-693: Moved DEFAULT_HEADERS logic to a protocol interceptor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582624 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 13:12:29 +00:00
Oleg Kalnichevski 3bd51e812d Ported Cookie2 test cases from the HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582602 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 09:35:48 +00:00
Oleg Kalnichevski e6d76b2750 * Merged CookieVersionSupport methods into the CookieSpec interface
* Added support for Set-Cookie2 and Cookie2 headers 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582479 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 11:11:09 +00:00
Oleg Kalnichevski 4f153b3ed3 Register RFC 2965 cookie spec with the default HttpClient impl
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581954 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 15:59:09 +00:00
Oleg Kalnichevski 50179d9081 Ported RFC 2965 cookie spec from HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581953 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 15:53:50 +00:00
Roland Weber 25a9063286 renamed interface SecureSocketFactory to LayeredSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580615 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:40:33 +00:00
Roland Weber e033a99de3 HTTPCLIENT-690: provide access to the SSLSession of SSL connections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580608 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:18 +00:00
Roland Weber 7edb8cc47a OMG, how could this ever leave my local machine...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580079 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:21:02 +00:00