final String rootAction = buildActionName(pathResource, null, "root"); if (names.length == 0) { // root action, / => rootAction if (hasActionDef(root, rootAction)) { if (executeHandlerIfFound(pathResource, handler, rootAction, null)) { return true; if (hasActionDef(root, directAction)) { if (executeHandlerIfFound(pathResource, handler, directAction, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, wholePkgAction)) { if (executeHandlerIfFound(pathResource, handler, wholePkgAction, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, actionName)) { if (executeHandlerIfFound(pathResource, handler, actionName, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, morePkgActionName)) { if (executeHandlerIfFound(pathResource, handler, morePkgActionName, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, wholePkgActionName)) { if (executeHandlerIfFound(pathResource, handler, wholePkgActionName, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, rootAction)) { if (executeHandlerIfFound(pathResource, handler, rootAction, buildParamPath(names, 0))) { return true;
final String rootAction = buildActionName(pathResource, null, "root"); if (names.length == 0) { // root action, / => rootAction if (hasActionDef(root, rootAction)) { if (executeHandlerIfFound(pathResource, handler, rootAction, null)) { return true; if (hasActionDef(root, directAction)) { if (executeHandlerIfFound(pathResource, handler, directAction, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, wholePkgAction)) { if (executeHandlerIfFound(pathResource, handler, wholePkgAction, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, actionName)) { if (executeHandlerIfFound(pathResource, handler, actionName, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, morePkgActionName)) { if (executeHandlerIfFound(pathResource, handler, morePkgActionName, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, wholePkgActionName)) { if (executeHandlerIfFound(pathResource, handler, wholePkgActionName, buildParamPath(names, nextIndex))) { return true; if (hasActionDef(root, rootAction)) { if (executeHandlerIfFound(pathResource, handler, rootAction, buildParamPath(names, 0))) { return true;