Commit Graph

244 Commits

Author SHA1 Message Date
Oleg Kalnichevski c0a972f953 HTTPCLIENT-693: Moved DEFAULT_HEADERS logic to a protocol interceptor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582624 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 13:12:29 +00:00
Oleg Kalnichevski 3bd51e812d Ported Cookie2 test cases from the HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582602 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 09:35:48 +00:00
Oleg Kalnichevski e6d76b2750 * Merged CookieVersionSupport methods into the CookieSpec interface
* Added support for Set-Cookie2 and Cookie2 headers 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582479 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 11:11:09 +00:00
Oleg Kalnichevski 4f153b3ed3 Register RFC 2965 cookie spec with the default HttpClient impl
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581954 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 15:59:09 +00:00
Oleg Kalnichevski 50179d9081 Ported RFC 2965 cookie spec from HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581953 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 15:53:50 +00:00
Roland Weber 25a9063286 renamed interface SecureSocketFactory to LayeredSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580615 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:40:33 +00:00
Roland Weber e033a99de3 HTTPCLIENT-690: provide access to the SSLSession of SSL connections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580608 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:18 +00:00
Roland Weber 7edb8cc47a OMG, how could this ever leave my local machine...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580079 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:21:02 +00:00
Roland Weber 05e03b6a0e HTTPCLIENT-689: stackable parameters, take 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578468 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 18:18:54 +00:00
Roland Weber 4d649f9bc8 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578462 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 17:15:13 +00:00
Oleg Kalnichevski 51ed99f3ff Ported RFC2965 specific attribute handlers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578408 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 11:53:57 +00:00
Oleg Kalnichevski 1ccb1cfc27 Renamed BasicCookie to BasicClientCookie; added BasicClientCookie2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578405 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 11:02:58 +00:00
Oleg Kalnichevski d8d769db59 * Added Port and commentURL attributes to Cookie interface (required by RFC2965)
* Added SetCookie2 interface representing the Set-Cookie2 header
* Copied CookieVersionSupport interface from HttpClient 3.1 branch 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578403 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 10:56:04 +00:00
Roland Weber 8f3f51e39d HTTPCLIENT-692: updated test cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578387 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:25:59 +00:00
Roland Weber a9722d704e HTTPCLIENT-692: TSCCM throws InterruptedException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578385 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:22:57 +00:00
Roland Weber 5d5b2fa48d ClientConnectionManager declares InterruptedException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578383 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:07:44 +00:00
Roland Weber 7842392cf9 parameter names in interfaces, part 4 - examples
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576080 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 11:59:49 +00:00
Roland Weber 3035ff2e77 parameter names in interfaces, part 3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576078 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 11:50:41 +00:00
Roland Weber 7ef4e48620 parameter names in interfaces, part 2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576074 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 10:53:24 +00:00
Roland Weber 4c696dcc14 parameter names in interfaces, part 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576068 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 10:25:01 +00:00
Roland Weber e06ad24e3d JavaDoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573984 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 10:43:25 +00:00
Roland Weber 260091f9f9 fixed broken example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573869 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 15:57:05 +00:00
Roland Weber 8dbfedcf0a HTTPCORE-107: replaced HttpVersion by ProtocolVersion wherever appropriate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573865 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 15:53:39 +00:00
Roland Weber efe4b9c9c0 HTTPCLIENT-649: ManagedClientConnection now supports proxy chains
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573844 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 14:20:53 +00:00
Roland Weber 7738386c10 renamed TSCCMConnAdapter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573832 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 13:05:02 +00:00
Roland Weber 017fad655d HTTPCORE-110: removed lineParser and lineFormatter attributes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573830 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 12:41:42 +00:00
Oleg Kalnichevski 8325bfe2d1 * Added ClientCookie interface that extends the standard Cookie interface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server
* Cookie specs refactored to make use of the ClientCookie interface / code cleanups

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@572573 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 08:20:29 +00:00
Roland Weber 2084e14af9 HTTPCLIENT-669: moved DefaultRoutePlanner from client to conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@571808 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 15:32:48 +00:00
Roland Weber 63c5064f31 moved startsWithHTTP to LineParser in core; the garbage line skipping remains in conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@571583 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 21:06:17 +00:00
Roland Weber d117305774 use AbstractHttpClientConnection lineParser and lineFormatter instead of local attributes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569839 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 16:51:40 +00:00
Roland Weber 31de8d1dcf adjusted to formatting API changes in core
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569832 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 16:21:17 +00:00
Roland Weber 31b18a4bb7 interface FormattedHeader to avoid instanceof check on implementation class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569782 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 09:05:19 +00:00
Roland Weber b341070860 added throws declaration for ParseException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569634 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 07:27:56 +00:00
Roland Weber 1bbbd79a8c adjusted auth, cookie to non-static parsing code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@568037 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 09:27:57 +00:00
Roland Weber d815670db3 HTTPCORE-110, adjustment to API changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@568003 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 08:06:00 +00:00
Roland Weber 532fddb7aa TSCCM package JavaDocs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@564950 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 18:02:18 +00:00
Roland Weber 29d8c269b9 fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@564938 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 16:42:58 +00:00
Oleg Kalnichevski b88791b45f Moved attributes used only by strict specs when formatting cookies to SetCookie interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@563548 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 16:42:09 +00:00
Oleg Kalnichevski 6475dd23d8 HTTPCORE-106: Moved garbage tolerant HTTP response parser to HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@562715 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 13:14:39 +00:00
Roland Weber 3476e5f3e2 factored RouteSpecificPool out from ConnPoolByRoute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@561098 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 19:35:39 +00:00
Roland Weber 6431580e82 even more cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@561097 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 19:11:06 +00:00
Roland Weber 782fd75b1e more code cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@561043 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 17:02:23 +00:00
Roland Weber 76c21530ee code and JavaDoc cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@561041 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 16:52:22 +00:00
Oleg Kalnichevski 0ea47bc256 Fixed super method override
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@560345 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 18:26:18 +00:00
Oleg Kalnichevski eb1e575d57 HTTPCORE-105: Ensure class name consistency in HttpCore base and NIO modules (first pass)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@560344 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 18:19:32 +00:00
Roland Weber f37224cd0c HTTPCLIENT-636: BadStaticMaps are gone
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@560288 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 15:49:45 +00:00
Roland Weber 283a11b6cc fixed imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559963 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 20:09:22 +00:00
Roland Weber 507b706483 fixed imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559962 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 20:06:03 +00:00
Roland Weber 1e069c9b1b fixed imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559961 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 20:02:56 +00:00
Roland Weber f55546ebe9 removed dead code from TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559960 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 19:59:19 +00:00
Roland Weber 0f619bb87a factored out TSCCM.ConnectionPool into separate classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559958 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 19:53:07 +00:00
Roland Weber 975a559dfc HTTPCLIENT-669: contributed by Andrea Selva, reviewd by Roland Weber
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559874 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 16:29:05 +00:00
Roland Weber 04b5ca71c8 HTTPCLIENT-636: more classes factored out of TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558839 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 19:28:38 +00:00
Roland Weber 5c4de73f6b javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558833 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 19:02:32 +00:00
Roland Weber 8055cd1879 HTTPCLIENT-636: factored out the reference queue worker
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558825 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 18:29:59 +00:00
Roland Weber 82b3d0aff5 HTTPCLIENT-636: tearing apart TSCCM
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558813 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 17:55:59 +00:00
Roland Weber 86dea0d47c HTTPCLIENT-653: TSCCM is GCed after conn wrapper detach.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558802 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 17:16:44 +00:00
Roland Weber d035d4d209 HTTPCLIENT-636: move TSCCM to separate package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558799 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 17:07:28 +00:00
Oleg Kalnichevski 3c5e2e6491 Split Cookie interface into a generic non-mutable Cookie interface and mutable SetCookie interface representing SetCookie response header sent by the origin server to the HTTP agent in order to maintain a conversational state
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558519 13f79535-47bb-0310-9956-ffa450edef68
2007-07-22 18:19:49 +00:00
Oleg Kalnichevski 6d36b3aa06 Made Cookie an interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558477 13f79535-47bb-0310-9956-ffa450edef68
2007-07-22 12:54:07 +00:00
Roland Weber bdeb8786af HTTPCLIENT-636: a wee bit closer towards getting rid of static maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558458 13f79535-47bb-0310-9956-ffa450edef68
2007-07-22 03:56:56 +00:00
Roland Weber e7e4c61470 HTTPCLIENT-636: towards getting rid of static maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558358 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 17:30:46 +00:00
Roland Weber 098150494e located root cause of HTTPCLIENT-653
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558329 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 13:41:42 +00:00
Roland Weber 1de2544013 even more cosmetic renaming
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558328 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 13:27:19 +00:00
Roland Weber 5bf5f124b0 more cosmetic renaming
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558327 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 13:12:40 +00:00
Roland Weber 906f22009c cosmetic renaming
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558326 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 12:51:37 +00:00
Roland Weber 8621fbf232 HTTPCLIENT-674: use VersionInfo from core
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558325 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 12:29:49 +00:00
Oleg Kalnichevski 83273bbe10 Formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558321 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 12:01:38 +00:00
Oleg Kalnichevski 087401fd1e Added interactive authentication sample
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558320 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 11:59:43 +00:00
Roland Weber aee7161317 split RouteDirector into interface and basic implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558315 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 11:39:57 +00:00
Oleg Kalnichevski c4a9583527 HTTPCLIENT-666: Replace HttpState with CredentialsProvier and CookieStore interfaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558158 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 21:33:17 +00:00
Oleg Kalnichevski 7ea84c4be4 Added basic CookieStore and CredentialsProvider impls based on old HttpState class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558148 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 21:19:39 +00:00
Oleg Kalnichevski 329a7c3f52 * Changed protocol cookie interceptors to use CookieStore instead of HttpState
* Changed default client request redirector to use CredentialsProvider instead of HttpState
* Deprecated HttpState

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558131 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:53:23 +00:00
Oleg Kalnichevski 1ed3733d6c Added CredentialsProvider interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558124 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:36:47 +00:00
Oleg Kalnichevski 881bd9c983 Added CookieStore interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558123 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:29:58 +00:00
Roland Weber 46270b747a JavaDoc fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558122 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:29:43 +00:00
Roland Weber 826d674e3d adapted examples to HTTPCORE-100, updated release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558121 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:27:05 +00:00
Roland Weber fd53851031 adapted to HTTPCORE-100
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558119 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:21:22 +00:00
Roland Weber d4862a917b HTTPCLIENT-618: class HostConfiguration is no more
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558079 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 18:13:22 +00:00
Roland Weber 5a90e4a07c HTTPCLIENT-672: re-sync with core snapshot
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@557708 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 17:55:05 +00:00
Roland Weber bfb47ec954 removed double init of params
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@557674 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 16:23:09 +00:00
Oleg Kalnichevski 2b8720b521 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@556293 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 15:39:34 +00:00
Oleg Kalnichevski 54a5a14178 [maven-release-plugin] prepare release 4.0-alpha1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@556291 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 15:39:21 +00:00
Roland Weber 2046a83cb3 changed @since tags, nothing in these packages is older than 4.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555245 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 11:14:49 +00:00
Roland Weber 1e5ff31bbd trivial tests on exceptions and params to make coverage look better
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555241 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 11:05:31 +00:00
Roland Weber 3f02535b7a more tests for RouteTracker, now at 100%
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555232 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 10:21:31 +00:00
Roland Weber 1c51824585 fixed bug in proxy chain handling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555215 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 08:54:20 +00:00
Oleg Kalnichevski fc9772e6b1 Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555208 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 08:38:40 +00:00
Oleg Kalnichevski 0a7a2b6c72 Removed superfluous method call and confusing comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555207 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 08:36:59 +00:00
Roland Weber 10d199b557 minimal package.html for the API packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555193 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 07:36:47 +00:00
Oleg Kalnichevski 851cd62784 Web site fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554961 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 14:34:59 +00:00
Roland Weber 25797763c3 removed System.out.println from tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554949 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 13:59:56 +00:00
Roland Weber a54f729dc3 first tests for RouteTracker, re-ordered some checks to avoid unreachable code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554948 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 13:58:10 +00:00
Oleg Kalnichevski 8886fbcaa3 Keep RAT happy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554708 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 16:58:33 +00:00
Roland Weber a570921169 fixed resource processing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554635 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 13:18:41 +00:00
Oleg Kalnichevski ebbc30a916 Added assembly descriptors; javadoc fix; added readme file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554598 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 10:33:18 +00:00
Roland Weber dfeee678b3 added license header
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554596 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 10:30:18 +00:00
Oleg Kalnichevski ee814d147e HttpComponents HttpClient web site sources
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554410 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 18:54:36 +00:00
Oleg Kalnichevski 7784120878 * Added cookie identity comparator
* Fixed broken HttpState#addCookie() method
* Added an example demonstrating how to perform form-based logon

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554349 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 11:45:20 +00:00
Roland Weber 6034c35e2e replaced outdated example URL
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554233 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 18:06:54 +00:00
Roland Weber 79f250d896 fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554231 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 17:59:31 +00:00
Oleg Kalnichevski 47a7966ae9 An example that performs GETs from multiple threads
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554217 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 15:03:22 +00:00
Oleg Kalnichevski c8c831bf30 Example how to use unbuffered chunk-encoded POST request
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554180 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 11:34:22 +00:00
Oleg Kalnichevski 0c97d4aa70 Added an example that uses HttpClient to execute an HTTP request over a secure connection tunneled through an authenticating proxy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554174 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 10:33:42 +00:00
Oleg Kalnichevski 2bb2e2b4f4 OMFG! No wonder we have been having stack overflows
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554173 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 10:26:24 +00:00
Oleg Kalnichevski ef0368e4fc * Added a convenience method to the HttpClient interface
* Added authentication sample

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554082 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 23:12:41 +00:00
Oleg Kalnichevski ba3da55d99 Added custom SSL sample
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554005 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 19:20:26 +00:00
Oleg Kalnichevski 8e2f192812 Fixed bug in #determineRoute() causing secure (layered) connections to be treated as plain ones.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554003 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 19:16:18 +00:00
Oleg Kalnichevski 553a1b4cfd Oopsie
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@553861 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 12:23:39 +00:00
Oleg Kalnichevski 668c8c99fb Added ClientGZipContentCompression sample demonstrating the use of protocol interceptors to transparently modify properties of HTTP messages sent / received by the HTTP client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@553860 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 12:22:31 +00:00
Oleg Kalnichevski 31e90292db Changed Core dependency from ALPHA5-SNAPSHOT to ALPHA5
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552530 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 16:22:10 +00:00
Oleg Kalnichevski e31743c34e Removed flawed revision attribute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552527 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 16:12:43 +00:00
Oleg Kalnichevski 44aa3d34a0 Oppsie
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552348 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 18:04:23 +00:00
Oleg Kalnichevski 545f1c40eb HTTPCLIENT-664: First take at version detection based on build-time properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552347 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 17:55:46 +00:00
Oleg Kalnichevski 2dbe8c3557 Some more tweaks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552278 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 10:57:13 +00:00
Oleg Kalnichevski 2563e6e1eb Improved exception handling based on Odi's suggestions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552277 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 10:54:44 +00:00
Oleg Kalnichevski 70e9312721 Added connection release sample
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552268 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 10:11:34 +00:00
Oleg Kalnichevski 3fb3b857da Make sure connection gets aborted in case of an IOException (potentially triggering connection release back to the connection manager)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552264 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 09:37:47 +00:00
Oleg Kalnichevski 8f28158826 * Renamed HttpClient#getContext() to HttpClient#getDefaultContext()
* Tweaked the way DefaualtHttpClient populates the default HTTP context returned with HttpClient#getDefaultContext()
* Added local HTTP context example

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552166 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 15:57:37 +00:00
Oleg Kalnichevski 5847e1f6f2 Renamed project artifactId from client to httpcomponents-client; required to generate a meaningful assembly file name
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550105 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 20:52:31 +00:00
Roland Weber 84168a156d TestScheme at 100% coverage for SchemeRegistry, too.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550083 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:43:00 +00:00
Roland Weber 70e32c6503 TestScheme at 100% coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550081 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:35:09 +00:00
Roland Weber e8ca9b1d65 Made cookie.SM an interface as long as it has no methods. It looked ugly on test coverage reports with its 0% of coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550078 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:30:31 +00:00
Roland Weber 3fc997fbed tests for RouteDirector at 100% coverage, fixed two bugs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550077 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:25:33 +00:00
Roland Weber 0f0128450b TestDateUtils arrived here from core
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548073 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 17:02:01 +00:00
Roland Weber 848ff6f652 moved DateUtils/DateParseException from core to cookie (test cases to follow)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548067 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 16:52:20 +00:00
Roland Weber cca8a23380 socket factory mockups, include TestScheme in unit tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548038 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 13:08:14 +00:00
Roland Weber d34ee9f954 added getMetrics to conn mockup, moved TestHttpRoute to non-impl package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548037 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 12:40:50 +00:00
Roland Weber be3c4732ab added getMetrics() to connection adapter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548034 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 12:14:56 +00:00
Oleg Kalnichevski a0faec6ccd Fixed API breakage caused by HTTPCORE-64
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@547804 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 21:48:09 +00:00
Oleg Kalnichevski ecefd447fd Fixed test failure on non-english Locale systems
Contributed by Daniel Müller <strider at digitalstrider.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@545908 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 16:41:44 +00:00
Oleg Kalnichevski 0d962274e7 Removed references to Jakarta from the project artifact ids
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@544940 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 20:28:12 +00:00
Oleg Kalnichevski 672bf841e5 Changed wire and header logger names from org.apache.http.conn.* to org.apache.http.*
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@543891 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 13:47:16 +00:00
Roland Weber 598c7ac8e8 test for HttpRoute with 100% coverage, fixed two bugs in route and tracker
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@543733 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 12:05:18 +00:00
Oleg Kalnichevski c883d7d451 Always add a Host request header to CONNECT requests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@542253 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 15:56:35 +00:00
Oleg Kalnichevski 7813fd1197 params refactoring, step 6 - Moved param hierarchy building methods to an optional interface extending HttpParams
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@542225 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 13:34:30 +00:00
Oleg Kalnichevski 53e4063593 params refactoring, step 5: removed params argument from HttpClientConnection#receiveResponseHeader and HttpServerConnection#receiveRequestHeader methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@542200 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 11:24:35 +00:00
Roland Weber d0a973d3bf proxy chains in HttpRoute/RouteTracker/RouteDirector
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@542193 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 10:50:28 +00:00
Oleg Kalnichevski 942bff97c5 params refactoring, step 4 - Http*Connections no longer link params
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@541980 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 12:51:26 +00:00
Roland Weber c61c1a04a1 params refactoring, step 3 - HttpRequestExecutor no longer links params
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@541924 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 18:33:56 +00:00
Roland Weber cbdfa305f6 JavaDoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@541918 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 16:37:38 +00:00
Oleg Kalnichevski 6132eab65e * Moved all concrete HostnameVerifier impls to separate classes
* Renamed DEFAULT HostnameVerifier to BROWSER_COMPATIBLE HostnameVerifier

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@540138 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 13:27:05 +00:00
Oleg Kalnichevski b19d19e544 Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@540118 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 11:23:57 +00:00
Oleg Kalnichevski e27184ffc7 Maven2 friendly directory layout; Initial commit of the Maven2 project metadata
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539933 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 20:36:28 +00:00