Commit Graph

2553 Commits

Author SHA1 Message Date
Sebastian Bazley a0e35d8582 Fixup some missing eol-style:native properties
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618353 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 18:09:27 +00:00
Sebastian Bazley 29535505c4 Ignore Findbugs preferences file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618346 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 17:52:29 +00:00
Oleg Kalnichevski 5349fe9f8b HTTPCLIENT-733: Added HTTP DELETE method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618343 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 17:44:59 +00:00
Oleg Kalnichevski f1a6152315 Renamed MultipartFormHttpEntity to MultipartEntity
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618336 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 17:31:48 +00:00
Oleg Kalnichevski 0be7a714d3 Renamed o.a.http.client.mime to o.a.http.entity.mime
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618333 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 17:27:24 +00:00
Oleg Kalnichevski 4f6599c959 HTTPCLIENT-738: Renamed o.a.http.conn.ssl.HostnameVerifier to o.a.http.conn.ssl.X509HostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618309 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:01:24 +00:00
Oleg Kalnichevski 137da8207d HTTPCLIENT-739: CookieIdentityComparator and CookiePathComparator now implement Serializable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618308 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 15:51:19 +00:00
Roland Weber 3dde3cc912 release notes for HTTPCLIENT-735
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618139 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 01:00:31 +00:00
Roland Weber 55ffbe1b6c tests for hierarchical unsetting of default proxy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618138 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 00:58:42 +00:00
Roland Weber b0dc5a5d6a more tests for route params, coverage complete
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618133 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 00:29:06 +00:00
Roland Weber 1892a783cc first tests for route params
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618122 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 23:26:29 +00:00
Roland Weber 6963674cd6 HTTPCLIENT-735: explicit unsetting of DEFAULT_PROXY and FORCED_ROUTE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618119 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 23:14:50 +00:00
Roland Weber 38761e7e46 HTTPCLIENT-723: basic test coverage for ProxySelectorRoutePlanner
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618048 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 18:14:48 +00:00
Roland Weber 3fc63457df release notes and an exception punctuation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618020 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:06:26 +00:00
Roland Weber d3353f00e8 HTTPCLIENT-740: start connection GC thread in extra call after construction
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618019 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:02:31 +00:00
Oleg Kalnichevski 0f561bdf2b HTTPCLIENT-741: AbstractClientConnAdapter#abortConnection() no longer releases the wrapped connection back to the connection manager. The wrapped connection gets shut down, but remains attached to the adapter. The connection is expected to be released back to the connection manager by the request execution thread.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617839 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 17:38:07 +00:00
Oleg Kalnichevski 6d1391a332 HTTPCLIENT-741: Ensure thread safety for AbstractClientConnAdapter and its subclasses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617817 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 15:47:07 +00:00
Sebastian Bazley 8c08ae3178 Fixup odd tab usage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617645 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:05:31 +00:00
Sebastian Bazley 13d6dc3da4 Fixup identation problems caused by Eclipse autocorrect when adding @Override
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617644 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:04:09 +00:00
Sebastian Bazley 430d7d10cb Integer|Long.valueOf() are cheaper than new Integer()|Long()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617643 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:56:12 +00:00
Sebastian Bazley 553a26bc1b Fixup identation problems caused by Eclipse autocorrect when adding @Override
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617642 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:54:07 +00:00
Sebastian Bazley c953589141 Fixup identation problems caused by Eclipse autocorrect when adding @Override
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617638 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:49:26 +00:00
Roland Weber 799365d07a HTTPCLIENT-736: SchemeRegistry instead of ConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617616 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 19:27:30 +00:00
Oleg Kalnichevski 9eb66c7f11 Fixed javadocs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617606 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 18:54:27 +00:00
Oleg Kalnichevski 08f2e11f1a Multipart/form HTTP entity example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617589 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 18:20:39 +00:00
Roland Weber 27f4cee3c5 HTTPCLIENT-737 fixed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617581 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 18:01:01 +00:00
Oleg Kalnichevski 549cb86b5a Added multipart/form HTTP entity impl
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617575 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 17:51:59 +00:00
Oleg Kalnichevski a35fcba16e MIME multipart/form-data: added rudimentary javadocs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617519 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 15:37:45 +00:00
Sebastian Bazley 9b592fd961 Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617233 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:38:04 +00:00
Sebastian Bazley 2cc2818642 Removing unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617207 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:14:12 +00:00
Sebastian Bazley 8c73effc71 Fix Javadoc complaint and remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617206 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:11:43 +00:00
Sebastian Bazley 31488a0220 Fix Javadoc complaints
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617193 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:26:47 +00:00
Roland Weber 632bf9aba6 attribute visibility and explicit ProxySelector
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617184 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:42:19 +00:00
Roland Weber 91f7ef4cef removed wrong comments
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617179 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:28:24 +00:00
Oleg Kalnichevski 3fd74f63bc MIME multipart/form-data: added method to calculate the content length of a multipart entity. This method buffers only small amount of data in memory in order to determine the total
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617158 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 16:56:25 +00:00
Oleg Kalnichevski 291da5706e Made constructor public
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@616910 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 21:33:44 +00:00
Oleg Kalnichevski aa59688e66 MIME multipart/form-data: non-ASCII content and header tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@616730 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 12:00:31 +00:00
Oleg Kalnichevski 275d00cb28 MIME multipart/form-data: strict (RFC 822, RFC 2045, RFC 2046 compliant) and lenient (browser compatible) modes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@616725 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 11:32:57 +00:00
Oleg Kalnichevski dc8f6d4a50 MIME multipart/form-data primitives (file and input stream bodies)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@616704 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 10:00:36 +00:00
Oleg Kalnichevski 8328d00926 MIME multipart/form-data primitives
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@616700 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 09:29:07 +00:00
Oleg Kalnichevski 2e1fbaf59f Added HttpClient MIME module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615594 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 13:21:42 +00:00
Oleg Kalnichevski da00b07129 HTTPCLIENT-734: Set release trigger on a managed connection as soon as it is allocated by the connection manager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615584 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 12:07:42 +00:00
Oleg Kalnichevski 49ba9e65e6 Replaced CharArrayBuffer with the JRE standard StringBuilder in all instances where CharArrayBuffer is not being used for building HTTP headers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615228 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 14:12:39 +00:00
Oleg Kalnichevski d605c403eb HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters (missed one rewrite)
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614927 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 17:00:09 +00:00
Oleg Kalnichevski 7c4f0f14ca HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614925 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:53:22 +00:00
Oleg Kalnichevski c8dd44d901 Upgraded HttpCore dependency to 4.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614494 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 11:12:51 +00:00
Oleg Kalnichevski f3ced2556a HTTPCLIENT-667:
* Completed 'best match' cookie spec implementation
* Added test coverage
* Made the 'best match' cookie policy default


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613865 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 12:04:30 +00:00
Oleg Kalnichevski 6e68e5ec92 First take at the 'best match' cookie spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613707 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 00:28:37 +00:00
Roland Weber 8a300abec9 fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613656 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:06:56 +00:00
Roland Weber bcc2848421 HTTPCLIENT-729: moved HttpRoute and friends to conn.routing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613654 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:00:19 +00:00