Commit Graph

80 Commits

Author SHA1 Message Date
Oleg Kalnichevski cb983ea5b0 HTTPCLIENT-1494: null check in StringBody constructor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1585944 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 11:42:56 +00:00
Sebastian Bazley c85a1e0344 Standardise on Locale.ROOT for case-conversion
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1579495 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 01:12:53 +00:00
Sebastian Bazley c79ccfe755 Fix up IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571442 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 21:13:46 +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
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 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 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 2b31931ecf HTTPCLIENT-1426: use File#getName() if filename is not explicitly given
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1535114 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 18:37:55 +00:00
Gary D. Gregory 613ef11aaf Use "MIME" instead of "mime" in Javadocs, MIME is an acronym.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1524494 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 17:13:02 +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
Oleg Kalnichevski 995122f963 Made MinimalField constructor public
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1517444 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 07:27:52 +00:00
Oleg Kalnichevski 95d65666c8 Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515777 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 11:11:13 +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 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
Oleg Kalnichevski 47f900a03f Fixed maven checkstyle config; fixed format violations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495818 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 14:07:22 +00:00
Oleg Kalnichevski 9056303b5c Post HTTPCLIENT-1372 cleanups; all multipart entity generation logic moved to MultipartEntityBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495409 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 12:28:58 +00:00
Karl Wright f596896b32 Add RFC6532 multipart mode, and supporting tests and classes. Finishes HTTPCLIENT-1372.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495189 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 21:09:23 +00:00
Oleg Kalnichevski 1dd6b90374 Removed code duplication between deprecated HttpMultipart and AbstractMultipartForm; made AbstractMultipartForm and its super classes package private
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495134 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 19:06:33 +00:00
Karl Wright 74213fa419 Refactoring, in preparation for functional pieces for HTTPCLIENT-1372.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494902 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 09:59:33 +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
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
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
Oleg Kalnichevski 19c10ca488 Fixed style check violations (tabs introduced by a previous commit)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432730 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 20:41:07 +00:00
Gary D. Gregory 323adda52e Add missing '@Override' annotations.
Add missing '@Deprecated' annotations.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432551 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 04:46:54 +00:00
Oleg Kalnichevski d695c0e8b6 Updated multipart POST example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1426534 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 14:59: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 d72e9b3ae7 Use Asserts to verify object state; use Args to verify method arguments
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1423516 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 16:22:58 +00:00
Gary D. Gregory b6457c4d27 [HTTPCLIENT-1260] Javadoc incorrectly states StringBody(String)'s encoding uses the system default. Contributed by Tim <tdhutt at gmail.com> and Gary Gregory <ggregory at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1409922 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 18:46:03 +00:00
Gary D. Gregory c017b6ba7b Javadoc nit.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1409915 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 18:36:16 +00:00
Gary D. Gregory 20de472dd7 Use Java 5 enhanced 'for' loops.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1407076 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 13:46:24 +00:00
Oleg Kalnichevski 84d4b9e2ac Refactored HttpMime ContentBody classes to use ContentType at construction time; added MultipartEntityBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1398094 13f79535-47bb-0310-9956-ffa450edef68
2012-10-14 14:55:11 +00:00
Oleg Kalnichevski faef016a2c HTTPCLIENT-1201: Quick start doc improvements
Contributed by miles zarathustra <albert.bradley at thomsonreuters.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1353605 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:43:28 +00:00
Oleg Kalnichevski 7a207ae475 Removed code deprecated in release 4.0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337893 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 14:11:39 +00:00
Oleg Kalnichevski a8d2e5e5fa Added release version to deprecation annotations; removed references to deprecated methods / classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1335088 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 16:06:11 +00:00
Oleg Kalnichevski e5ea32b76d TABS -> SPACES
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1172301 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 16:20:20 +00:00
Sebastian Bazley a54611e8d6 @import is relative to the current css file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070647 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 20:31:08 +00:00
Sebastian Bazley 0991eb0f07 Remove menu items which are now in the common parent section
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070169 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 01:20:10 +00:00
Sebastian Bazley 639891773c Use relative URLs so works anywhere
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070168 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 01:19:35 +00:00
Sebastian Bazley 04d14e5e95 Absolute references are converted incorrectly.
Better fix: if banners are inherited from parent POM, then references are calculated OK

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070077 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 13:17:47 +00:00
Sebastian Bazley d5444aad70 Absolute references are converted incorrectly for the HC sub-sub sites
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070011 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 02:14:00 +00:00
Oleg Kalnichevski a703914575 HTTPCLIENT-1026: shut down connection manager in a try-finally
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1055629 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 20:39:15 +00:00
Sebastian Bazley 7bd182d481 Make mode a final field of HttpMultipart
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1051681 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 22:25:45 +00:00
Sebastian Bazley 4c24320359 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1051680 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 22:23:59 +00:00
Sebastian Bazley 4f5d4b0d7e Remove unnecessary null checks for mimeType and TransferEncoding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1051664 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 21:43:56 +00:00
Oleg Kalnichevski 0dbecf3a49 Fixed broken test cases
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1051425 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 09:07:42 +00:00
Sebastian Bazley c1e0539a93 Fix Javadoc for current behaviour
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1051355 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 01:50:35 +00:00
Sebastian Bazley d012c1041c Might help if the import was removed too ...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1050267 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 02:49:15 +00:00
Sebastian Bazley 820817d0b8 Annotations can currently only be used in httpclient module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1050264 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 02:12:18 +00:00