org.nutz.mvc.impl
类 UrlMappingImpl

java.lang.Object
  继承者 org.nutz.mvc.impl.UrlMappingImpl
所有已实现的接口:
UrlMapping

public class UrlMappingImpl
extends java.lang.Object
implements UrlMapping


构造方法摘要
UrlMappingImpl()
           
 
方法摘要
 void add(ActionChainMaker maker, ActionInfo ai, NutConfig config)
          增加一个映射
 ActionInvoker get(ActionContext ac)
          根据一个路径,获取一个动作链的调用者,并且,如果这个路径中包括统配符 '?'
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

UrlMappingImpl

public UrlMappingImpl()
方法详细信息

add

public void add(ActionChainMaker maker,
                ActionInfo ai,
                NutConfig config)
从接口 UrlMapping 复制的描述
增加一个映射

指定者:
接口 UrlMapping 中的 add
参数:
maker - 处理器工厂
ai - 处理器配置

get

public ActionInvoker get(ActionContext ac)
从接口 UrlMapping 复制的描述
根据一个路径,获取一个动作链的调用者,并且,如果这个路径中包括统配符 '?' 或者 '*'
需要为上下文对象设置好路径参数

指定者:
接口 UrlMapping 中的 get
参数:
ac - 上下文对象
返回:
动作链的调用者