public boolean matches(String path) {
        String[] pathElements = path.split("/");
        if (pathElements.length < elements.length) {
            return false;
        }
        for (int i = 0; i < elements.length; ++i) {
            if (!(elements[i].equals(pathElements[i]))) {
                return false;
            }
        }
        return true;
    }
Wrapper to maintain indirections between prefixes and Handler instances.

@author Steinar Knutsen
container-core/src/main/java/com/yahoo/container/handler/Prefix.java