public interface HttpRetryHandler
Modifier and Type | Field and Description |
---|---|
static HttpRetryHandler |
ALWAYS_RETRY |
static HttpRetryHandler |
NEVER_RETRY |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRetryRequest(HttpCommand command,
HttpResponse response)
Return true if the command should be retried.
|
static final HttpRetryHandler ALWAYS_RETRY
static final HttpRetryHandler NEVER_RETRY
boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.