Commit Graph

2842 Commits

Author SHA1 Message Date
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 79c1a48318 Created project build.xml
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@406436 13f79535-47bb-0310-9956-ffa450edef68
2006-05-14 21:27:15 +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 bdbd032f1c Added impl package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@405717 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 11:33:28 +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 ef94bc7339 Added ssl package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@404818 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 18:46:26 +00:00
Oleg Kalnichevski 490989c363 Added HttpCookie and HttpConn packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@404816 13f79535-47bb-0310-9956-ffa450edef68
2006-05-07 18:42:24 +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 d4fd138412 HttpComponents layout restructuring
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@392767 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 16:25:00 +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 45faf4c1f6 Added some packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@358359 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 19:43:49 +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
Oleg Kalnichevski 03f4fd7d85 Added some packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@358344 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 18:52:31 +00:00
Oleg Kalnichevski f10733cead Added http-client module
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/http-client@358341 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 18:47:13 +00:00