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 2018/08/21 15:01:15 UTC
[04/32] httpcomponents-core git commit: Add toString().
Add toString().
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/9ec9c8a0
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/9ec9c8a0
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/9ec9c8a0
Branch: refs/heads/api_javadocs
Commit: 9ec9c8a0f2a943dab678d7e0355d941a7658f497
Parents: ec2ee3d
Author: Gary Gregory <gg...@apache.org>
Authored: Sun Aug 5 11:46:11 2018 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Sun Aug 5 11:46:11 2018 -0600
----------------------------------------------------------------------
.../org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/9ec9c8a0/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java b/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
index e2d5b48..135fad0 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
@@ -117,4 +117,9 @@ public class HttpEntityWrapper implements HttpEntity {
wrappedEntity.close();
}
+ @Override
+ public String toString() {
+ return super.toString() + "[" + wrappedEntity + "]";
+ }
+
}