Made AsynchronousValidationRequest public
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
013ed18c5c
commit
29e692e410
|
@ -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 <code>true</code> if the cache entry was successfully validated;
|
||||
* otherwise <code>false</code>
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue