Commit Graph

2225 Commits

Author SHA1 Message Date
Roland Weber 47cad596ae JavaDoc fixes, removed broken constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535473 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 07:58:51 +00:00
Oleg Kalnichevski 0a8b3be76d Implemented the HTTP state management using new protocol interceptor framework. Cookie2 support has not been ported yet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535132 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 09:01:16 +00:00
Oleg Kalnichevski 55c1c75b10 * Fully initialize the default instances of HttpParams, CookieSpecRegistry, and AuthSchemeRegistry
* Instantiate the default ClientConnectionManager based on the HttpParams content

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@534839 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 13:03:41 +00:00
Oleg Kalnichevski 7cda278cd5 Changelog:
* Removed static instances from SchemeRegistry, CookieSpecRegistry and AuthSchemeRegistry
* Made sure there is only one instance of SchemeRegistry per HttpClient / ClientConnectionManager
* HostConfiguration, HttpRoute and RouteTracker no longer implement Cloneable as they do not override #clone() method
* AbstractHttpClient should now be threading safe
* DefaultHttpClient populates HTTP execution context with data required for request execution

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@534769 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 09:51:22 +00:00
Roland Weber 9fb978483a some InvalidArgument test cases for TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@533491 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 09:07:37 +00:00
Roland Weber 16707c2258 more serverless tests for TSCCM, one bug fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@533488 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 08:40:23 +00:00
Roland Weber 8b36eecb33 first (serverless) test case for TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@533410 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 18:46:54 +00:00
Oleg Kalnichevski 62b67ba1ac Changed Cookie#isExpired() to take current system time as an argument instead of obtaining it through System#currentTimeMillis()
Suggested by Roland Weber

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@531455 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 12:54:52 +00:00
Roland Weber 4fc15c9a55 JavaDoc fixes in client/cookie/auth
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@531154 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 08:01:16 +00:00
Roland Weber 6802e38045 HTTPCLIENT-635, port of HTTPCLIENT-633
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@531152 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 07:41:06 +00:00
Roland Weber 765bbc3947 added Ant build dependency, fixed synchronization bug
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528628 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:43:07 +00:00
Oleg Kalnichevski 04d43a0dd6 Added URL encoded form entity
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528521 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:21:04 +00:00
Oleg Kalnichevski 48c6f17ba1 Ported URL encoding utils from Commons HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528509 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 14:59:45 +00:00
Oleg Kalnichevski d64edda9e5 Added method to extract a set of allowed methods from the OPTIONS response
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528488 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 14:01:26 +00:00
Oleg Kalnichevski 58113ab702 Added ability to abort HTTP methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528462 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 12:25:11 +00:00
Oleg Kalnichevski 254de778a5 Added HttpGet, HttpHead, HttpPost, HttpPut, HttpTrace, and HttpOptions classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528433 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 10:36:05 +00:00
Oleg Kalnichevski a98e1f6629 Ported HttpState from Commons HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527976 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 15:21:53 +00:00
Oleg Kalnichevski d502620eac Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527904 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 12:43:58 +00:00
Oleg Kalnichevski 1554373cf8 Renamed CookiePolicy to CookieSpecRegistry and AuthPolicy to AuthSchemeRegistry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527903 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 12:42:35 +00:00
Oleg Kalnichevski 134b0bf0f9 Changelog:
* Made all methods in AuthPolicy and CookiePolicy non-static
* API and internal implementation of AuthPolicy, CookiePolicy and SchemeRegistry made more consistent
* Removed name iterator from the SchemeRegistry
* Changed AuthPolicy to use auth scheme factories

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527900 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 12:35:25 +00:00
Oleg Kalnichevski 919eeb2933 Ported AuthPolicy and AuthScope from Commons HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527681 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 21:27:29 +00:00
Oleg Kalnichevski 31d1001b23 Renamed some test case classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527496 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 14:00:18 +00:00
Oleg Kalnichevski 25afa68faa Ported DigestScheme and related test cases from Commons HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527479 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 12:55:12 +00:00
Oleg Kalnichevski ab199c3513 Ported UsernamePasswordCredentials, BasicScheme and related test cases from Commons HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@527146 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 14:41:44 +00:00
Oleg Kalnichevski f9ff925e2d * Removed TalkativeSocketFactory
* Fixed a minor bug in test HTTP server

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@526921 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 21:11:42 +00:00
Oleg Kalnichevski a86b2d754a Ported RFC2617Scheme from Commons HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@526919 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 21:10:01 +00:00
Oleg Kalnichevski 4ff37c9c5e Added HTTP headers log
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@526466 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 18:16:01 +00:00
Oleg Kalnichevski b94236fa2e Ported wire logging from Commons HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@526418 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 11:18:37 +00:00
Oleg Kalnichevski 9be91137d5 Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@519292 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 11:43:29 +00:00
Roland Weber bbeb59c50a redundant 'implements' as JavaDoc improvement
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@511481 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 11:03:12 +00:00
Roland Weber 966e0fd8a6 TSCCM uses pooled connection adapter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@511479 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 10:56:38 +00:00
Roland Weber e96c1657a7 new pooled connection adapter, simplified SingleCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@511477 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 10:41:55 +00:00
Roland Weber 674c28015f SimpleCCM becomes SingleCCM, uses a pool entry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@511474 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 10:02:31 +00:00
Roland Weber f87722797a abstract pool entry, refactored from TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@511462 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 08:13:07 +00:00
Roland Weber 0f50e55b29 cleaned up test server based on Oleg's code in HttpCore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@511332 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 19:49:03 +00:00
Roland Weber 6c68de5452 LocalTestServer and related stuff. No actual test cases yet.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@510634 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 19:44:36 +00:00
Roland Weber 8055c100ca updated to new timeout methods in HttpConnection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@510131 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 18:12:26 +00:00
Roland Weber 804d75f23c fixed revised fix for default port, fixed target host in context, updated client examples
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@510081 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 16:12:28 +00:00
Roland Weber 93fa6c7de1 slightly revised take on the default port support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@510051 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 15:14:29 +00:00
Michael Becke 79f6658f3c Cleaned up imports.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509902 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 05:49:06 +00:00
Michael Becke 1b6d7ea241 Added support for creating socks with the Scheme default port.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509901 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 05:48:46 +00:00
Roland Weber a21767dc9e deleted MTHCM and related classes, fixed bug in TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509672 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 17:29:12 +00:00
Roland Weber 924f8ddf3a SimpleClientConnManager, good enough to run the client examples
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509667 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 17:20:55 +00:00
Roland Weber 0d09aafa2e HttpConn package JavaDoc. Desperately needed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509322 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 20:00:39 +00:00
Roland Weber 688e6017b4 support for local address in operator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509294 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 18:42:08 +00:00
Roland Weber 9a201ac17b JavaDoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509265 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 17:31:57 +00:00
Roland Weber 01f87fd845 improved connection creation and scheme registry support in manager
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509260 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 17:16:30 +00:00
Roland Weber 2f777ced6d reuse strategy in client and director
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@509247 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 16:42:29 +00:00
Roland Weber bd3314ae08 JavaDoc detail
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508948 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 19:20:27 +00:00
Roland Weber 7f2fad2321 entity with connection release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508937 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 18:36:21 +00:00