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 2017/12/14 12:19:36 UTC

[2/2] httpcomponents-core git commit: Add toString() method for debugging.

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 <gg...@apache.org>
Authored: Wed Dec 13 15:49:55 2017 -0700
Committer: Oleg Kalnichevski <ol...@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.
      *