Commit Graph

334 Commits

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