* Redirect to a URI that ends in a slash.
*
* TODO use the complete URI.
*/
private boolean redirect(UriRuleContext context) {
final HttpResponseContext response = context.getResponse();
response.setResponse(
Response.temporaryRedirect(
context.getUriInfo().getRequestUriBuilder().path("/").build()
).build()
);
return true;