Commit Graph

308 Commits

Author SHA1 Message Date
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
Jonathan Moore 38c7647050 HTTPCLIENT-1370: Response to non-GET requests should never be cached with the default
ResponseCachingPolicy
Contributed by James Leigh <james at 3roundstones dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512552 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 02:06:48 +00:00
Jonathan Moore 0364f0156b HTTPCLIENT-1373: OPTIONS and TRACE should not invalidate cache
Contributed by James Leigh <james at 3roundstones dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512441 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 18:50:43 +00:00
Oleg Kalnichevski 888b783538 Fixed duplicate N&L problem by removing maven-notice-plugin in favor of maven-remote-resource-plugin included through Apache parent POM
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512361 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:57:15 +00:00
Oleg Kalnichevski 7005e49c57 Upgraded parent pom to version 7; removed assembly plugin; removed clover profile
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512192 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 07:24:29 +00:00
Oleg Kalnichevski e7d9978f26 Moved deprecated classes to a separate scr folder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1507633 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 13:16:37 +00:00
Francois-Xavier Bonnet 981aa247d7 HTTPCLIENT-1361: stale-while-revalidate should work also without last-modified nor etag
HTTPCLIENT-1368: stale-if-error request cache directive should also apply to non-revalidatable cache entries

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1499502 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 18:11:35 +00:00
Oleg Kalnichevski 594f24cf05 HTTPASYNC-46: HttpClient cache test cases can be shared with HttpAsyncClient
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494755 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 19:50:02 +00:00
Sebastian Bazley 3956b9f30f Wrong field used; config parameter can be null which would cause NPE here
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493755 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:23:02 +00:00
Sebastian Bazley 0533ce7c53 Remove unthrown exceptions from private and package methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493752 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:15:48 +00:00
Oleg Kalnichevski 56b7cbe159 Upgraded project version to 4.3-beta3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1492097 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 07:51:45 +00:00
Oleg Kalnichevski b1c387e986 Style-check to enforce unused import and final variable checks
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491511 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 15:52:49 +00:00
Jonathan Moore 908b81dd5a HTTPCLIENT-1353: 303 redirects should be cacheable
Commit of patch #1 to synchronous client from James Leigh
<james at 3roundstones dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490448 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 21:25:04 +00:00
Oleg Kalnichevski d917eec043 Removed executable flag
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487414 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 09:05:37 +00:00
Oleg Kalnichevski ff1acb48a8 Code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483265 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 09:12:42 +00:00
Oleg Kalnichevski 456461b1c6 HTTPCLIENT-1299: (regression) cache incorrectly disposes of the underlying cache resource when storing variant entry (follow-up)
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1468823 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 10:18:48 +00:00
Oleg Kalnichevski c53c5f1e1e Upgraded project version to 4.3-beta2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1466429 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 11:30:43 +00:00
Oleg Kalnichevski fc298adb7c Removed Clirr plugin config from HttpClient Cache (should be inherited from parent)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464368 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 08:57:59 +00:00
Oleg Kalnichevski a6a328a7af Moved DateUtils to o.a.http.client.utils
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464366 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 08:57:36 +00:00
Oleg Kalnichevski 3f444fc740 Deprecated ClientContext; removed references to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463938 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 11:56:34 +00:00
Oleg Kalnichevski 0bbbd742b8 HTTPCLIENT-1213: Avoid parsing HttpCacheEntry date attribute multiple times.
Contributed by Sam Perman <sam at permans.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463551 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 14:05:12 +00:00
Oleg Kalnichevski e1ca6d2fb8 HTTPCLIENT-1299: (regression) cache incorrectly disposes of the underlying cache resource when storing variant entry
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1462069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 12:36:03 +00:00
Francois-Xavier Bonnet 932721b54f HTTPCLIENT-1310: Allow background validation to optionally back off after a number of failed requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1450718 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 10:34:05 +00:00
Francois-Xavier Bonnet a54e7031b1 HTTPCLIENT-1324: CachingHttpClientBuilder.build() fails when asynchronousWorkersMax=0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1447763 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 15:23:16 +00:00
Oleg Kalnichevski 983bef040d Fixed Java 5 incompatibility causing a compile error with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437994 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 13:37:10 +00:00
Oleg Kalnichevski 508497a8be HTTPCLIENT-1298: Add AsynchronousValidator in HttpClientBuilder's list of closeable objects
Contributed by Martin Meinhold <mmeinhold at atlassian.com>

* Resolve constructor dependency between CachingExec and AsynchronousValidator
* AsynchronousValidator implements Closeable interface

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437952 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 11:05:36 +00:00
Gary D. Gregory 7f6198fe46 Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437584 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 17:23:43 +00:00
Gary D. Gregory 79a3325bda JUnit 3 -> 4: replace import of junit.framework.Assert with org.junit.Assert.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437578 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 17:20:11 +00:00
Oleg Kalnichevski 696b6e117b Upgraded project version to 4.3-alpha2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1435976 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 21:28:23 +00:00
Sebastian Bazley 5bdd456c8c Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1435315 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 19:34:52 +00:00
Oleg Kalnichevski 2ea3298894 Fixed javadocs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1434000 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 15:54:44 +00:00
Gary D. Gregory 3ebbcab3b4 Add final modifier to local variables.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433815 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 03:27:44 +00:00
Oleg Kalnichevski 3d34035b17 Fixed style check violations (tabs introduced by a previous commit)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433610 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 20:08:10 +00:00
Gary D. Gregory 276a9c4597 Add final modifier to method parameters.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433569 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 18:29:58 +00:00
Gary D. Gregory 917145dbd3 Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433390 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:12:01 +00:00
Oleg Kalnichevski d4dc9e1ac7 Moved internal exec chain classes and interfaces
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432732 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 20:41:41 +00:00
Gary D. Gregory 3a073e8ed8 Add final modifier to private fields.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432552 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 04:49:33 +00:00
Oleg Kalnichevski 4136406ac8 HTTPCLIENT-1290: 304 cached response never reused with If-modified-since conditional requests
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1430245 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 12:16:00 +00:00
Oleg Kalnichevski 8155bab28d Added static #copy method to config classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1428925 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 15:22:30 +00:00
Oleg Kalnichevski 1db3da376e tabs -> spaces; removed trailing whilespaces; updated stylecheck definitions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1426529 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 14:48:57 +00:00
Oleg Kalnichevski 1c322eb843 Added minimal style checks: licence header, file length, illegal imports
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1426521 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 14:36:14 +00:00
Oleg Kalnichevski 38e6a997fc HTTPCLIENT-1250: Allow query string to be ignored when determining cacheability for HTTP 1.0 responses
Contributed by Don Brown <mrdon at twdata.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1424589 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:56:41 +00:00
Oleg Kalnichevski b6d7989aae Authmatically shut down file system based cache storage instantiated by CachingHttpClientBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1423960 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 17:12:03 +00:00