From 29e692e410926c863f2d3055804f1cc048b6ba8c Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Tue, 25 Feb 2014 14:46:07 +0000 Subject: [PATCH] Made AsynchronousValidationRequest public git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571715 13f79535-47bb-0310-9956-ffa450edef68 --- .../impl/client/cache/AsynchronousValidationRequest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java index bbf5af8bf..fe0327566 100644 --- a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java +++ b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java @@ -45,7 +45,7 @@ import org.apache.http.conn.routing.HttpRoute; * Class used to represent an asynchronous revalidation event, such as with * "stale-while-revalidate" */ -class AsynchronousValidationRequest implements Runnable { +public class AsynchronousValidationRequest implements Runnable { private final AsynchronousValidator parent; private final CachingExec cachingExec; private final HttpRoute route; @@ -108,7 +108,7 @@ class AsynchronousValidationRequest implements Runnable { * @return true if the cache entry was successfully validated; * otherwise false */ - protected boolean revalidateCacheEntry() { + private boolean revalidateCacheEntry() { try { final CloseableHttpResponse httpResponse = cachingExec.revalidateCacheEntry(route, request, context, execAware, cacheEntry); try { @@ -164,7 +164,7 @@ class AsynchronousValidationRequest implements Runnable { return true; } - String getIdentifier() { + public String getIdentifier() { return identifier; }