// Nothing is in the cache, let's see if this is simply the first time
// that this action is being called
int maxMatchLength = 0;
for (Entry<UrlMatcher, ActionPool> entry : actions.entrySet()) {
UrlMatcher matcher = entry.getKey();
if (matcher.matches(url, flavor)) {
ActionPool pool = entry.getValue();
int matchLength = matcher.getMountpoint().length();
if (matchLength > maxMatchLength) {
maxMatchLength = matchLength;
actionPool = pool;