if (!cacheState.isCacheable()) {
content = returnedContent;
} else {
content = new CachedHttpContent(
returnedContent, cacheState, clock,
new CacheableDependency(url, cacheState, clock, cache,
CachingObjectProvider.this));
}
} else if (statusCode == HttpStatus.SC_NOT_MODIFIED) {
// not modified, so it is OK to get the content from the cache
final CachedHttpContent cachedContent =