summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-09-10 10:58:39 -0700
committerJesse Wilson <jessewilson@google.com>2010-09-10 11:07:22 -0700
commit08d317e4136978547042362bd641c954fb6669df (patch)
treecdf81faf573e558045d4a0f8396a0e6cb3c164f1
parent3b74bc0ac45043a6b559d44aa913de5803793a56 (diff)
downloadexternal_apache-http-08d317e4136978547042362bd641c954fb6669df.zip
external_apache-http-08d317e4136978547042362bd641c954fb6669df.tar.gz
external_apache-http-08d317e4136978547042362bd641c954fb6669df.tar.bz2
Properly deprecate HttpRequestHandlerRegistry#matchUriRequestPattern.
This needs a comment and an annotation. The original deprecation was submitted in HTTPCORE-148, in this patch: https://issues.apache.org/jira/secure/attachment/12376138/changes.txt Change-Id: I4c8723c7a632ec09ee03d91f38097d758959f163
-rw-r--r--src/org/apache/http/protocol/HttpRequestHandlerRegistry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/apache/http/protocol/HttpRequestHandlerRegistry.java b/src/org/apache/http/protocol/HttpRequestHandlerRegistry.java
index 668d748..79701e3 100644
--- a/src/org/apache/http/protocol/HttpRequestHandlerRegistry.java
+++ b/src/org/apache/http/protocol/HttpRequestHandlerRegistry.java
@@ -73,8 +73,9 @@ public class HttpRequestHandlerRegistry implements HttpRequestHandlerResolver {
}
/**
- * @deprecated
+ * @deprecated use {@link UriPatternMatcher} directly
*/
+ @Deprecated
protected boolean matchUriRequestPattern(final String pattern, final String requestUri) {
return matcher.matchUriRequestPattern(pattern, requestUri);
}