Commit Graph

162 Commits

Author SHA1 Message Date
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
Roland Weber 6175558fb5 connection can release itself, stream can be aborted
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508919 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 17:04:31 +00:00
Roland Weber fe62d7292a deleted old port of AutoCloseInputStream
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508897 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 11:47:43 +00:00
Roland Weber 85f44258dd connection release by stream close
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508895 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 11:44:08 +00:00
Roland Weber b9cc4359f1 fixed header comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508891 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 10:08:48 +00:00
Roland Weber 41916e4de1 new port of 3.1 AutoCloseInputStream
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508886 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 08:25:55 +00:00
Roland Weber 0eb8e5cf27 don't shut down unless open
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508807 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 20:49:27 +00:00
Roland Weber 1c10f5e392 reusability flag in ManagedClientConnection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508798 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 19:41:26 +00:00
Roland Weber 486dd14981 applied shutdownAll() part of HTTPCLIENT-625
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@508782 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 17:49:06 +00:00
Roland Weber 12d50dda30 HTTPCLIENT-625 for 4.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@506063 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 16:26:38 +00:00
Roland Weber 9ce698c4d5 HTTPCORE-40
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505895 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 11:33:30 +00:00
Roland Weber 6314be6638 HTTPCORE-39
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505745 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 18:58:58 +00:00
Roland Weber 6d72866b2d updated some @since tags, nothing in these packages is older than 4.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505684 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 12:40:02 +00:00
Roland Weber d41a365bf5 switched ManagedClientConnection interface to HttpRoute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505682 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 12:20:45 +00:00