Commit Graph

544 Commits

Author SHA1 Message Date
Oleg Kalnichevski d12f607b7f Use SimpleDateFormat instead of DateFormat to avoid cast
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603321 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:26:45 +00:00
Oleg Kalnichevski 86f8cd7460 Ain't generics fun?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603319 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:13:00 +00:00
Oleg Kalnichevski 89ffb0f780 More generics all over
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603318 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:06:50 +00:00
Roland Weber 3337029c96 some more generics in client and friends
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603312 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 17:27:55 +00:00
Roland Weber 87ff897181 generics in HttpConn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@602981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 18:01:12 +00:00
Oleg Kalnichevski c7b26a6450 HTTPCLIENT-705: Fixed incorrect handling of URIs with null path component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@596230 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 09:19:01 +00:00
Oleg Kalnichevski a543fc4fff Re-synched HttpClient trunk with HttpCore trunk
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@595948 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 13:39:46 +00:00
Oleg Kalnichevski 3ddce358ae HTTPCLIENT-688: HttpOptions#getAllowedMethods can now handle multiple Allow headers
Contributed by Andrea Selva <selva.andre at gmail.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@594946 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 16:59:15 +00:00
Roland Weber 8616ef1ab2 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591748 13f79535-47bb-0310-9956-ffa450edef68
2007-11-04 09:27:49 +00:00
Oleg Kalnichevski 1564243b0b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591361 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:22:07 +00:00
Oleg Kalnichevski c3ba003710 [maven-release-plugin] prepare release 4.0-alpha2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591359 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:21:50 +00:00
Roland Weber cc8ede7108 removed reference to RFC 1867 - we don't support multipart/form-data in 4.0 at the moment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591350 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 14:37:05 +00:00
Roland Weber 8724e37398 fixed wrong RFC reference in website
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591329 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 13:56:55 +00:00
Oleg Kalnichevski a0578f1038 Corrected HttpClient project description on the front page
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590724 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 15:48:39 +00:00
Oleg Kalnichevski 3ff047a1ae Added missing license headers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590695 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 14:55:41 +00:00
Oleg Kalnichevski 64a81d6ff7 Added BUILDING.txt; updated assembly descriptor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590192 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:47:33 +00:00
Oleg Kalnichevski 47b1f3e3d6 Fixed javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590162 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:18:52 +00:00
Oleg Kalnichevski 47ed4116a2 Updated web site for 4.0 alpha2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590158 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:06:09 +00:00
Oleg Kalnichevski c3aaaef07d Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590157 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:01:54 +00:00
Oleg Kalnichevski fdeae16eaf Updated release notes for 4.0 alpha2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590152 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:58:16 +00:00
Oleg Kalnichevski 243769a600 HTTPCLIENT-698: Resolve non-absolute redirect URIs relative to the request URI
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589630 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 13:57:15 +00:00
Oleg Kalnichevski e445d72146 HTTPCLIENT-697: Throw a more intelligible exception when connection to a remote host cannot be established.
Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589382 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 16:56:32 +00:00
Oleg Kalnichevski a8e875970d HTTPCLIENT-689: Caching of SimpleDateFormat in DateUtils
Contributed by Daniel Müller <strider at digitalstrider.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@587904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 15:02:49 +00:00
Roland Weber 13124872f7 HTTPCLIENT-689: parameter stack building moved to AbstractHttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@586567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:18:21 +00:00
Oleg Kalnichevski bf541ba1fd HTTPCLIENT-477: Use distinct instances of the authentication handler interface for authentication with target and proxy hosts
Contributed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@585984 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:44:26 +00:00
Oleg Kalnichevski b0f91905f4 Upgraded HttpCore dependency to 4.0-ALPHA6
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@584545 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 13:40:19 +00:00
Oleg Kalnichevski e215891dd0 Test if the host name appears to be a fully qualified DNS name, IPv4 address or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583886 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 17:13:53 +00:00
Oleg Kalnichevski 19e029924f HTTPCLIENT-617: Hostname verification: turn off wildcards when CN is an IP address
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@583749 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 09:19:45 +00:00
Oleg Kalnichevski 3e8a5f6863 Added utility class to test whether a string represents a valid IPv4 or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583201 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:48:12 +00:00
Oleg Kalnichevski fe1fa7cd3f HTTPCLIENT-693: Set stacked parameters on the request wrapper instead of the original request (this also ensures parameters get correctly set on all follow-up requests)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582651 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 17:16:28 +00:00
Oleg Kalnichevski 52b28593cd Ported redirect test cases from the HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 16:51:11 +00:00
Oleg Kalnichevski d7a751cfeb HTTPCLIENT-687: Correctly set response parameters
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582639 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 14:48:11 +00:00
Oleg Kalnichevski 8ad4cebc82 Added protocol test cases to TestAll test suite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582637 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 14:37:22 +00:00
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 b73cd6c0f5 aligned project names in README and NOTICE with core
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581507 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 06:23:01 +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