Commit Graph

731 Commits

Author SHA1 Message Date
Simone Bordet d742578353 jetty-9: HTTP client: improvements.
Request now supports opaque attributes.
ContentResponse supports a contentAsString() method, along with BufferingResponseListener.
2012-09-26 13:29:57 +02:00
Simone Bordet 05a0090dd6 jetty-9: HTTP client: re-enabled debug logging for tests. 2012-09-21 18:12:12 +02:00
Simone Bordet 199971a989 jetty-9: Better use of StdErrLog. 2012-09-21 18:00:13 +02:00
Simone Bordet ab2757ab96 jetty-9: Removed TODOs. 2012-09-21 17:24:45 +02:00
Simone Bordet 12a2d3f475 jetty-9: HTTP client: hiding stack traces for expected exception on server. 2012-09-21 15:23:56 +02:00
Simone Bordet f81dc0161e jetty-9: HTTP client: more tests. 2012-09-21 15:10:40 +02:00
Greg Wilkins 68ee346b8a jetty-9 combined the Container and AggregateLifeCycle into ContainerLifeCycle 2012-09-21 11:45:51 +10:00
Simone Bordet 37a7e5977d Merged branch 'jetty-9' into jetty-9-open-close. 2012-09-20 18:46:16 +02:00
Simone Bordet 6de7398d48 jetty-9 - HTTP client: reducing the number of requests for the load test, as it seems the SSL version is never able to pass cleanly. 2012-09-20 18:33:43 +02:00
Simone Bordet 40382bad3a jetty-9 - Removed references to JUnit 3.x. 2012-09-20 18:23:02 +02:00
Simone Bordet 80e1e7b47b jetty-9 - HTTP client: increased the test timeout. 2012-09-20 17:48:30 +02:00
Simone Bordet 92c93e2868 jetty-9 - HTTP client: added HttpClient.POST() utility method. 2012-09-20 17:05:09 +02:00
Simone Bordet 851de69d9d jetty-9 - Third take at open/close refactoring. 2012-09-19 18:04:15 +02:00
Simone Bordet 44b3bb067c jetty-9 - Second take at open/close refactoring. 2012-09-19 13:37:47 +02:00
Simone Bordet eb7501405f jetty-9 - HTTP client: more logging for the SSL load test. 2012-09-18 22:04:18 +02:00
Simone Bordet 953f283bce jetty-9 - HTTP client: make SSL load test to wait more for completion. 2012-09-18 22:04:18 +02:00
Simone Bordet e9d0960e8d jetty-9 - HTTP client: implemented gzip decoding. 2012-09-18 17:27:37 +02:00
Simone Bordet ce4ffa7ad3 jetty-9 - HTTP client: using longer timeout to check for test completion in the SSL case. 2012-09-17 21:49:19 +02:00
Simone Bordet 5ba924963d jetty-9 - HTTP client: tests for explicit connection management. 2012-09-17 20:48:54 +02:00
Simone Bordet bd80a64cb9 jetty-9 - HTTP client: implemented InputStreamResponseListener. 2012-09-17 19:27:35 +02:00
Simone Bordet 776aea91d4 jetty-9 - Better toString(). 2012-09-17 19:27:35 +02:00
Simone Bordet 9355e06603 Intermediate commit. 2012-09-17 19:27:35 +02:00
Simone Bordet 566f17fdd0 jetty-9 - HTTP client: reduced test logging. 2012-09-17 16:56:27 +02:00
Simone Bordet 84f40e8519 jetty-9 - Added toString(). 2012-09-17 16:27:59 +02:00
Simone Bordet e7db1661c6 jetty-9 - HTTP client: load test. 2012-09-17 11:46:26 +02:00
Simone Bordet fdd65fb2ea jetty-9 - HTTP client: utility class BytesContentProvider. 2012-09-17 11:46:26 +02:00
Simone Bordet d30eefca69 jetty-9 - HTTP client: parsing must be done in a while loop, in case the buffer contains more data. 2012-09-17 11:46:26 +02:00
Simone Bordet 5aed22624f jetty-9 - HTTP client: better logging for HttpExchange. 2012-09-17 11:46:26 +02:00
Simone Bordet 195f04bdf3 jetty-9 - HTTP client: added tests combining redirect and authentication. 2012-09-17 11:46:26 +02:00
Greg Wilkins 129583679a jetty-9 javadoc improvements and renamed SelectChannelConnector to ServerConnector 2012-09-17 17:37:56 +10:00
Simone Bordet 8330586c4e jetty-9 - HTTP client: implemented dumping. 2012-09-14 23:30:21 +02:00
Simone Bordet 4ffe66f899 jetty-9 - HTTP client: better cleanup at stop. 2012-09-14 23:30:21 +02:00
Simone Bordet 88cbfed7e0 jetty-9 - Made SelectorManager.connection[Opened|Closed]() concrete, since they are overridden only by SelectChannelConnector. 2012-09-14 23:30:21 +02:00
Simone Bordet e80430fbc2 jetty-9 - HTTP client: improved HttpExchange.complete*() to return a Result that remembers
request failures and response failures.
Also improved many tests to avoid random failures.
2012-09-14 16:16:14 +02:00
Greg Wilkins 22ba57b8d2 jetty-9 refactored onOpen and onClose 2012-09-14 17:38:47 +10:00
Simone Bordet fb2ca29364 jetty-9 - HTTP client: updated to work also with SSL. 2012-09-14 00:38:25 +02:00
Simone Bordet 6f8ebc1450 jetty-9 - HTTP client: javadocs. 2012-09-13 16:02:58 +02:00
Simone Bordet 5315a6dcff jetty-9 - HTTP client: implemented abort of request and responses. 2012-09-13 16:02:57 +02:00
Simone Bordet b5a329ecaf jetty-9 - HTTP client: implemented followRedirect functionality. 2012-09-13 16:02:57 +02:00
Simone Bordet 6be8ce9e26 jetty-9 - HTTP client: renamed class. 2012-09-13 16:02:57 +02:00
Simone Bordet 312785eb7b jetty-9 - HTTP client: javadocs. 2012-09-13 16:02:57 +02:00
Simone Bordet d0d5a422a5 jetty-9 - HTTP client: Improved test disposal. 2012-09-13 09:01:06 +02:00
Simone Bordet c16778eb48 jetty-9 - HTTP client: more logging. 2012-09-13 09:01:06 +02:00
Simone Bordet f5d68f0caf jetty-9 - HTTP client: implemented digest authentication. 2012-09-13 09:01:06 +02:00
Simone Bordet 52accdf761 jetty-9 - HTTP client: temporary commit. 2012-09-13 09:01:06 +02:00
Simone Bordet 772fa55b99 jetty-9 - HTTP client: Using standard Jetty SecurityHandler for authentication tests. 2012-09-13 09:01:06 +02:00
Simone Bordet 2d944f61b1 jetty-9 - HTTP client: Reduced test logging. 2012-09-10 23:08:06 +02:00
Simone Bordet 60a0b8ac8d jetty-9 - HTTP client: Implemented basic authentication. 2012-09-10 18:46:16 +02:00
Simone Bordet f3edbf9594 jetty-9 - HTTP client: Introduced protocol handlers to handle redirect and authentication. 2012-09-10 18:46:16 +02:00
Simone Bordet 4ddc55ae11 jetty-9 - HTTP client: Clarified semantic of Response.Listener.onComplete(), introducing a Result class to hold the result of the exchange. 2012-09-10 18:46:16 +02:00