class StaticResourceServlet extends HttpServlet {

    static boolean isClientCompressionSupported(final HttpServletRequest req) {
        return StringUtils.contains(req.getHeader("Accept-Encoding"), "gzip");
    }

}