public class NullBackoffStrategy
extends java.lang.Object
implements org.apache.http.client.ConnectionBackoffStrategy
ConnectionBackoffStrategy that never backs off,
for compatibility with existing behavior.| Constructor and Description |
|---|
NullBackoffStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldBackoff(HttpResponse resp) |
boolean |
shouldBackoff(java.lang.Throwable t) |
public boolean shouldBackoff(java.lang.Throwable t)
shouldBackoff in interface org.apache.http.client.ConnectionBackoffStrategypublic boolean shouldBackoff(HttpResponse resp)
shouldBackoff in interface org.apache.http.client.ConnectionBackoffStrategy