hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [3/4] httpcomponents-core git commit: [HTTPCORE-497] Add API org.apache.http.nio.protocol.UriHttpAsyncRequestHandlerMapper.getUriPatternMatcher()
Date Wed, 06 Dec 2017 08:31:57 GMT
[HTTPCORE-497] Add API org.apache.http.nio.protocol.UriHttpAsyncRequestHandlerMapper.getUriPatternMatcher()


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

Branch: refs/heads/4.4.x
Commit: 5c1767a04d77dccacc9de4e038e2feeeb00adca6
Parents: 21a1bf4
Author: Gary Gregory <ggregory@apache.org>
Authored: Tue Dec 5 15:29:59 2017 -0700
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Wed Dec 6 09:29:23 2017 +0100

----------------------------------------------------------------------
 RELEASE_NOTES.txt                                         |  3 +++
 .../nio/protocol/UriHttpAsyncRequestHandlerMapper.java    | 10 ++++++++++
 2 files changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/5c1767a0/RELEASE_NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index 58880cb..ed190fb 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -11,6 +11,9 @@ Changelog
   
 * HTTPCORE-496: Add API org.apache.http.protocol.UriPatternMatcher.entrySet().
   Contributed by Gary Gregory <ggregory at apache.org>
+  
+* HTTPCORE-497: Add API Add API org.apache.http.nio.protocol.UriHttpAsyncRequestHandlerMapper.getUriPatternMatcher().
+  Contributed by Gary Gregory <ggregory at apache.org>
 
 
 Release 4.4.8

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/5c1767a0/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 541bec7..08dce57 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
@@ -59,6 +59,16 @@ public class UriHttpAsyncRequestHandlerMapper implements HttpAsyncRequestHandler
         this.matcher = Args.notNull(matcher, "Pattern matcher");
     }
 
+    /**
+     * Gets the matcher.
+     *
+     * @return the matcher
+     * @since 4.4.9
+     */
+    public UriPatternMatcher<HttpAsyncRequestHandler<?>> getUriPatternMatcher()
{
+        return matcher;
+    }
+
     public UriHttpAsyncRequestHandlerMapper() {
         this(new UriPatternMatcher<HttpAsyncRequestHandler<?>>());
     }


Mime
View raw message