I'm looking for a Java library that evaluates REST-style URLs. Something like:
public Result evaluate(String url, String pattern);
The pattern would be something like:
/users/{userId}/photos/{photoId}.html
The result must include:
Can anyone help, please?