hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [2/2] httpcomponents-core git commit: Add toString() method for debugging.
Date Thu, 14 Dec 2017 12:19:36 GMT
Add toString() method for debugging.

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

Branch: refs/heads/4.4.x
Commit: ca65eaf1c32e101fbb6fc3429d0f4b05c6ff0abf
Parents: 647f2ce
Author: Gary Gregory <ggregory@apache.org>
Authored: Wed Dec 13 15:49:55 2017 -0700
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Thu Dec 14 13:16:45 2017 +0100

----------------------------------------------------------------------
 .../http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/ca65eaf1/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java
b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java
index f2066d2..01f151b 100644
--- a/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java
+++ b/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java
@@ -110,6 +110,11 @@ public class UriHttpAsyncRequestHandlerMapper implements HttpAsyncRequestHandler
         return uriPath;
     }
 
+    @Override
+    public String toString() {
+        return getClass().getName() + " [matcher=" + matcher + "]";
+    }
+
     /**
      * Looks up a handler matching the given request URI.
      *


Mime
View raw message