Package org.nutz.mvc

Examples of org.nutz.mvc.ActionChain


           
            if (path.charAt(0) != '/')
                paths[i] = '/' + path;
        }
       
        ActionChain chain = maker.eval(config, ai);
        for (String path : ai.getPaths()) {

            // 尝试获取,看看有没有创建过这个 URL 调用者
            ActionInvoker invoker = map.get(path);
View Full Code Here


    public ActionInvoker get(ActionContext ac) {
        String path = Mvcs.getRequestPath(ac.getRequest());
        ActionInvoker invoker = root.get(ac, path);
        if (invoker != null) {
            ActionChain chain = invoker.getActionChain(ac);
            if (chain != null) {
                if (log.isDebugEnabled()) {
                    log.debugf("Found mapping for [%s] path=%s : %s", ac.getRequest().getMethod(), path, chain);
                }
                return invoker;
View Full Code Here

TOP

Related Classes of org.nutz.mvc.ActionChain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.