public class ConnectionResetHttpRequestRetryHandler extends DefaultHttpRequestRetryHandler
Description:
Copyright (c) 2018
| Constructor and Description |
|---|
ConnectionResetHttpRequestRetryHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
retryRequest(java.io.IOException exception,
int executionCount,
org.apache.http.protocol.HttpContext context,
ClientConfiguration configuration)
Determines if a method should be retried after an IOException
occurs during execution.
|
public ConnectionResetHttpRequestRetryHandler()
public boolean retryRequest(java.io.IOException exception,
int executionCount,
org.apache.http.protocol.HttpContext context,
ClientConfiguration configuration)
retryRequest in interface CustomHttpRequestRetryHandlerretryRequest in class DefaultHttpRequestRetryHandlerexception - the exception that occurredtrue if the method should be retried, false
otherwise