Commit Graph

2282 Commits

Author SHA1 Message Date
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 92448db3b4 fewer boxing conversions needed when stored as an object
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571387 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:41:11 +00:00
Sebastian Bazley da69db639c Eliminate repeated boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571385 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:33:10 +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 9b5b7e9eb9 Suppress unused exception warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571381 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:23: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 56e6a6c853 Avoid name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571370 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:56:52 +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 f18074b586 Rename or inline local variables to avoid variable hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571363 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:30:05 +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 92e522db4f Internal method - remove unthrown exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571351 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:05:07 +00:00
Sebastian Bazley 425d4941fa Avoid name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571350 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:04:26 +00:00
Sebastian Bazley 552c58430c Internal method - remove unthrown exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571348 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:02:16 +00:00
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