Commit Graph

110 Commits

Author SHA1 Message Date
Oleg Kalnichevski 160bac0cbb Fixed inconsistencies in usage of RequestConfig#connectionTimeout and Request#connectionRequestTimeout 2018-10-22 10:44:00 +02:00
Oleg Kalnichevski 59a1bf443f Tweaked SSL test cases to make them pass with Java 11 2018-10-21 19:26:15 +02:00
Oleg Kalnichevski 6ce03c4d44 Code formatting (no functional changes) 2018-10-21 19:24:29 +02:00
Oleg Kalnichevski 309afeff07 Added builders for SSLConnectionSocketFactory and client TlsStrategy 2018-10-21 16:52:40 +02:00
Oleg Kalnichevski ab7be3fd53 Upgraded HttpCore to version 5.0-beta5 2018-10-21 13:24:49 +02:00
Oleg Kalnichevski 674df3aa9e Re-generated test key material using RSA key algorithm 2018-10-19 17:48:18 +02:00
Oleg Kalnichevski ac90342039 Use enums for supported cookie policies and auth schemes 2018-10-14 20:05:17 +02:00
Oleg Kalnichevski 7468244080 Fixed incorrect server protocol version initialization in the cross-site redirect integration test 2018-10-07 15:22:11 +02:00
Oleg Kalnichevski cbe00beb56 Removed duplicate class (no functional changes) 2018-08-30 11:36:46 +02:00
Oleg Kalnichevski 1614c25168 Upgraded HttpCore dependency to version 5.0-beta3 2018-08-30 10:54:54 +02:00
Gary Gregory 3aa9c1fd33 - Always use blocks
- Add missing serial version ID (default 1L)
- Camel-case names.
- Don't nest in else clause unnecessarily.
- Remove declared exceptions that are not thrown (but don't break BC.)
- Remove redundant superinterface
- Access static methods directly
- Better local var names.
2018-08-14 20:56:08 +02:00
Gary Gregory 769e9fab3f Add missing @Override annotations. 2018-08-05 11:40:07 -06:00
Gary Gregory c3bdc8913f Refactor common code in a new Closer utility class. 2018-08-04 23:55:41 +02:00
Gary Gregory 8d87cf515b Static methods should be accessed directly. Remove redundant type
arguments. Remove exceptions not thrown from method signatures. Add
missing @Override. Remove unnecessary semicolons. Don't nest
unnecessarily.
2018-08-04 10:40:01 -06:00
Oleg Kalnichevski fa4a4d3bd6 HTTPCLIENT-1931, HTTPCLIENT-1932: Changed ClassicHttpRequests factory methods to return HttpUriRequestBase; added SimpleHttpRequests factory enum 2018-07-14 12:44:59 +02:00
Oleg Kalnichevski 1253d7f411 Added digest auth support to test Apache HTTPD docker imsage 2018-02-04 12:59:58 +01:00
Oleg Kalnichevski 68fd176c07 Upgraded HttpClient version to 5.0-beta2-SNAPSHOT 2018-01-18 10:02:04 +01:00
Oleg Kalnichevski 67be267f99 HttpClient 5.0-beta1 release 2018-01-15 13:30:04 +01:00
Oleg Kalnichevski 695f353b43 Re-use concurrent primitives from HttpCore 2018-01-12 14:20:10 +01:00
Oleg Kalnichevski dee32207e3 Upgraded HttpCore dependency to version 5.0-beta2 2018-01-12 14:06:08 +01:00
Oleg Kalnichevski eb71f45ee5 SLF4J logging facade 2018-01-10 13:07:37 +01:00
Oleg Kalnichevski 47a0eb8b65 HTTPCLIENT-1893: Moved HttpContext state logic out of DefaultRedirectStrategy to the redirect execution interceptors; redesigned RedirectLocations class; refactored classic redirect execution interceptor unit tests 2018-01-03 19:37:19 +01:00
Oleg Kalnichevski 71060c7ee1 Improved flaky test case 2018-01-03 19:37:19 +01:00
Oleg Kalnichevski 13acc440ed HTTPCLIENT-1805: added test case for request submission from a response callback 2017-12-29 11:21:27 +01:00
Oleg Kalnichevski cca56bebe9 AuthScope cleanup 2017-12-05 15:16:05 +01:00
Oleg Kalnichevski e89bbbbb44 Changed test case failing in TravisCI due to what might be a local host name resolution problem 2017-11-25 10:52:23 +01:00
Oleg Kalnichevski 450cb40afc Upgraded HttpClient version to 5.0-alpha4-SNAPSHOT 2017-11-24 09:38:15 +01:00
Oleg Kalnichevski ea22019220 HttpClient 5.0-alpha3 release 2017-11-19 12:54:30 +01:00
Oleg Kalnichevski 235348eec6 Replaced socket and connect timeout request parameters with a single connection timeout request parameter. HTTP requests may be executed concurrently over a single HTTP/2 connection and no longer should overwrite connection socket timeout 2017-11-18 11:24:17 +01:00
Oleg Kalnichevski e3cd57a570 Fixed ALPN handshake failure in HTTP/2 integration tests 2017-11-14 19:27:25 +01:00
Oleg Kalnichevski 6228a73613 * HTTP/2 multiplexing HttpAsyncClient implementation
* Restructured integration tests to reduce test duplication
2017-11-13 22:30:12 +01:00
Oleg Kalnichevski 3db1228242 Improved minimal HttpAsyncClient implementation; added minimal HTTP/2 multiplexing HttpAsyncClient implementation 2017-11-12 16:20:58 +01:00
Oleg Kalnichevski 1577356f37 Fixed handling of request configuration by async clients 2017-11-09 11:26:51 +01:00
Oleg Kalnichevski 2ad0370517 Revised handling of non-repeatable requests 2017-11-07 09:42:07 +01:00
Oleg Kalnichevski 389272de3a Upgraded HttpCore dependency to version 5.0-beta1 2017-11-05 13:57:34 +01:00
Oleg Kalnichevski 87865c5cd5 Fixed style check violations (no functional changes) 2017-11-01 22:30:52 +01:00
Oleg Kalnichevski a403075948 HTTPCLIENT-1873: Config option for Kerberos delegation 2017-10-23 11:36:14 +02:00
Oleg Kalnichevski 0aa4b8183b Added HTTP cache integration tests 2017-10-16 23:00:19 +02:00
Oleg Kalnichevski b24aa01866 Upgraded parent POM to version 9; Removed explicit plugin version declaration (should be inherited from the parent POM) 2017-10-04 14:04:17 +02:00
Oleg Kalnichevski e8972624ac Redesign of SimpleHttpRequest / SimpleHttpResponse APIs 2017-09-29 17:02:41 +02:00
Oleg Kalnichevski 5203c66928 Corrected configuration of the 'expect-continue' handshake in async
client authentication tests
2017-09-29 17:02:41 +02:00
Oleg Kalnichevski d2b3385ba2 Redesign of classic and asynchronous connection manager APIs 2017-09-06 17:44:36 +02:00
Oleg Kalnichevski 6d17126cbf Moved classes and renamed packages (no functional changes) 2017-09-02 17:27:30 +02:00
Oleg Kalnichevski b4e0611b05 Consistent timeout settings in integration tests 2017-09-02 16:52:24 +02:00
Oleg Kalnichevski b58e7d46d7 Upgraded HttpCore to version 5.0-alpha4 2017-09-01 20:29:58 +02:00
Oleg Kalnichevski 8a1b96bfa7 Upgraded HttpClient version to 5.0-alpha3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1794682 13f79535-47bb-0310-9956-ffa450edef68
2017-05-10 08:19:07 +00:00
Oleg Kalnichevski 922a9ac545 Fixed processing of HTTP protocol version dependent request headers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1794171 13f79535-47bb-0310-9956-ffa450edef68
2017-05-06 18:30:37 +00:00
Oleg Kalnichevski 5ae1cff8a2 Implemented connection routing for the async request exec chain
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1794170 13f79535-47bb-0310-9956-ffa450edef68
2017-05-06 18:30:25 +00:00
Oleg Kalnichevski fed4b907eb HTTPCLIENT-1691: HttpClient instance used internally by HC Fluent to take system properties into account by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793761 13f79535-47bb-0310-9956-ffa450edef68
2017-05-04 09:42:43 +00:00
Oleg Kalnichevski 28058b8f85 Upgraded Mockito dependency to version 2.7
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793693 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 18:31:58 +00:00
Oleg Kalnichevski 3ca727176e Removed Http MIME integration test requiring dependency on PAX runtime; Http MIME code has been folded into the main module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793691 13f79535-47bb-0310-9956-ffa450edef68
2017-05-03 18:31:41 +00:00
Oleg Kalnichevski d5039137ca Improved protocol handling in the async request execution chain; implemented cookie processing and authentication handling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793567 13f79535-47bb-0310-9956-ffa450edef68
2017-05-02 18:22:59 +00:00
Oleg Kalnichevski bde89fee57 Fixed automatic content compression in classic exec chain
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793324 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 13:04:26 +00:00
Oleg Kalnichevski b0cdc58b01 Initial implementation of the async request execution chain
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793320 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 12:39:16 +00:00
Oleg Kalnichevski da5797f470 Moved classic HttpClient and HC fluent integration tests to httpclient-testing module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793319 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 12:38:41 +00:00
Oleg Kalnichevski 04594b97a9 Upgraded HttpCore to version 5.0-alpha3; fixed HttpCore API usage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1793305 13f79535-47bb-0310-9956-ffa450edef68
2017-05-01 10:47:09 +00:00
Oleg Kalnichevski 191183bf75 Moved sync HTTP method classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1784141 13f79535-47bb-0310-9956-ffa450edef68
2017-02-23 14:35:01 +00:00
Oleg Kalnichevski d1c104a89e New non-blocking HttpAsyncClient APIs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1784140 13f79535-47bb-0310-9956-ffa450edef68
2017-02-23 14:33:47 +00:00
Oleg Kalnichevski 8c9bf804bf Fixed RAT violations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1781459 13f79535-47bb-0310-9956-ffa450edef68
2017-02-02 19:37:38 +00:00
Oleg Kalnichevski 4d0d23dc01 Integration and compatibility tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1780849 13f79535-47bb-0310-9956-ffa450edef68
2017-01-29 19:22:20 +00:00