Commit Graph

1170 Commits

Author SHA1 Message Date
Sebastian Bazley e4d6204517 @Overrides
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023981 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 20:16:06 +00:00
Sebastian Bazley 15c154c8ac Simplify and eliminate boxing warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023978 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 20:13:01 +00:00
Sebastian Bazley fa172d971d Make private immutable variable final
Missing @Override markers

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023974 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 20:09:39 +00:00
Oleg Kalnichevski 29f896a0a3 HTTPCLIENT-919: Support for NTLMv1, NTLMv2, and NTLM2 Session authentication.
Contributed by Karl Wright <karl.wright at nokia.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023959 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:20:08 +00:00
Oleg Kalnichevski 354171b344 HTTPCLIENT-1014: ContentBody backed by a byte array
Contributed by Axel Fontaine <business at axelfontaine.eu>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023336 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 17:25:54 +00:00
Oleg Kalnichevski 65528c02ec HTTPCLIENT-1005: reduced public API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023261 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 12:04:02 +00:00
Oleg Kalnichevski 6892f58f2c HTTPCLIENT-1008: send all variants' ETags on "variant miss"
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com> and Mohammed Azeem Uddin <mohammedazeem_uddin at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023085 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 19:43:18 +00:00
Oleg Kalnichevski e6190109d8 HTTPCLIENT-1011: Handling of IOExceptions thrown by cache components
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1022965 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:20:10 +00:00
Oleg Kalnichevski dfe45e8f56 HTTPCLIENT-1009: [follow-up] chunked value for CombinedEntity
Contributed by Joe Campbell <joseph.r.campbell at gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1022947 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 14:35:28 +00:00
Oleg Kalnichevski 0f2cc20b22 HTTPCLIENT-1009: content-type / content-encoding headers on cache response entities
Contributed by Felix Berger <bflat1 at gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1006348 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 19:59:39 +00:00
Oleg Kalnichevski c1f9d2b336 HTTPCLIENT-1009: content-type / content-encoding headers on cache response entities (test case)
Contributed by Joe Campbell <joseph.r.campbell at gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1006346 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 19:53:42 +00:00
Oleg Kalnichevski 804359f1ab HTTPCLIENT-1003: Handle conditional requests in cache
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com> and Mohammed Azeem Uddin <mohammedazeem_uddin at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1004777 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 19:24:42 +00:00
Oleg Kalnichevski 0b2189222b HTTPCLIENT-1001: cacheEntryUpdater does not properly update cache entry resource
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1003455 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 09:49:15 +00:00
Oleg Kalnichevski e5596fb025 HTTPCLIENT-1002: Stale connection check fails if wire logging is on
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1002956 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 07:35:30 +00:00
Oleg Kalnichevski a2deba9de5 TABS -> SPACES
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1001145 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 06:46:36 +00:00
Oleg Kalnichevski 1e70d5a39e HTTPCLIENT-1000: Maximum connection lifetimes settings for ThreadSafeClientConnManager.
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1001144 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 06:35:07 +00:00
Sebastian Bazley 86c464d15e Add missing @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1000096 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 17:19:31 +00:00
Oleg Kalnichevski 9ced45d7e6 HTTPCLIENT-999: tests to guarantee transparency of caching module on end-to-end headers
Contributed by Jonathan Moore <jonathan_moore at comcast.com> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1000028 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 15:12:47 +00:00
Oleg Kalnichevski 6d41d97eb9 HTTPCLIENT-998: cache should use both Last-Modified and ETag for validations when available
Contributed by Jonathan Moore <jonathan_moore at comcast.com> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1000023 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 15:06:53 +00:00
Oleg Kalnichevski e82184af36 HTTPCLIENT-997: cache module should handle out-of-order validations properly and unconditionally refresh
Contributed by Jonathan Moore <jonathan_moore at comcast.com> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1000011 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 14:52:44 +00:00
Sebastian Bazley 43d6095b81 tutorial.html => tutorial/html/index.html
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@999878 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 11:27:46 +00:00
Sebastian Bazley 1d72032aba Another typo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@998658 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 13:30:36 +00:00
Sebastian Bazley 8e7fe77632 Fix typos in links
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@998632 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 11:46:39 +00:00
Oleg Kalnichevski c3e43de4f1 HTTPCLIENT-994: cache does not allow client to override origin-specified freshness using max-stale
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@997480 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:00:41 +00:00
Oleg Kalnichevski ff55577526 HTTPCLIENT-995: cache returns cached responses even if validators not consistent with all conditional headers
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@996644 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:05:19 +00:00
Oleg Kalnichevski 05deb28605 HTTPCLIENT-960: HttpMultipart doesn't generate Content-Type header for binary parts in BROWSER_COMPATIBLE mode
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@996639 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 18:55:56 +00:00
Oleg Kalnichevski aeffde46e6 HTTPCLIENT-977: memcached implementation for HttpCache
Contributed by Mohammed Azeem Uddin <mohammedazeem_uddin at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@995257 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 21:17:05 +00:00
Oleg Kalnichevski d78939ec1a HTTPCLIENT-992: cache should not generate stale responses to requests explicitly requesting first-hand or fresh ones
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@995246 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 20:44:31 +00:00
Oleg Kalnichevski 18d3966ed8 HTTPCLIENT-991: cache module produces improperly formatted Warning header when revalidation fails
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@995241 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 20:34:57 +00:00
Oleg Kalnichevski af025e3483 Removed unused import
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@995237 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 20:15:04 +00:00
Oleg Kalnichevski 5c2dacac18 HTTPCLIENT-989: DefaultHttpRequestRetryHandler no longer retries non-idempotent http methods if NoHttpResponseException is thrown
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@995236 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 20:07:31 +00:00
Oleg Kalnichevski fb038d3500 HTTPCLIENT-988: cache module should strip 'Content-Encoding: identity' from responses
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@993497 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 19:41:09 +00:00
Oleg Kalnichevski ec40554d4d HTTPCLIENT-987: cache module does not recognize equivalent URIs
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@993161 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 22:00:58 +00:00
Oleg Kalnichevski eb64e7d3b8 HTTPCLIENT-986: cache module does not completely handle upstream Warning headers correctly
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@993139 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 19:56:52 +00:00
Oleg Kalnichevski b368f90913 HTTPCLIENT-985: cache module should populate Via header to capture upstream and downstream protocols
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@992117 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 21:08:08 +00:00
Oleg Kalnichevski ebb54d79b9 Added NOTICE and LICENSE resources to test and osgi jars
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@992065 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 19:14:13 +00:00
Sebastian Bazley e28a688eaf EOL
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@991907 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 12:25:23 +00:00
Sebastian Bazley cf1b1aa77e EOL
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@991905 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 12:22:13 +00:00
Oleg Kalnichevski 08241f8704 Fixed problem with dependencies, output dirs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@991678 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 20:10:18 +00:00
Oleg Kalnichevski b3e4f9e3c1 Improved HTTP cache entry serialization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@990925 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 20:12:11 +00:00
Oleg Kalnichevski 30abf15ba6 Upgraded HttpCore to version 4.1-beta2; updated HttpClient tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@990924 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 20:01:46 +00:00
Oleg Kalnichevski 2b0f6ea41a HTTPCLIENT-984: additional conditional compliance tests for the caching module for Content-Encoding, Content-Location, Date, Expires, Server, Transfer-Encoding, and Vary headers
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@990245 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 20:06:11 +00:00
Oleg Kalnichevski e664fa132f HTTPCLIENT-978: HTTP cache update exception handling
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@990244 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 19:57:57 +00:00
Oleg Kalnichevski 02bb1461d8 HTTPCLIENT-982: HTTP cache response status
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@990240 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 19:35:18 +00:00
Oleg Kalnichevski 30eb471da7 Catch and log I/O exceptions thrown by #close() and #shutdown() methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@989328 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 19:57:51 +00:00
Oleg Kalnichevski 29a4612386 HTTPCLIENT-981: CachingHttpClient returns a 411 respones when executing a POST (HttpPost) request
Contributed by Joe Campbell <joseph.r.campbell at gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@989060 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 12:28:00 +00:00
Oleg Kalnichevski 68c8b4b1ee TABS -> SPACES; fixed bug in a test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@988878 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 08:33:41 +00:00
Oleg Kalnichevski 672221fc5f Renamed test class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@987822 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 20:19:41 +00:00
Oleg Kalnichevski 218f06e113 HttpCacheOperationException to signal that HttpCacheStorage encountered an error performing an caching operation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@987818 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 19:49:03 +00:00
Oleg Kalnichevski 2112061b16 HTTPCLIENT-978: Ehcache based HTTP cache implementation
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@987737 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 12:09:15 +00:00