public class DefaultHttpRequestRetryHandler extends java.lang.Object implements CustomHttpRequestRetryHandler
Description:
Copyright (c) 2018
| 构造器和说明 |
|---|
DefaultHttpRequestRetryHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 boolean retryRequest(java.io.IOException exception,
int executionCount,
org.apache.http.protocol.HttpContext context,
ClientConfiguration configuration)
retryRequest 在接口中 CustomHttpRequestRetryHandlerexception - the exception that occurredtrue if the method should be retried, false
otherwise