Commit Graph

906 Commits

Author SHA1 Message Date
Sebastian Bazley 66dc2da9ff Add thread-safety annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:03:52 +00:00
Sebastian Bazley eee617209b Add thread-safety annotations
Copy string array in constructor to avoid external changes

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:02:54 +00:00
Sebastian Bazley 49b68a54d8 Make private field final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797268 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:00:33 +00:00
Sebastian Bazley 025def7c3f Document thread-safety of final fields
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797254 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:44:34 +00:00
Sebastian Bazley 8884e1b686 Annotate how non-final fields are made thread-safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797253 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:43:04 +00:00
Sebastian Bazley 15e6e9fc0b Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@796665 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:11:37 +00:00
Oleg Kalnichevski 55d9c6f161 HTTPCLIENT-861: URI reference resolution fails examples in RFC 3986
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794870 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 21:30:38 +00:00
Oleg Kalnichevski d780072ad5 Fixed compile breakage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794056 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:21:06 +00:00
Oleg Kalnichevski 3c93d00a74 HTTPCLIENT-860: HttpClient no longer converts redirects of PUT/POST to GET for status codes 301, 302, 307, as required by the HTTP spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794051 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:12:27 +00:00
Oleg Kalnichevski ade383ce93 Updated release packages
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794029 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 19:33:32 +00:00
Oleg Kalnichevski 842a750509 Removed HeadURL, Revision and Date keywords from all source files
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@793668 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 19:16:48 +00:00
Oleg Kalnichevski 58a50ef47f Updated release notes for 4.0 final release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@793356 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 14:25:51 +00:00
Oleg Kalnichevski 252c98ae78 Updated build instructions; updated web site; added quick start page
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792647 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:31:04 +00:00
Oleg Kalnichevski a36fc78779 Minor tweaks to tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792646 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:30:05 +00:00
Oleg Kalnichevski 9a2a3cb732 HTTPCLIENT-859: CookieIdentityComparator now takes path attribute into consideration when comparing cookies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792645 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:29:11 +00:00
Oleg Kalnichevski 2b69ac0ae9 HttpClient will no longer send expired cookies back to the origin server
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:10:52 +00:00
Oleg Kalnichevski be2367cd91 Fixed warnings in Eclipse
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792268 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:08:14 +00:00
Oleg Kalnichevski 4c9f497316 Migrated remaining chapters of the HttpClient tutorial from WIKI
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792267 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:07:17 +00:00
Oleg Kalnichevski de445e3232 Migrated the first chapter of the HttpClient tutorial from WIKI
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@791562 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 18:58:27 +00:00
Oleg Kalnichevski db2d11720a HTTPCLIENT-856: Proxy NTLM authentication no longer fails on a redirect to a different host
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@789408 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:43:51 +00:00
Oleg Kalnichevski b9de98e0c4 Fixed OSGi assembly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788507 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:52:47 +00:00
Oleg Kalnichevski 794d64098e Fix zip or tgz archives depending on host OS EOL setting (contributed by sebb)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788503 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:44:21 +00:00
Oleg Kalnichevski 4569c7d8ea Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788497 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:04:53 +00:00
Oleg Kalnichevski cd6851f19a Upgrade HttpClient version to 4.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788485 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 19:38:04 +00:00
Oleg Kalnichevski 0442bb4c3a Updated HttpCore dependency to version 4.0.1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@787015 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 13:49:18 +00:00
Oleg Kalnichevski bd2f049ada HTTPCLIENT-841: removed connection garbage collection due to a memory leak
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@784361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 10:13:36 +00:00
Oleg Kalnichevski 29b8b170e4 Added a more advanced protocol interceptor for generating Connection and Proxy-Connection request headers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@783453 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 19:13:24 +00:00
Oleg Kalnichevski 642d0e242e Updated report definitions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@782313 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 22:03:11 +00:00
Oleg Kalnichevski a056c12a1f Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@782102 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 19:11:44 +00:00
Oleg Kalnichevski 4f04500b22 Javadoc cleanups; fixed some binary incompatibilities with 4.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@781821 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 18:17:38 +00:00
Oleg Kalnichevski 9996dad49d Follow-up to HTTPCLIENT-853
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@781075 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 16:18:12 +00:00
Oleg Kalnichevski b71fefd093 HTTPCLIENT-853: Fixed bug causing invalid cookie origin port to be selected when the target is accessed on the default port and the connection is established via a proxy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780802 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 20:01:01 +00:00
Oleg Kalnichevski 6681a1193d HTTPCLIENT-852: Fixed bug causing automatically retried redirects fail with CircularRedirectException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780611 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:39:05 +00:00
Oleg Kalnichevski 7d39f392f6 Fixed handling of the virtual host parameter. Virtual host parameter should not be used if the request has been redirected.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780403 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 10:35:47 +00:00
Oleg Kalnichevski b1db46db6c Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@779754 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 20:00:51 +00:00
Oleg Kalnichevski 28c9b07691 Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@777904 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 12:41:02 +00:00
Oleg Kalnichevski d715ace629 Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@775317 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:32:30 +00:00
Oleg Kalnichevski a757cafada Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@774460 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 18:13:35 +00:00
Oleg Kalnichevski 0e319ed85c Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@768736 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 18:36:14 +00:00
Oleg Kalnichevski 4a580146ec Updated Clirr plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@768061 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 21:28:56 +00:00
Oleg Kalnichevski 04fa90ceff Made #revokeConnection() synchronized and alwaysShutDown final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@768009 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 18:49:21 +00:00
Sebastian Bazley 5433ef9c77 Ensure finalize() always calls super.finalize()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767722 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:34:21 +00:00
Sebastian Bazley 1d0b945d90 Markup how fields are synchronized
Ensure finalize() always calls super.finalize()

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767721 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:32:52 +00:00
Sebastian Bazley 6df48ad9fa Ensure annotations are not part of OSGI imports
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767706 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:03:58 +00:00
Oleg Kalnichevski ab954f255a Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767659 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 21:04:47 +00:00
Oleg Kalnichevski cd4de57a55 Made class thread-safe; cleaned up javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767657 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 21:03:47 +00:00
Oleg Kalnichevski 4f51cdcf24 Javadoc updates and code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@766758 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 17:15:05 +00:00
Oleg Kalnichevski af182ce5e9 Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@766180 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 23:39:31 +00:00
Oleg Kalnichevski b44aee815b Javadoc and code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765710 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 18:12:30 +00:00
Sebastian Bazley 0b44b69b29 Grammar police
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765677 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:17:24 +00:00