Commit Graph

367 Commits

Author SHA1 Message Date
Oleg Kalnichevski 12482402c4 Upgraded HttpClient version to 4.5.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1683489 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 08:41:39 +00:00
Michael Osipov fc250e5616 HTTPCLIENT-1623: Several files still refer to Java 1.5
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662569 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 20:59:56 +00:00
Oleg Kalnichevski 5927ed1966 Upgraded project version to 4.5-alpha1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662491 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 16:35:41 +00:00
Oleg Kalnichevski 95754d776c HTTPCLIENT-1244: convert unit tests for cache module to use Mockito
Contributed by Joseph Walton <joe at kafsemo dot org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1661658 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 12:42:47 +00:00
Oleg Kalnichevski 2e292aa2b7 Upgraded HttpClient version to 4.4.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1656440 13f79535-47bb-0310-9956-ffa450edef68
2015-02-02 10:51:12 +00:00
Sebastian Bazley 99727816af Fix indentation - no code change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1653970 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 17:40:44 +00:00
Oleg Kalnichevski 1964e9530a HTTPCLIENT-1575: Disallow HttpRoute instances with default (-1) port
Contributed by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1638138 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 15:09:48 +00:00
Francois-Xavier Bonnet 0cedb7c8cc HTTPCLIENT-1515: Caching responses to HEAD requests
Fixed API change and removed opt-in parameter

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1637599 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 21:47:12 +00:00
Francois-Xavier Bonnet 2883531e92 Merge remote-tracking branch 'J-Cutajar/cache-head-responses' into trunk
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1637389 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 15:23:03 +00:00
Gary D. Gregory 68a2f45200 Update Spymemcached version from 2.6 to 2.11.4.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1631273 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 00:44:19 +00:00
Oleg Kalnichevski de48ae0c85 Upgraded HttpClient version to 4.4-beta2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1627720 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 07:38:00 +00:00
Gary D. Gregory 224711a6d1 Javadoc 8 fixes.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619450 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:44:19 +00:00
Gary D. Gregory fb374dab5f Javadoc 8 fixes: Use {@code foo} instead of <code>foo</foo>.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619429 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:09:04 +00:00
Gary D. Gregory 7e4cfbb688 Branding: Use "Apache" in Maven module names and descriptions.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619388 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 13:22:42 +00:00
Oleg Kalnichevski 1894418915 HTTPCLIENT-1542: Caching HttpClient uses absolute URIs for validation (follow-up patch, more tests)
Based on contribution by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618558 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 07:55:10 +00:00
Oleg Kalnichevski 683bb070fd HTTPCLIENT-1542: Caching HttpClient uses absolute URIs for validation
Based on contribution by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618324 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 10:51:35 +00:00
Oleg Kalnichevski d20886cd56 Upgraded HttpClient version to 4.4-alpha2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606643 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 08:20:31 +00:00
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