final EngineGroup leafEngineGroup = lastMatched.getMappingNode().getLeafEngines(); if (leafEngineGroup.size() == 0) { for (int i = 0; i < matchResults.size(); i++) { MatchResult matchResult = matchResults.get(i); sb.append(matchResult.getValue()); if (matchResult.getMappingNode() == moduleNode) { moduleMatchResult = matchResult; sb.setLength(0); if (matchResult.getMappingNode() == controllerNode) { controllerMatchResult = matchResult; for (int i = matchResults.size() - 1; i >= 0; i--) { MatchResult matchResult = matchResults.get(i); String name = matchResult.getParameterName(); if (name != null) { if (uriParameters == null) { uriParameters = new HashMap<String, String>(matchResults.size() << 1); uriParameters.put(name, matchResult.getValue());
if (last != null && /*只对常量匹配的作判断*/last.getParameterName() == null) { if (remaining.length() > last.getValue().length() && remaining.charAt(last.getValue().length()) != '/') { last = null; remaining = remaining.substring(last.getValue().length());
@Override public String getResourceId() { StringBuilder sb = new StringBuilder(255); sb.append(getRequest().getContextPath()); for (MatchResult matchResult : rose.getMatchResults()) { sb.append(matchResult.getMappingNode().getMappingPath()); } return sb.toString(); }
if (last != null && /*只对常量匹配的作判断*/last.getParameterName() == null) { if (remaining.length() > last.getValue().length() && remaining.charAt(last.getValue().length()) != '/') { last = null; remaining = remaining.substring(last.getValue().length());
final EngineGroup leafEngineGroup = lastMatched.getMappingNode().getLeafEngines(); final LinkedEngine leafEngine = select(leafEngineGroup.getEngines(testMethod), inv .getRequest());
final EngineGroup leafEngineGroup = lastMatched.getMappingNode().getLeafEngines(); if (leafEngineGroup.size() == 0) { for (int i = 0; i < matchResults.size(); i++) { MatchResult matchResult = matchResults.get(i); sb.append(matchResult.getValue()); if (matchResult.getMappingNode() == moduleNode) { moduleMatchResult = matchResult; sb.setLength(0); if (matchResult.getMappingNode() == controllerNode) { controllerMatchResult = matchResult; for (int i = matchResults.size() - 1; i >= 0; i--) { MatchResult matchResult = matchResults.get(i); String name = matchResult.getParameterName(); if (name != null) { if (uriParameters == null) { uriParameters = new HashMap<String, String>(matchResults.size() << 1); uriParameters.put(name, matchResult.getValue());
@Override public String getResourceId() { StringBuilder sb = new StringBuilder(255); sb.append(getRequest().getContextPath()); for (MatchResult matchResult : rose.getMatchResults()) { sb.append(matchResult.getMappingNode().getMappingPath()); } return sb.toString(); }
final EngineGroup leafEngineGroup = lastMatched.getMappingNode().getLeafEngines(); final LinkedEngine leafEngine = select(leafEngineGroup.getEngines(testMethod), inv .getRequest());