You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2019/02/18 18:27:42 UTC
[httpcomponents-core] branch master updated (2c03d0b -> 6af1b9f)
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git.
from 2c03d0b Add a "quiet" option to AsyncReverseProxyExample.
new cf2d970 Made standard HttpEntity implementations immutable / conditionally immutable
new d83eeb4 Added EntityTemplate class similar to that provided in 4.4
new 6af1b9f Merge pull request #106 from ok2c/immutable-httpentities
The 3211 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../testing/classic/ClassicIntegrationTest.java | 116 ++++-----
.../hc/core5/testing/classic/EchoHandler.java | 17 +-
.../hc/core5/http/impl/io/IncomingHttpEntity.java | 35 ++-
.../core5/http/io/entity/AbstractHttpEntity.java | 94 +++++--
.../hc/core5/http/io/entity/BasicHttpEntity.java | 95 ++++---
.../hc/core5/http/io/entity/ByteArrayEntity.java | 89 ++++---
.../hc/core5/http/io/entity/ByteBufferEntity.java | 83 +++----
...mmutableHttpEntity.java => EntityTemplate.java} | 76 +++---
.../hc/core5/http/io/entity/EntityUtils.java | 97 +-------
.../apache/hc/core5/http/io/entity/FileEntity.java | 44 +---
.../http/io/entity/HttpEntityWithTrailers.java | 5 +-
.../hc/core5/http/io/entity/HttpEntityWrapper.java | 5 +-
.../hc/core5/http/io/entity/InputStreamEntity.java | 68 ++---
.../core5/http/io/entity/SerializableEntity.java | 86 ++-----
.../hc/core5/http/io/entity/StringEntity.java | 51 ++--
.../impl/io/TestDefaultBHttpClientConnection.java | 24 +-
.../hc/core5/http/impl/io/TestHttpService.java | 4 +-
.../core5/http/io/entity/TestBasicHttpEntity.java | 63 +----
.../http/io/entity/TestBufferedHttpEntity.java | 23 +-
.../core5/http/io/entity/TestByteArrayEntity.java | 44 ++--
.../core5/http/io/entity/TestByteBufferEntity.java | 11 +-
.../hc/core5/http/io/entity/TestEntityUtils.java | 273 +++++++--------------
.../http/io/entity/TestHttpEntityWrapper.java | 26 +-
.../http/io/entity/TestInputStreamEntity.java | 42 ++--
.../http/io/entity/TestSerializableEntity.java | 57 +----
.../http/protocol/TestStandardInterceptors.java | 103 +++-----
26 files changed, 621 insertions(+), 1010 deletions(-)
rename httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/{AbstractImmutableHttpEntity.java => EntityTemplate.java} (50%)