@Override
    public Result call(final Route route, final RequestContext context) throws Exception {
        URI redirectedURI = rewriteURI(context.request());
        logger.debug("Redirecting request - rewriting {} to {}", context.request().uri(), redirectedURI);
        if (redirectedURI == null) {
            return onRewriteFailed(context);
        }
        return Results.redirect(redirectedURI.toString());
    }
@ Override public Result call ( final Route route , final RequestContext context ) throws Exception { URI redirectedURI = rewriteURI ( context . request ( ) ) ; logger . debug ( "Redirecting request - rewriting {} to {}" , context . request ( ) . uri ( ) , redirectedURI ) ; if ( redirectedURI == null ) { return onRewriteFailed ( context ) ; } return Results . redirect ( redirectedURI . toString ( ) ) ; }
The interception method. It just returns a {@code REDIRECT} result to the computed URI.

@param route   the route
@param context the filter context
@return the result
@throws Exception if anything bad happen