us.codecraft.express.router
类 RegexUrlMatcher

java.lang.Object
  继承者 us.codecraft.express.router.UrlMatcher
      继承者 us.codecraft.express.router.RegexUrlMatcher

public class RegexUrlMatcher
extends UrlMatcher

作者:
code4crafter@gmail.com

构造方法摘要
RegexUrlMatcher(Pattern pattern, List<String> pathVariables)
           
 
方法摘要
static RegexUrlMatcher compile(String url)
           
 List<String> getPathVariables()
           
 Pattern getPattern()
           
 boolean match(javax.servlet.http.HttpServletRequest request)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

RegexUrlMatcher

public RegexUrlMatcher(Pattern pattern,
                       List<String> pathVariables)
方法详细信息

match

public boolean match(javax.servlet.http.HttpServletRequest request)
指定者:
UrlMatcher 中的 match

compile

public static RegexUrlMatcher compile(String url)

toString

public String toString()
覆盖:
Object 中的 toString

getPattern

public Pattern getPattern()

getPathVariables

public List<String> getPathVariables()


Copyright © 2013. All Rights Reserved.