/**
* Install this {@code StaticResourceRewriteMapper} into the given application. The
* {@code StaticResourceRewriteMapper} instance will not have any effect unless it is installed.
*/
public void install(final WebApplication app) {
final IRequestMapper delegate = new ResourceReferenceMapper(new PageParametersEncoder(),
newParentFolderPlaceholder(app),
newResourceCachingStrategy(app));
final StaticResourceRewriteMapper mapper = new StaticResourceRewriteMapper(url, delegate);
app.mount(mapper);