Commit Graph

225 Commits

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