Class UriPatternMatcher

java.lang.Object
org.apache.http.protocol.UriPatternMatcher

public class UriPatternMatcher
extends Object
Maintains a map of objects keyed by a request URI pattern. Instances can be looked up by request URI.
Patterns may have three formats:
  • *
  • *<uri>
  • <uri>*
Version:
$Revision: 630662 $
Author:
Oleg Kalnichevski
  • Constructor Details

    • UriPatternMatcher

      public UriPatternMatcher()
  • Method Details

    • register

      public void register​(String pattern, Object handler)
    • unregister

      public void unregister​(String pattern)
    • setHandlers

      public void setHandlers​(Map map)
    • lookup

      public Object lookup​(String requestURI)
    • matchUriRequestPattern

      protected boolean matchUriRequestPattern​(String pattern, String requestUri)