Commit Graph

332 Commits

Author SHA1 Message Date
Oleg Kalnichevski c5022e9f6e Fixed broken testcase
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539591 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 20:17:40 +00:00
Oleg Kalnichevski 123cc0b7a5 Refactored connection management code in DefaultClientRequestDirector#execute(). Preparing to implement authentication handling for tunneling requests via an authenticating proxy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539113 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 21:03:49 +00:00
Oleg Kalnichevski f136fddcca Fixed bug in connection management code. Connection keep-alive strategy now gets correctly applied prior to executing a follow-up request
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538889 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 12:36:28 +00:00
Oleg Kalnichevski 5ccb548a59 Obtain HTTP state information from HTTP context
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538866 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 10:36:55 +00:00
Oleg Kalnichevski 03cc12fa3c Moved AuthState to the public API package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538648 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 16:43:08 +00:00
Oleg Kalnichevski 829caee0ec Initial port of the authentication code from Commons HttpClient 3.x
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538647 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 16:41:42 +00:00
Oleg Kalnichevski c82115dd8c Added default host and default proxy parameters HTTP client can fall back onto when determining request route
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537750 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 08:42:09 +00:00
Oleg Kalnichevski 4f2187386b Correctly propagate HTTP response back to the caller in case request tunneling has been refused by the proxy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537650 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 19:58:22 +00:00
Oleg Kalnichevski 37598982ce Some code cleanups
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537637 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 18:54:06 +00:00
Oleg Kalnichevski d3fee30940 * Minor bug fixes
* Reviewed HTTP CONNECT logic for compliance with Tunneling TCP based protocols through Web proxy servers

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537590 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 14:46:12 +00:00
Oleg Kalnichevski 69fa4fa732 Ported circular redirect check
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537567 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 09:52:04 +00:00
Oleg Kalnichevski e7f0a20c5e Make sure redirect response body is fully consumed, if present
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537382 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 10:44:13 +00:00
Oleg Kalnichevski c04bd63e47 Initial port of the redirect handling code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537378 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 10:34:30 +00:00
Oleg Kalnichevski 9a534e7e8d Implemented request URI rewriting (depending on whether the request is being routed via a proxy or not)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537144 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 09:30:13 +00:00
Oleg Kalnichevski 3ff9c31171 * Changed HttpClient interface to take a single HttpUriRequest parameter instead HttpHost / HttpRequest pair
* Fixed bug in the RequestAddCookies protocol interceptor

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537141 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 08:59:55 +00:00
Oleg Kalnichevski c2bebe8f7e Upgraded to the latest HttpCore API (caused by HTTPCORE-21)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@536670 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 21:50:47 +00:00
Oleg Kalnichevski abe4a3e9d8 Implemented request wrapping in the default client request director. This enables the request director to (1) discard automatically generated headers if the request needs to be redirected to another location or re-authenticated (2) re-write the request URI when routing the request via a proxy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@536144 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 09:59:10 +00:00
Oleg Kalnichevski 08487a18cd Changelog:
* Added an extended version of the HttpRequest interface that provides convenience methods to access request properties such as parsed request URI and method type.
* Added a wrapper class for HttpRequests that can be used to change properties of the current request without modifying the original request object.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535975 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 20:08:31 +00:00
Oleg Kalnichevski 16615aa2ab * Fixed bug in the stale connection check
* Tweaked the process of connection allocation for a slightly better readability

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535835 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 10:18:07 +00:00
Oleg Kalnichevski c3dcd7651b Implemented HTTP request retry handling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535794 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 09:07:44 +00:00
Oleg Kalnichevski 4a6d656ee2 Fixed interface import
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535611 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 13:31:04 +00:00
Oleg Kalnichevski 61ca72ce3e Copied HttpRequestRetryHandler and DefaultHttpRequestRetryHandler from HttpCore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535610 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 13:28:13 +00:00
Roland Weber 79402cc117 first server-based test case for TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535592 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 10:15:39 +00:00
Oleg Kalnichevski 060a84532e Changelog:
* Decoupled the process of request preparation and response finalization from the process of request execution (something Roland long insisted upon). This makes it possible to retry the request execution in case of an I/O failure without re-running HTTP protocol interceptors on the failed request 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535512 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 12:02:53 +00:00
Roland Weber d6159be52e towards the first server-based test for TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535483 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 09:27:03 +00:00
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
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
Roland Weber b8e6a0558a ClientConnectionManager interface switched to HttpRoute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505679 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 12:05:00 +00:00
Roland Weber dfd86e2600 director now supports tunnelling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505665 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 09:23:48 +00:00
Roland Weber b30a062220 updated examples and a minor bug fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505656 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 08:28:36 +00:00
Roland Weber 7d2d2f47a8 request director uses route director; still missing tunnelling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505491 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 20:52:27 +00:00
Roland Weber a72fc9c4c5 revised route tracking in managed connection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505377 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 17:14:22 +00:00
Roland Weber 64dac236b7 unmodifiable route representation, excluding conn auth state
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505024 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 20:15:48 +00:00
Roland Weber 29ede44699 to be used in director and managed connections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505006 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 19:16:24 +00:00
Roland Weber 4205d7ad28 @deprecated old connection stuff
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@504213 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 17:38:17 +00:00
Roland Weber da98973e4d renamed SchemeSet to SchemeRegistry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@504209 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 17:24:38 +00:00
Roland Weber dc2b5d84df fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@503529 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 01:22:39 +00:00
Roland Weber e9b784a8ef moved cookie.impl to impl.cookie
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@503525 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 01:15:08 +00:00
Roland Weber 7e49b65c5b moved conn.impl to impl.conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@503524 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 01:11:38 +00:00
Roland Weber e3c171ac08 moved test/client.impl to impl.client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@503523 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 01:08:18 +00:00
Roland Weber ddc1b61f80 moved test/client.impl to impl.client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@503522 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 01:07:33 +00:00
Roland Weber fd0adccffe moved client.impl to impl.client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@503521 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 01:03:53 +00:00
Roland Weber 79287999b5 moved DefaultHttpParams to .params. package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@502682 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 18:18:42 +00:00
Roland Weber 026725e2ca new class SchemeSet, testcases included in TestScheme
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500800 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 14:28:40 +00:00
Roland Weber 787b02f73a first HttpClient example, and a few @author changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500781 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 11:48:14 +00:00
Roland Weber ec7c0556b4 straightening out DefaultClientRequestDirector
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500765 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 09:06:18 +00:00
Roland Weber 7bb7a457d4 HttpClient - stuff compiles, but the puzzle pieces don't fit yet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500635 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 22:01:23 +00:00
Roland Weber d8a3a0b5f4 AbstractHttpClient += BasicHttpProcessor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500559 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 16:28:12 +00:00
Roland Weber cf5f12ea44 HttpClient: first take on interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500549 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 15:36:51 +00:00
Roland Weber 0f68582bfb changed package o.a.httpclient to o.a.http.client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500535 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 14:27:33 +00:00
Roland Weber 8816f2ee43 it's not quite gone yet :-)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500387 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 22:28:35 +00:00
Oleg Kalnichevski 813eeeb00c * Fixed AbstractClientConnectionAdapter breakage caused by the latest API changes in HttpCore
* Removed unused imports

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@500374 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 22:06:08 +00:00
Roland Weber a0711fb641 connection manager, part 3 - SSL via proxy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498346 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 15:05:06 +00:00
Roland Weber 694da1f8ac trivial change of comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498316 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 13:59:42 +00:00
Roland Weber dff91540f3 connection manager, part 2 - example and a fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498312 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 13:28:45 +00:00
Roland Weber b5a4cb74b0 new conn manager, part 1 - it compiles
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498258 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 09:07:57 +00:00
Roland Weber fcc94427da generalized connection interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498254 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 08:12:57 +00:00
Roland Weber 26fd5461e4 JavaDoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498162 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 20:02:57 +00:00
Roland Weber 1304c985a3 renaming exercise
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498145 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 17:16:04 +00:00
Roland Weber 43601a506d SocketFactory.isSecure(...)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498143 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 16:48:33 +00:00
Roland Weber 3d8d85a915 HTTPCLIENT-622 with minor modifications
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@498133 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 16:01:58 +00:00
Oleg Kalnichevski d451fc4f06 Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@495879 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 12:15:46 +00:00
Roland Weber fe3d1bfb62 fixed test case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@493118 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:27:08 +00:00
Roland Weber d35c93558c new connection interfaces, step 5 - example for SSL tunnelling through proxy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@493102 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 17:56:06 +00:00
Roland Weber 61220f8af5 new connection interfaces, step 4 - first example, plus a debug contrib
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492988 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 11:32:17 +00:00
Roland Weber 4fe52a15b9 new connection interfaces, step 3 - HTTPCLIENT-475
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492424 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 06:33:16 +00:00
Roland Weber ceb4ed1d39 new connection interfaces, step 2 - return of the Operator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492299 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 20:58:12 +00:00
Roland Weber 36c082fdfc JavaDoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492183 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 15:36:59 +00:00
Roland Weber 661ee70ce0 new connection interfaces, step 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492175 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 15:16:08 +00:00
Roland Weber fc00950965 HTTPCLIENT-475, take 1 with suggested modifications
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@490691 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 10:04:56 +00:00
Roland Weber 648b815f52 added NOTICE.txt, fixed license headers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@489636 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 12:34:57 +00:00
Oleg Kalnichevski 81e5ce2d12 HTTPCLIENT-614: allow different strategies when checking CN of x509 cert
* Test coverage

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@487346 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 20:49:34 +00:00
Oleg Kalnichevski dd9500e009 Ported AuthScheme and related classes from HttpClient 3.x to the new API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@487318 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 19:42:40 +00:00
Oleg Kalnichevski c76c1a0d7e Ported HttpConnectionManagerParams, MultiThreadedHttpConnectionManager and IdleConnectionHandler classes from HttpClient 3.x to the new API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@486244 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 17:17:57 +00:00
Oleg Kalnichevski f2260d22e6 Ported HttpConfiguration, HttpConnection, HttpConnectionManager and SimpleHttpConnectionManager from HttpClient 3.x to the new API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@484777 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 20:59:42 +00:00
Oleg Kalnichevski e9f86cb250 Fix for [HTTPCLIENT-613] https should check CN of x509 cert
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@483925 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 10:48:30 +00:00
Oleg Kalnichevski 0ce0dbaa6d Moved some classes around
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@473983 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 16:18:18 +00:00
Oleg Kalnichevski 5367b431aa [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451422 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:15:32 +00:00
Oleg Kalnichevski 61f0758cc0 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451415 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:11:15 +00:00
Oleg Kalnichevski 630148eb91 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451413 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:08:44 +00:00
Oleg Kalnichevski 2801404f77 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451412 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:06:44 +00:00
Oleg Kalnichevski 3a1b2a6de7 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451410 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:59:13 +00:00
Oleg Kalnichevski c78f7920a2 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451408 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:58:24 +00:00
Oleg Kalnichevski e6492548cd [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451407 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:57:43 +00:00
Oleg Kalnichevski 3ef2aa5d2c [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451405 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:54:01 +00:00
Oleg Kalnichevski 5e97770df4 Updated to the new HttpCore API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@446853 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 11:12:45 +00:00
Roland Weber 85e0dcacb1 adapted to changes in HttpCore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@440075 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 13:45:52 +00:00
Oleg Kalnichevski 0af06cd4dd [HTTPCORE-6] When transmitting HTTP messages, re-use Header buffers whenever possible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418729 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 09:56:19 +00:00
Oleg Kalnichevski b0357c0348 [HTTPCORE-5] Made NameValuePair, StatusLine, RequestLine interfaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418583 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 12:18:38 +00:00
Oleg Kalnichevski 88665f3e54 [HTTPCORE-5] Made HeaderElement an interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418580 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 11:35:06 +00:00
Oleg Kalnichevski 69e044571e [HTTPCORE-5] Made Header an interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418574 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 11:10:24 +00:00
Oleg Kalnichevski 370b72bdf7 * Cookie is no longer a subclass of NameValuePair
* Removed #equals and #hashCode methods. The concept of identity equality and value equality of cookies is domain specific. It should be addressed at the application level

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418102 13f79535-47bb-0310-9956-ffa450edef68
2006-06-29 18:06:11 +00:00
Oleg Kalnichevski a7302e6278 Refactoring of the CookiePolicy class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418097 13f79535-47bb-0310-9956-ffa450edef68
2006-06-29 17:48:45 +00:00
Oleg Kalnichevski d9186337ef * Made the browser compatibility and the RFC2109 cookie specs configurable. Configuration options can be passed as constructor parameters.
* More test coverage 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@417820 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 17:19:31 +00:00
Oleg Kalnichevski 4515632b29 Refactoring of the RFC2109 cookie draft spec
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@417083 13f79535-47bb-0310-9956-ffa450edef68
2006-06-25 22:34:09 +00:00
Oleg Kalnichevski 5eeb07c808 Added RFC2109 specific cookie attribute handlers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@417034 13f79535-47bb-0310-9956-ffa450edef68
2006-06-25 17:22:45 +00:00
Oleg Kalnichevski 536068976f Refactoring of the Netscape cookie draft spec
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@415068 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 21:51:43 +00:00
Oleg Kalnichevski cd657a4939 Minor bug fixes; more test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409996 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 21:03:18 +00:00
Oleg Kalnichevski 7d7da3d68b Renamed file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409995 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 20:31:45 +00:00
Oleg Kalnichevski 4c3e71e629 Fixed a number of problems with null domain attribute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409993 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 20:22:48 +00:00
Oleg Kalnichevski bee0ca1105 More test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409989 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 20:09:14 +00:00
Oleg Kalnichevski 227e13de1e Ported cookie path comparator test cases from the Commons HttpClient 3.x code line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409986 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 19:58:04 +00:00
Oleg Kalnichevski 841549ce34 Ported browser compatibility test cases from the Commons HttpClient 3.x code line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409983 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 19:48:24 +00:00
Oleg Kalnichevski b7476807f1 Refactored the browser compatibility cookie policy ported from the Commons HttpClient 3.x code line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409981 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 19:46:39 +00:00
Oleg Kalnichevski 134c37f28a Added cookie handler impls for 'domain' attribute compatible with common practices of popular web browser applications
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409968 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 17:31:16 +00:00
Oleg Kalnichevski 8fd96e3afb Added cookie handler impls for 'domain' attribute compatible with common practices of popular web browser applications
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409967 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 17:30:41 +00:00
Oleg Kalnichevski 27e004244c Added cookie handler impls for 'expires' attribute shared by all common cookie specs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409408 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 15:41:10 +00:00
Oleg Kalnichevski 41c44857a5 Added cookie handler impls for 'path', 'maxage', 'secure', and 'comment' attributes shared by all common cookie specs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409386 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 13:30:49 +00:00
Oleg Kalnichevski 5fb29270eb Added HttpConnectionMockup class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@406435 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 21:26:00 +00:00
Oleg Kalnichevski 020ec5017f * Added TestAll* test suites
* Fixed broken test cases

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@406434 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 21:19:51 +00:00
Oleg Kalnichevski 9166e32b85 Initial refactoring of the CookieSpecBase and Cookie classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@406430 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 20:57:03 +00:00
Oleg Kalnichevski b4a8206230 Added an abstract cookie spec class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@405771 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 15:13:32 +00:00
Oleg Kalnichevski 89bf2660bb Simplified CookieSpec API (the first take)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@404843 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 20:30:41 +00:00
Oleg Kalnichevski 6d220e3263 SVN copied from Commons HttpClient with some old (and unusable) bits of code removed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@404838 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 20:18:21 +00:00
Oleg Kalnichevski 63f3ec6457 Moved SSL socket factory to o.a.http.conn.ssl
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@404819 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 18:47:53 +00:00
Oleg Kalnichevski 537bdb10dc Synched with the latest HttpCore API snapshot
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@404814 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 18:34:37 +00:00
Oleg Kalnichevski 3ad3fd641e ASF copyright note fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@376458 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 22:22:06 +00:00
Oleg Kalnichevski 605aaaa7db Removed superflouos HttpMutableEntity interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@358388 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 21:17:25 +00:00
Oleg Kalnichevski bed4d15b93 Fixed package names after the move from HttpCore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@358377 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 20:53:31 +00:00
Oleg Kalnichevski 0c1449688b Moved AutoCloseInputStream ResponseConsumedWatcher DefaultResponseConsumedWatcher classes from HttpCore to HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@358363 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 19:50:25 +00:00
Oleg Kalnichevski d5076feb53 Copied SSLSocketFactory from the HttpCore module
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@358347 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 19:17:17 +00:00