class UriParserSpringImpl implements UriParser {

    @Override
    public Map<String, String> parse(final String uri) {
        final boolean match = this.uriTemplate.matches(uri);
        if (!match) {
            return new LinkedHashMap<>();
        }
        return Collections.unmodifiableMap(decodeParams(this.uriTemplate.match(uri)));
    }

    public  UriParserSpringImpl(final String template);

}