Michael Osipov
aec050315e
Remove default config
2020-09-22 09:25:43 +02:00
Michael Osipov
4b5a2f44a1
Replace HTTP with HTTPS
2020-09-22 09:25:43 +02:00
Oleg Kalnichevski
f6da2bac6f
HTTPCLIENT-2105: async clients incorrectly handle redirects of requests with enclosed entity
2020-08-09 22:48:30 +02:00
Niels Basjes
9a967de60e
Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
2020-07-07 15:48:49 +02:00
Carter Kozak
84bd290954
HTTPCLIENT-2095: Use slf4j interpolation instead of string concatenation where possible ( #232 )
2020-07-02 17:51:43 +02:00
Oleg Kalnichevski
c6a4a9b376
Upgraded HttpClient version to 5.0.2-SNAPSHOT
2020-06-12 09:48:10 +02:00
Oleg Kalnichevski
98daeabc05
HTTPCLIENT-2061: corrected sequence of request execution interceptors in classic HttpClient
2020-03-17 14:51:19 +01:00
Oleg Kalnichevski
1928f8db40
Rewrite of redirect integration test cases
2020-03-17 14:47:46 +01:00
Oleg Kalnichevski
61f3a943e1
Upgraded HttpClient version to 5.0.1-SNAPSHOT
2020-02-22 09:56:16 +01:00
Gary Gregory
d1c4199db3
No need to use the type name of an input arg in the method name. ( #208 )
...
* No need to use the type name of an input arg in the method name.
* Do not use input type names in method names.
2020-01-29 19:20:05 -05:00
Oleg Kalnichevski
afa8f5ecd1
Upgraded HttpClient version to 5.0-beta8-SNAPSHOT
2020-01-26 12:42:54 +01:00
Michael Osipov
38a41fea90
Use camelCase for Java method names -- always
2020-01-19 20:25:04 +01:00
Michael Osipov
5a8a6d0fc8
Convert convenience builders form enums to final classes
...
Turn exhaustive enum builder pattern to a final class with builder
methods serving HTTP request objects.
This closes #202
2020-01-19 20:23:33 +01:00
Ryan Schmitt
82a9932446
Add reactive test coverage
...
This commit adds test coverage for the `:httpcore5-reactive` bindings,
using different types of clients and protocols.
2020-01-07 11:04:14 -08:00
Ryan Schmitt
3aec96d3db
Upgraded HttpCore to version 5.0-beta11
2020-01-07 15:41:18 +01:00
Michael Osipov
3730b03a99
Properly distinguish between AuthScheme and auth scheme name
...
Throughout the code the terms 'authScheme' and 'scheme' have been used
synonymously for an AuthScheme instance and a string-based auth scheme
name. To avoid confusion, fields, methods and variable have been adapted
to distinguish both properly. If necessary, Javadoc has been modified to
denote the nature of the input.
Also an auth scheme name is retained as-is, but normalized to lowercase
if comparsion is required.
This closes #193
2020-01-01 22:51:19 +01:00
Gary Gregory
634886ab61
[HTTPCLIENT-2046] Rename AuthSchemes enum to StandardAuthScheme final class
...
Modeled after StandardCharsets, the new class indicates a non-exhaustive
list of standard auth schemes by name supported by the HttpClient. The
previous enum suffered from two issues:
* it was exhaustive implying that no more auth schemes can be supported
* its sole purpose was to contain an id for the declared auth scheme;
the enum values theirselves were never used directly
This closes #196
2020-01-01 21:57:53 +01:00
Gary Gregory
eaa8c5f648
[HTTPCLIENT-2043] Rename classes documented as factories from *Provider to *Factory ( #194 )
...
This closes #194
2019-12-31 11:27:16 -05:00
Michael Osipov
782d8e40a0
Use proper scheme names in text
2019-12-27 12:26:55 +01:00
Michael Osipov
167dbc7576
Make consistent use of AuthSchemes#id
...
This closes #189
2019-12-27 12:26:34 +01:00
Michael Osipov
2744c73471
Apply consistent id field names
...
As with HttpCore an entity should have a consistent id field, named 'id'
throughout the entire codebase.
This closes #188
2019-12-26 15:32:22 +01:00
Oleg Kalnichevski
b34007dffd
Duplicate resource name in integration tests caused client resource leak
2019-12-21 10:04:20 +01:00
Michael Osipov
1d56c27e6d
HTTPCLIENT-2034: Introduce HttpRequestRetryStrategy
2019-12-10 08:43:14 +01:00
Oleg Kalnichevski
d62616bb29
Upgraded HttpCore dependency to version 5.0-beta10
2019-10-31 15:15:53 +01:00
Oleg Kalnichevski
25748c48b2
Upgraded HttpClient version to 5.0-beta7-SNAPSHOT
2019-10-09 10:30:55 +02:00
Oleg Kalnichevski
a478ed1bb0
Fixed concurrent use of threading unsafe ClassicHttpRequest messages
2019-08-24 11:49:24 +02:00
Oleg Kalnichevski
39cec46715
CloseableHttpClient and CloseableHttpAsyncClient to implement ModalClosable
2019-07-26 14:16:14 +02:00
Oleg Kalnichevski
a0febeb6f1
Upgraded HttpClient version to 5.0-beta6-SNAPSHOT
2019-07-21 11:22:12 +02:00
Oleg Kalnichevski
669020ccac
Renamed Http2 to H2 (no functional changes)
2019-07-14 15:50:44 +02:00
Oleg Kalnichevski
8e42474a6c
Deprecated HttpClient functionality now provided out of HttpCore
2019-07-14 15:48:21 +02:00
Oleg Kalnichevski
b535a2812b
Upgraded HttpCore to version 5.0-beta8
2019-07-14 15:48:21 +02:00
Oleg Kalnichevski
07a9714f3b
Better event correlation in connection management logging
2019-06-18 15:03:06 +02:00
Oleg Kalnichevski
72d9b378cd
Upgraded HttpClient version to 5.0-beta5-SNAPSHOT
2019-04-06 10:36:42 +02:00
Oleg Kalnichevski
3fac3a4435
HttpClient 5.0-beta4 release
2019-04-03 10:41:53 +02:00
Artem Smotrakov
a2a55f82e5
HTTPCLIENT-1969: Filter out weak cipher suites
2019-03-07 12:20:13 +01:00
Oleg Kalnichevski
7146a36f87
Bug fix: Fixed broken data generation logic in AsyncRandomHandler (affects test code only)
2019-03-07 11:32:16 +01:00
Ryan Schmitt
f8653a011a
Upgrade HttpCore to version 5.0-beta7
2019-02-27 14:36:53 -08:00
Oleg Kalnichevski
df4b6d5c80
Upgraded HttpClient version to 5.0-beta4-SNAPSHOT
2018-12-16 11:12:33 +01:00
Oleg Kalnichevski
6a0dc58570
HttpClient 5.0-beta3 release
2018-12-11 10:14:12 +01:00
Oleg Kalnichevski
b452006756
Upgraded HttpCore to version 5.0-beta6
2018-12-04 15:49:56 +01:00
Oleg Kalnichevski
eb0ee46c05
Upgraded HttpClient version to 5.0-beta3-SNAPSHOT
2018-10-27 10:30:11 +02:00
Oleg Kalnichevski
83f9ab8d1d
HttpClient 5.0-beta2 release
2018-10-23 15:40:37 +02:00
Oleg Kalnichevski
1b6175d76a
Updated remote javadoc references
2018-10-23 15:14:34 +02:00
Oleg Kalnichevski
b518e3d871
Updated Apache HTTPD and Squid docker container configuration
2018-10-23 13:29:52 +02:00
Oleg Kalnichevski
b74cb12d44
Renamed RequestConfig#connectionTimeout to RequestConfig#connectTimeout
2018-10-22 15:14:04 +02:00
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