I wanted to build a RESTful service which has a URL with a RFC 6570 Query Expansion portion like
/projects/{projectName}/issues{?impact}
Where an example URL might be
http://localhost:9991/project/someproject/issues?impact=High
This URL design is typical for searches e.g. http://stackoverflow.com/questions/207477/restful-url-design-for-search
Regrettably, the 0.3.0 webbit-rest implementation precludes this URL design because of this line of code
String path = URI.create(request.uri()).getPath();
in org.webbitserver.rest.UriTemplateHandler#handleHttpRequest. By calling getPath(), it causes org.weborganic.furi.URIResolver#resolve to detect a mismatch betwen the matches group count and the pattern tokens.