/** * Returns a value that indicates whether the HTTP request/response has cache headers. * * @return A boolean value that is true if the HTTP request/response has cache headers, and is * false if it does not. */ public boolean hasCacheHeaders() { return response.isHasCacheHeaders() || (request != null && request.isHasCacheHeaders()); }