public boolean matches(String pathSpec) {
        return matchesInner(pathSpec);
    }
Parses the path according to pathSpec - must be called prior to {@link #get}

Returns whether this path matches the given template string.
If the given template has placeholders, their values (accessible by get) are reset by calling this,
whether the path matches the given template.

This will NOT match empty path elements.

@param pathSpec the literal path string to match to this
@return true if the string matches, false otherwise
container-core/src/main/java/com/yahoo/restapi/Path.java