hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [08/13] httpcomponents-core git commit: Add toString() for debugging and logging.
Date Wed, 10 May 2017 07:33:55 GMT
Add toString() for debugging and logging.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794645
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/7c5027d3
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/7c5027d3
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/7c5027d3

Branch: refs/heads/4.4.x
Commit: 7c5027d3cacd2c234a84177f872e539d3591d4a1
Parents: e21e8d4
Author: Gary D. Gregory <ggregory@apache.org>
Authored: Tue May 9 22:05:41 2017 +0000
Committer: Gary D. Gregory <ggregory@apache.org>
Committed: Tue May 9 22:05:41 2017 +0000

----------------------------------------------------------------------
 .../org/apache/http/impl/nio/reactor/ListenerEndpointImpl.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/7c5027d3/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ListenerEndpointImpl.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ListenerEndpointImpl.java
b/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ListenerEndpointImpl.java
index 80a9267..34711a0 100644
--- a/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ListenerEndpointImpl.java
+++ b/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ListenerEndpointImpl.java
@@ -156,4 +156,10 @@ public class ListenerEndpointImpl implements ListenerEndpoint {
         }
     }
 
+    @Override
+    public String toString() {
+        return "[address=" + address + ", key=" + key + ", closed=" + closed + ", completed="
+                + completed + ", exception=" + exception + ", callback=" + callback + "]";
+    }
+
 }


Mime
View raw message