Commit Graph

350 Commits

Author SHA1 Message Date
Sebastian Bazley 4006d7e4f2 Add TODOs for code that needs looking at
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604892 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:46:29 +00:00
Oleg Kalnichevski 2ebd820284 Migrated integration tests to HttpServer from HttpCore 4.4
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603443 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 13:06:43 +00:00
Oleg Kalnichevski b3b1b712df Cleanups in CachingExec and related test classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1572556 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 13:32:58 +00:00
Oleg Kalnichevski 29e692e410 Made AsynchronousValidationRequest public
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571715 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 14:46:07 +00:00
Oleg Kalnichevski 013ed18c5c Code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571714 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 14:45:14 +00:00
Sebastian Bazley 33b4fc1db7 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571527 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 01:54:35 +00:00
Sebastian Bazley d90f21400f Suppress unused warnings for ctor tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571526 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 01:53:36 +00:00
Sebastian Bazley 79c90bd159 Oops - Cannot use top level EasyMock for everything.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571432 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 20:46:49 +00:00
Sebastian Bazley 4908990207 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571423 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 20:16:48 +00:00
Sebastian Bazley 7eb9097b1c Rename or inline local variables to avoid variable hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571416 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 19:54:01 +00:00
Sebastian Bazley 036e717655 We don't need the content length as an int; avoid the boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571393 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:48:09 +00:00
Sebastian Bazley 0b7d6186db Boxing not usually important in test code; the EasyMock classes generate a lot of warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571383 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:28:17 +00:00
Sebastian Bazley 7e162182b3 Boxing not usually important in test code; the EasyMock classes generate a lot of warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571382 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:24:25 +00:00
Sebastian Bazley eaaa6fc3ed Avoid name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571377 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:16:15 +00:00
Sebastian Bazley fe360e7b3d Rename or inline local variables to avoid variable hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571371 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:03:43 +00:00
Sebastian Bazley 722f5c256b Remove unnecessary duplicate field setup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571365 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:30:56 +00:00
Sebastian Bazley c06d7ae10c Avoid name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571364 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:30:30 +00:00
Sebastian Bazley 896fa04ce3 Remove unnecessary duplicate field setup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571361 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:25:19 +00:00
Sebastian Bazley defc45ca50 Remove unnecessary duplicate field setup and rename variable to avoid hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571360 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:22:50 +00:00
Sebastian Bazley eddeaa64e6 Avoid warnings: the static method should be accessed directly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571346 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:49:54 +00:00
Sebastian Bazley 67a1cc7199 HTTPCLIENT-1470 CachingExec(ClientExecChain, HttpCache, CacheConfig, AsynchronousValidator) throws NPE if config is null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570963 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 03:05:04 +00:00
Sebastian Bazley 50b27ac790 Direct access to static fields
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570962 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 02:42:20 +00:00
Oleg Kalnichevski 34675f33d7 Avoid using implementation classes shipped with Android in HttpMime, HC Fluent, and Caching modules
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1568979 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 13:18:13 +00:00
Oleg Kalnichevski 80c8fb4dfc HTTPCLIENT-1460: ManagedHttpCacheStorage to keep valid cache entries upon close
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567935 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 14:11:18 +00:00
Oleg Kalnichevski 93ae3c741b Use AtomicBoolean to hold storage status
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567934 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 14:10:27 +00:00
Oleg Kalnichevski 60f0724533 Use Locale.ROOT instead of Locale.US or Locale.ENGLISH for upper/lower case conversion of locale independent textual identifiers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567923 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 13:58:09 +00:00
Oleg Kalnichevski e9c8797108 Use String methods and constructors that require Charset instead of String
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561066 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:04:04 +00:00
Oleg Kalnichevski 715a34c860 Use Java 1.6 String#isEmpty(); minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:45 +00:00
Oleg Kalnichevski 594f2f4b62 Added missing @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561063 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:05 +00:00
Oleg Kalnichevski 54c767ee07 Upgraded project version to 4.4-alpha1-SNAPSHOT; upgraded minimal Java level to 1.6; re-enabled win atuh module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561061 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:00:08 +00:00
Gary D. Gregory a718eee61c Upgraded HttpClient version to 4.3.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1559527 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 17:07:28 +00:00
Gary D. Gregory f67e596013 Remove useless parens.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558069 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 15:07:14 +00:00
Gary D. Gregory fe84b2934c Add final modifier to local variables (exception catch).
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:56:59 +00:00
Gary D. Gregory 54667c0a43 Add missing '@Override' annotations.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558061 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:53:23 +00:00
Gary D. Gregory c7c70ec451 Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558060 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:52:13 +00:00
Francois-Xavier Bonnet 8acc3ad661 HTTPCLIENT-1443: HttpCache uses the physical host instead of the virtual host in the cache key
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1553642 13f79535-47bb-0310-9956-ffa450edef68
2013-12-27 08:18:03 +00:00
Oleg Kalnichevski ae429fab28 HTTPCLIENT-1441: Caching AsynchronousValidationRequest leaks connections.
Contributed by Dominic Tootell <dominic.tootell at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1546855 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 20:33:37 +00:00
Oleg Kalnichevski 85a99b22e4 HTTPCLIENT-1428: Fixed Javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1537133 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 15:31:21 +00:00
Oleg Kalnichevski 1003beffc0 HTTPCLIENT-1425: Fixed socket closed exception thrown by caching HttpClient when the origin server sends a long chunked response (follow-up)
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1534757 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 19:59:14 +00:00
Oleg Kalnichevski 6bb9398b39 HTTPCLIENT-1425: Fixed socket closed exception thrown by caching HttpClient when the origin server sends a long chunked response
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1534585 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 10:10:16 +00:00
Oleg Kalnichevski df36e1087c HTTPCLIENT-1416: Fixed NPE in CachingHttpClientBuilder#build()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529812 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 10:08:05 +00:00
Oleg Kalnichevski b83c1b9358 Upgraded HttpClient version to 4.3.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529810 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 09:49:54 +00:00
Oleg Kalnichevski eff62c7a6e Upgraded HttpClient version to 4.3.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1521260 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 19:32:04 +00:00
Oleg Kalnichevski 6b5327c64b Removed website resources
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519408 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 12:15:03 +00:00
Jonathan Moore b7b4ef91a4 HTTPCLIENT-1371: Weak ETag Validation is Useful On PUT With If-Match
Contributed by James Leigh <james at 3roundstones dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519005 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 16:01:37 +00:00
Oleg Kalnichevski c787841e42 Manually configured maven reports that are applicable to the given artifact
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1517799 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:04:46 +00:00
Oleg Kalnichevski c1a065aec5 Fixed javadoc plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1517798 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:04:15 +00:00
Oleg Kalnichevski 0101c2f949 HTTPCLIENT-1384: Expose CacheInvalidator interface
Contributed by Nicolas Richeton <nicolas.richeton at free.fr>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515814 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 13:10:55 +00:00
Oleg Kalnichevski c0c92b814c Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515547 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 18:28:43 +00:00
Oleg Kalnichevski 71ef668258 HTTPCLIENT-1385: Fixed path normalization in CacheKeyGenerator
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1513622 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 19:38:48 +00:00