if (matchingVariant == null) {
CachingHttpAsyncClient.this.log.debug("304 response did not contain ETag matching one sent in If-None-Match");
callBackend(future, target, request, clientContext);
}
final HttpCacheEntry matchedEntry = matchingVariant.getEntry();
if (revalidationResponseIsTooOld(httpResponse, matchedEntry)) {
EntityUtils.consumeQuietly(httpResponse.getEntity());
retryRequestUnconditionally(future, target, request, clientContext, matchedEntry);
return;
}
recordCacheUpdate(clientContext);
final HttpCacheEntry responseEntry = getUpdatedVariantEntry(target,
conditionalRequest, requestDate, responseDate, httpResponse,
matchingVariant, matchedEntry);
final HttpResponse resp = CachingHttpAsyncClient.this.responseGenerator.generateResponse(responseEntry);
tryToUpdateVariantMap(target, request, matchingVariant);