Commit Graph

2315 Commits

Author SHA1 Message Date
Sebastian Bazley 772e352587 Eliminate warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571347 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:57:36 +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 3524ca42ac Access constant directly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571344 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:46:37 +00:00
Sebastian Bazley 36d12dd54a Access constant directly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571343 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:46:09 +00:00
Sebastian Bazley e98c82307f Ignore target
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570964 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 03:06: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
Sebastian Bazley 28c75eff7f Javadoc clarification
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570961 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 02:38:00 +00:00
Sebastian Bazley d30d5c4883 Java 6 wants @Override for interface implementations as well
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570959 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 02:37:29 +00:00
Oleg Kalnichevski def5c423ab Fixed paragraph overflow in tutorial PDF
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570695 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 20:12:00 +00:00
Oleg Kalnichevski 9a2c4bc01a HTTPCLIENT-1467: MultipartEntityBuilder#addPart(FormBodyPart) made public
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570527 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 11:03:24 +00:00
Oleg Kalnichevski 71eb5c853a HTTPCLIENT-1466: FileBodyPart#generateContentType() ignores custom ContentType values
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570525 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 10:58:02 +00:00
Oleg Kalnichevski 238195f058 Log operation that caused an I/O error
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570195 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 14:07:41 +00:00
Oleg Kalnichevski 24d5d8b454 HTTPCLIENT-1464: ability to enable / disable content decompression at request level
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570142 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 10:53:52 +00:00
Oleg Kalnichevski 3826597f1a Wire log to include I/O errors and end of stream
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570140 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 10:52:59 +00:00
Oleg Kalnichevski 22d2c89b55 HTTPCLIENT-1462: include source port, host information in the debug level output
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1569325 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 13:58:44 +00:00
Oleg Kalnichevski 08f88336a1 HTTPCLIENT-1461: fixes performance degradation in gzip encoded content processing introduced by HTTPCLIENT-1432
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1569324 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 13:57:50 +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 bd2585f515 Updated artifact name (winauth-jni to httpclient-win)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1568978 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 13:17:30 +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 3ddbbcc251 HTTPCLIENT-1458: SystemDefaultCredentialsProvider always uses 'http' as an authentication protocol to Authenticator#requestPasswordAuthentication call
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567926 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 13:58:41 +00:00
Oleg Kalnichevski 47e6f4590b Updated AuthScope javadocs; added origin attribute
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567925 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 13:58:23 +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
Sebastian Bazley 7ec8359476 Add a couple more IPV6 tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567480 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 01:03:02 +00:00
Oleg Kalnichevski 580a72d2cd HTTPCLIENT-1457: Incorrect handling of Windows (NT) credentials by SystemDefaultCredentialsProvider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1565783 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 20:19:44 +00:00
Oleg Kalnichevski 860578ca5f HTTPCLIENT-1456: Request retrial after status 503 causes ClientProtocolException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1565678 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 15:16:28 +00:00
Oleg Kalnichevski ba9d0565b9 HTTPCLIENT-1455: fixed code sample in the 'Caching' section of the tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1564244 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 10:21:02 +00:00
Oleg Kalnichevski 260d370b0f HTTPCLIENT-1454: Make connection operator APIs public.
Contributed by Tamas Cservenak <tamas at cservenak.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1562812 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 13:27:12 +00:00
Oleg Kalnichevski d42150042d Added Windows specific CredentialsProvider that always returns current user credentials to NTLM and SPNEGO auth challenges
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561333 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 16:27:37 +00:00
Oleg Kalnichevski 653ae8026c Use Java 1.6 method to obtain default system SSLContext
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561331 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 16:18:05 +00:00
Oleg Kalnichevski f04d653be3 Updated @since tag for Win Auth classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561068 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:05:45 +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
Oleg Kalnichevski b7291b4c32 HTTPCLIENT-1448: Add context information to NoHttpResponseException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1559999 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 12:50:22 +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 db04b073ad Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558781 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 13:16:07 +00:00
Gary D. Gregory 9b8db25b17 [HTTPCLIENT-1447] Clients created with HttpClients.createMinimal do not work with absolute URIs.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558405 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 14:48:42 +00:00
Gary D. Gregory 205258b1f9 We have a concurrency bug in HttpCore 4.3.1 which will be addressed after HttpClient 4.3.2 is released.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558386 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 14:01:24 +00:00
Oleg Kalnichevski ff8896bf71 Relaxed OSGi dependency import version ranges. See HTTPASYNC-65
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558380 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 13:38:24 +00:00
Oleg Kalnichevski d1a2565df3 HTTPCLIENT-1447: clients created with HttpClients#createMinimal do not work with absolute URIs
Contributed by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558353 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 12:19:06 +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
Gary D. Gregory 746bb7aea2 Add missing '@Override' annotations.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558059 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:48:56 +00:00
Gary D. Gregory a7caa74b1e Convert 'for' loops to enhanced 'for' loops.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558057 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:47:21 +00:00
Gary D. Gregory 9debe112db Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558055 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:45:13 +00:00