Commit Graph

3314 Commits

Author SHA1 Message Date
Roland Weber 25797763c3 removed System.out.println from tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554949 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 13:59:56 +00:00
Roland Weber a54f729dc3 first tests for RouteTracker, re-ordered some checks to avoid unreachable code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554948 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 13:58:10 +00:00
Oleg Kalnichevski c053c6f954 Optimized BIN assemblies making them somewhat less verbose
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554934 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 13:23:03 +00:00
Roland Weber 377178bd3c minor textual changes, reformatted to 79 chars/line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554901 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 10:41:41 +00:00
Oleg Kalnichevski 8886fbcaa3 Keep RAT happy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554708 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 16:58:33 +00:00
Oleg Kalnichevski 0c655260d2 4.0 alpha1 release statement
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554694 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 16:09:18 +00:00
Roland Weber a570921169 fixed resource processing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554635 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 13:18:41 +00:00
Oleg Kalnichevski ebbc30a916 Added assembly descriptors; javadoc fix; added readme file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554598 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 10:33:18 +00:00
Roland Weber dfeee678b3 added license header
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554596 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 10:30:18 +00:00
Oleg Kalnichevski b1a5b1e304 Added release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554453 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 21:53:04 +00:00
Oleg Kalnichevski ee814d147e HttpComponents HttpClient web site sources
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554410 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 18:54:36 +00:00
Oleg Kalnichevski 7784120878 * Added cookie identity comparator
* Fixed broken HttpState#addCookie() method
* Added an example demonstrating how to perform form-based logon

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554349 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 11:45:20 +00:00
Roland Weber 6034c35e2e replaced outdated example URL
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554233 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 18:06:54 +00:00
Roland Weber 79f250d896 fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554231 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 17:59:31 +00:00
Oleg Kalnichevski 47a7966ae9 An example that performs GETs from multiple threads
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554217 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 15:03:22 +00:00
Oleg Kalnichevski c8c831bf30 Example how to use unbuffered chunk-encoded POST request
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554180 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 11:34:22 +00:00
Oleg Kalnichevski 0c97d4aa70 Added an example that uses HttpClient to execute an HTTP request over a secure connection tunneled through an authenticating proxy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554174 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 10:33:42 +00:00
Oleg Kalnichevski 2bb2e2b4f4 OMFG! No wonder we have been having stack overflows
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554173 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 10:26:24 +00:00
Oleg Kalnichevski ef0368e4fc * Added a convenience method to the HttpClient interface
* Added authentication sample

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554082 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 23:12:41 +00:00
Oleg Kalnichevski ba3da55d99 Added custom SSL sample
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554005 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 19:20:26 +00:00
Oleg Kalnichevski 8e2f192812 Fixed bug in #determineRoute() causing secure (layered) connections to be treated as plain ones.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554003 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 19:16:18 +00:00
Oleg Kalnichevski 553a1b4cfd Oopsie
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@553861 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 12:23:39 +00:00
Oleg Kalnichevski 668c8c99fb Added ClientGZipContentCompression sample demonstrating the use of protocol interceptors to transparently modify properties of HTTP messages sent / received by the HTTP client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@553860 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 12:22:31 +00:00
Oleg Kalnichevski 31e90292db Changed Core dependency from ALPHA5-SNAPSHOT to ALPHA5
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552530 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 16:22:10 +00:00
Oleg Kalnichevski e31743c34e Removed flawed revision attribute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552527 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 16:12:43 +00:00
Oleg Kalnichevski 44aa3d34a0 Oppsie
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552348 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 18:04:23 +00:00
Oleg Kalnichevski 545f1c40eb HTTPCLIENT-664: First take at version detection based on build-time properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552347 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 17:55:46 +00:00
Oleg Kalnichevski 2dbe8c3557 Some more tweaks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552278 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 10:57:13 +00:00
Oleg Kalnichevski 2563e6e1eb Improved exception handling based on Odi's suggestions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552277 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 10:54:44 +00:00
Oleg Kalnichevski 70e9312721 Added connection release sample
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552268 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 10:11:34 +00:00
Oleg Kalnichevski 3fb3b857da Make sure connection gets aborted in case of an IOException (potentially triggering connection release back to the connection manager)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552264 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 09:37:47 +00:00
Oleg Kalnichevski 8f28158826 * Renamed HttpClient#getContext() to HttpClient#getDefaultContext()
* Tweaked the way DefaualtHttpClient populates the default HTTP context returned with HttpClient#getDefaultContext()
* Added local HTTP context example

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@552166 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 15:57:37 +00:00
Oleg Kalnichevski 5847e1f6f2 Renamed project artifactId from client to httpcomponents-client; required to generate a meaningful assembly file name
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550105 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 20:52:31 +00:00
Roland Weber 84168a156d TestScheme at 100% coverage for SchemeRegistry, too.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550083 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:43:00 +00:00
Roland Weber 70e32c6503 TestScheme at 100% coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550081 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:35:09 +00:00
Roland Weber e8ca9b1d65 Made cookie.SM an interface as long as it has no methods. It looked ugly on test coverage reports with its 0% of coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550078 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:30:31 +00:00
Roland Weber 3fc997fbed tests for RouteDirector at 100% coverage, fixed two bugs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550077 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 18:25:33 +00:00
Roland Weber 0f0128450b TestDateUtils arrived here from core
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548073 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 17:02:01 +00:00
Roland Weber 848ff6f652 moved DateUtils/DateParseException from core to cookie (test cases to follow)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548067 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 16:52:20 +00:00
Roland Weber cca8a23380 socket factory mockups, include TestScheme in unit tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548038 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 13:08:14 +00:00
Roland Weber d34ee9f954 added getMetrics to conn mockup, moved TestHttpRoute to non-impl package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548037 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 12:40:50 +00:00
Roland Weber be3c4732ab added getMetrics() to connection adapter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@548034 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 12:14:56 +00:00
Oleg Kalnichevski a0faec6ccd Fixed API breakage caused by HTTPCORE-64
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@547804 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 21:48:09 +00:00
Oleg Kalnichevski ecefd447fd Fixed test failure on non-english Locale systems
Contributed by Daniel Müller <strider at digitalstrider.com>

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@545908 13f79535-47bb-0310-9956-ffa450edef68
2007-06-10 16:41:44 +00:00
Oleg Kalnichevski 0d962274e7 Removed references to Jakarta from the project artifact ids
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@544940 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 20:28:12 +00:00
Oleg Kalnichevski 672bf841e5 Changed wire and header logger names from org.apache.http.conn.* to org.apache.http.*
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@543891 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 13:47:16 +00:00
Roland Weber 598c7ac8e8 test for HttpRoute with 100% coverage, fixed two bugs in route and tracker
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@543733 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 12:05:18 +00:00
Oleg Kalnichevski c883d7d451 Always add a Host request header to CONNECT requests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@542253 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 15:56:35 +00:00
Oleg Kalnichevski 7813fd1197 params refactoring, step 6 - Moved param hierarchy building methods to an optional interface extending HttpParams
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@542225 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 13:34:30 +00:00
Oleg Kalnichevski 53e4063593 params refactoring, step 5: removed params argument from HttpClientConnection#receiveResponseHeader and HttpServerConnection#receiveRequestHeader methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@542200 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 11:24:35 +00:00