You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by mi...@apache.org on 2019/12/10 08:58:46 UTC
[httpcomponents-client] branch HTTPCLIENT-2031 updated (3b0117d ->
1d56c27)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch HTTPCLIENT-2031
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git.
discard 3b0117d [HTTPCLIENT-2031] Don't use plural names for enums
add d054112 Fixed typo in method name (no functional changes)
add f3c418c CloseableHttpAsyncClient to support explicit HttpHost execution parameter
add 8602215 Upgraded Conscrypt dependency to version 2.2.1
add 070f30f Fixed session i/o and wire logging in async clients
add 1d56c27 HTTPCLIENT-2034: Introduce HttpRequestRetryStrategy
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (3b0117d)
\
N -- N -- N refs/heads/HTTPCLIENT-2031 (1d56c27)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../impl/cache/CachingH2AsyncClientBuilder.java | 4 +-
.../impl/cache/CachingHttpAsyncClientBuilder.java | 4 +-
.../http/impl/cache/CachingHttpClientBuilder.java | 4 +-
.../testing/sync/TestClientRequestExecution.java | 44 +++-
...Strategy.java => HttpRequestRetryStrategy.java} | 51 +++--
.../impl/{ChainElement.java => ChainElements.java} | 7 +-
.../http/impl/DefaultHttpRequestRetryStrategy.java | 232 +++++++++++++++++++++
.../async/AbstractMinimalHttpAsyncClientBase.java | 4 +-
...tryExec.java => AsyncHttpRequestRetryExec.java} | 74 +++++--
.../http/impl/async/CloseableHttpAsyncClient.java | 38 ++++
.../http/impl/async/H2AsyncClientBuilder.java | 46 ++--
.../async/H2AsyncClientEventHandlerFactory.java | 12 +-
.../http/impl/async/HttpAsyncClientBuilder.java | 46 ++--
.../async/HttpAsyncClientEventHandlerFactory.java | 12 +-
.../async/InternalAbstractHttpAsyncClient.java | 17 +-
.../http/impl/async/InternalH2AsyncClient.java | 9 +-
.../http/impl/async/InternalHttpAsyncClient.java | 9 +-
.../client5/http/impl/async/LoggingIOSession.java | 129 ++++--------
...allback.java => LoggingIOSessionDecorator.java} | 21 +-
.../http/impl/async/MinimalH2AsyncClient.java | 2 +-
.../http/impl/async/MinimalHttpAsyncClient.java | 2 +-
.../http/impl/classic/CloseableHttpClient.java | 21 +-
.../http/impl/classic/HttpClientBuilder.java | 53 +++--
.../{RetryExec.java => HttpRequestRetryExec.java} | 82 ++++++--
.../nio/DefaultManagedAsyncClientConnection.java | 3 +-
.../hc/client5/http/routing/RoutingSupport.java | 16 ++
.../http/examples/AsyncClientInterceptors.java | 4 +-
.../http/examples/AsyncClientMessageTrailers.java | 4 +-
.../client5/http/examples/ClientInterceptors.java | 4 +-
.../impl/TestDefaultHttpRequestRetryStrategy.java | 158 ++++++++++++++
...etryExec.java => TestHttpRequestRetryExec.java} | 105 +++++++++-
pom.xml | 2 +-
32 files changed, 935 insertions(+), 284 deletions(-)
copy httpclient5/src/main/java/org/apache/hc/client5/http/{ServiceUnavailableRetryStrategy.java => HttpRequestRetryStrategy.java} (53%)
rename httpclient5/src/main/java/org/apache/hc/client5/http/impl/{ChainElement.java => ChainElements.java} (89%)
create mode 100644 httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultHttpRequestRetryStrategy.java
copy httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/{AsyncRetryExec.java => AsyncHttpRequestRetryExec.java} (62%)
copy httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/{LoggingExceptionCallback.java => LoggingIOSessionDecorator.java} (64%)
copy httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/{RetryExec.java => HttpRequestRetryExec.java} (57%)
create mode 100644 httpclient5/src/test/java/org/apache/hc/client5/http/impl/TestDefaultHttpRequestRetryStrategy.java
copy httpclient5/src/test/java/org/apache/hc/client5/http/impl/classic/{TestRetryExec.java => TestHttpRequestRetryExec.java} (63%)