class ExpansionHandler implements RuleChangesObserver {

    public boolean isZipRequest(HttpServerRequest request) {
        boolean ok = false;
        if (HttpMethod.GET == request.method() && request.params().contains(ZIP_PARAM)) {
            ok = ! request.params().get(ZIP_PARAM).equalsIgnoreCase("false");
        }

        return ok && !isBackendExpand(request.uri());
    }

    public  ExpansionHandler(Vertx vertx, final ResourceStorage storage, HttpClient httpClient, final Map<String, Object> properties, String serverRoot, final String rulesPath);

}