/** * Checks if the request supports gzip and is not a include request (these cannot be gzipped) */ private boolean isGzipAllowed(final HttpServletRequest request) { return !DispatcherStreamLocator.isIncludedRequest(request) && WroUtil.isGzipSupported(request); }
/** * Checks if the request supports gzip and is not a include request (these cannot be gzipped) */ private boolean isGzipAllowed(final HttpServletRequest request) { return !DispatcherStreamLocator.isIncludedRequest(request) && WroUtil.isGzipSupported(request); }
private boolean isGzipAllowed() { return context.getConfig().isGzipEnabled() && WroUtil.isGzipSupported(context.getRequest()); }
private boolean isGzipAllowed() { return context.getConfig().isGzipEnabled() && WroUtil.isGzipSupported(context.getRequest()); }