Commit Graph

779 Commits

Author SHA1 Message Date
Sebastian Bazley 3994fe9af2 More Immutable classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756298 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:54:11 +00:00
Sebastian Bazley 1326d80e52 Private Field is not updated, might as well be final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:53:34 +00:00
Sebastian Bazley 4753d7e3ac More ThreadSafe and Immutable classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756296 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:52:13 +00:00
Sebastian Bazley e895b182a5 As with other methods, not currently thread-safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756294 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:51:09 +00:00
Sebastian Bazley f97f49b471 Make schemeRegistry final. This makes the class ThreadSafe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756183 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:41:46 +00:00
Oleg Kalnichevski ac3eefa92a Fixed potential thread-safety issue. Credits to Sebb
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756157 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 19:53:53 +00:00
Sebastian Bazley 4726814033 Classes aren't thread-safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755813 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:02:37 +00:00
Sebastian Bazley 864625160f Immutable classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755812 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:01:06 +00:00
Sebastian Bazley d2a63269e5 Make code thread-safe by using dirty as a volatile guard
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755811 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:00:15 +00:00
Sebastian Bazley b44390712c Minor fixes to fix Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755808 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 01:37:11 +00:00
Sebastian Bazley adb782ce7e More non-threadsafe classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755807 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 01:30:00 +00:00
Sebastian Bazley 8402cb6476 Add JCIP annotations jar
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755802 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 00:43:20 +00:00
Sebastian Bazley a8571f883b HTTPCLIENT-835 : No point having protected final fields and public getters
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755793 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 00:01:31 +00:00
Sebastian Bazley f3fdcc1a06 Document classes which are not thread-safe currently
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:47:46 +00:00
Sebastian Bazley cdc4fc628b Some more immutable classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755784 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:41:04 +00:00
Sebastian Bazley 5b44cc0938 Make AbstractAuthenticationHandler immutable by changing the List to unmodifiable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755783 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:38:11 +00:00
Sebastian Bazley 6c01316e2c Document MT safety concern
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755779 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:24:04 +00:00
Sebastian Bazley fe0e5e9654 Add JCIP annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755466 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 03:37:07 +00:00
Sebastian Bazley 12545d7a13 Inline private init method so as to make class immutable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755462 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 02:44:13 +00:00
Sebastian Bazley de1cead50d Add JCIP annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 02:41:04 +00:00
Sebastian Bazley 2cc1241ed7 Make protected variables final to reduce multi-threading issues
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755457 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 02:11:44 +00:00
Sebastian Bazley 087d6af97d Fix alignment
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755453 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 01:32:47 +00:00
Sebastian Bazley 65c8f4dabd Add JCIP annotations dependency
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755450 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 00:05:59 +00:00
Oleg Kalnichevski 48634b1b4b Minor generics tweak
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755398 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:05:22 +00:00
Oleg Kalnichevski 8e409a71d1 Automatically retry methods considered idempotent
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755395 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:04:07 +00:00
Oleg Kalnichevski bb15e4d9b3 HTTPCLIENT-833: fixed possible NPE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@754998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 20:33:39 +00:00
Sebastian Bazley 72eedbe0ea Avoid possible NPE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@753460 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 22:35:53 +00:00
Sebastian Bazley 0483252843 Remove unthrown Exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@753456 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 22:28:07 +00:00
Oleg Kalnichevski 9940cb5982 Upgraded mime4j to version 0.6
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@750894 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 13:50:50 +00:00
Oleg Kalnichevski 8849e82869 * Cleaned up expired / idle connection eviction code
* Added sample of expired / idle connection eviction
* Cleaned up examples 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@749322 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 14:51:22 +00:00
Oleg Kalnichevski 1bd224cab2 Added logging guide to the site menu
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@749087 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:36:50 +00:00
Oleg Kalnichevski 307ebf2ada Removed explicit SCM declarations from module POMs; updated examples page; updated assembly descriptors
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@749059 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 16:41:21 +00:00
Oleg Kalnichevski c211aaf0ca Project layout reorganization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@749057 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 16:36:52 +00:00
Oleg Kalnichevski 6bf5825254 Ported logging guide from HttpClient 3.x
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748870 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 15:52:03 +00:00
Oleg Kalnichevski d3389a9b7b Cleaned up more sample code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748834 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 12:34:51 +00:00
Oleg Kalnichevski 65b8b329ec Cleaned up execute direct and execute via proxy examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748828 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 12:05:44 +00:00
Oleg Kalnichevski 25ff7db458 Slightly more intelligible debug log
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748827 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 12:04:44 +00:00
Oleg Kalnichevski 2e4ab52fd5 HTTPCLIENT-823: 'http.conn-manager.max-total' parameter can be adjusted dynamically. However, the size of existing
connection pools per route, once allocated, will not be adjusted.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747762 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 12:16:27 +00:00
Oleg Kalnichevski aae2b9cc36 Upgraded HttpCore dependency to 4.0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747716 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 09:23:29 +00:00
Oleg Kalnichevski 68916fe676 HTTPCORE-189: Upgrade POMs to use Clover2
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747598 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 23:00:54 +00:00
Oleg Kalnichevski bb7c2d09c9 HTTPCLIENT-827: publish httpclient test-jar
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747327 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 10:23:53 +00:00
Oleg Kalnichevski 646aeb339c Updated release info
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@746801 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:54:31 +00:00
Oleg Kalnichevski 401dfa839f Use remote resources plugin to add LICENSE and NOTICE resources to the release artifacts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@746799 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:48:08 +00:00
Oleg Kalnichevski 902608e704 HTTPCLIENT-826: Set source and output encoding in POMs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@746797 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:42:25 +00:00
Sebastian Bazley 77ab335fb3 Add @since 4.0 tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744772 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 22:17:10 +00:00
Sebastian Bazley eec7461bed Add @since 4.0 tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744770 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 22:10:51 +00:00
Sebastian Bazley 56ed074057 Add @since 4.0 tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744698 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 17:10:40 +00:00
Sebastian Bazley 5ea4bb730c Add missing AL header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744695 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:46:58 +00:00
Sebastian Bazley 9ca4ef79ee Remove @author tags; fix some SVN properties
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744689 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:34:53 +00:00
Sebastian Bazley 9806e2f5d0 Remove unthrown Exception clauses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744686 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:18:52 +00:00