summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-09-10 10:58:39 -0700
committerJoe Onorato <joeo@google.com>2010-09-10 15:25:43 -0400
commit8232105ef86740b2fddce9e9477aa16a450ee8a8 (patch)
tree4e20916bb519c2841991149365010fd343495ea9
parent166ed46d7e5312857b8a9b8d07c00373c596c1b3 (diff)
downloadexternal_apache-http-8232105ef86740b2fddce9e9477aa16a450ee8a8.zip
external_apache-http-8232105ef86740b2fddce9e9477aa16a450ee8a8.tar.gz
external_apache-http-8232105ef86740b2fddce9e9477aa16a450ee8a8.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: I3b4c6e61f03a5f6ffc42ac1f02155f5c58b2e79c
-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);
}