Commit Graph

65 Commits

Author SHA1 Message Date
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
Sebastian Bazley 4eec65b378 Document thread safety
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1050254 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 00:28:00 +00:00
Sebastian Bazley 36607de8cc Might as well be final, as it's not changed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1050253 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 00:27:36 +00:00
Sebastian Bazley 3a022b2cf9 HTTPCLIENT-1036 StringBody has incorrect default for characterset.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1050239 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 23:59:08 +00:00
Sebastian Bazley 318d74af0c Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1049767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 01:47:43 +00:00
Oleg Kalnichevski 6959830c70 Removed reference to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1030514 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:12:45 +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 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
Sebastian Bazley 25071e091c Disambiguate local links so they work with the Doxia 1.1 (which is current for Maven 2.1.0)
(whilst still remaining compatible with the previous Doxia release)

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954679 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 00:15:49 +00:00
Oleg Kalnichevski ec44b2c26e Added site for HttpClient cache module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@945824 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 18:59:49 +00:00
Sebastian Bazley b1fcb10723 SVN eol-style:native
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943758 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 00:22:19 +00:00
Sebastian Bazley 615001b2ea No need to expose mutable arrays outside the class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943278 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:29:17 +00:00
Sebastian Bazley 416085813e Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939854 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 22:33:56 +00:00
Oleg Kalnichevski 160af55cb1 Migrated test cases to JUnit 4.x
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@938585 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 18:02:08 +00:00
Oleg Kalnichevski 4defb0689f TABS -> SPACES
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937479 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 19:19:23 +00:00
Oleg Kalnichevski ad7d78d0da Removed references to mime4j from javadocs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@934353 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 10:14:42 +00:00