Commit Graph

244 Commits

Author SHA1 Message Date
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