DefaultHttpRequestRetryHandler.RetryRequest Method

Definition

Determines whether an I/O failure permits another attempt.

[Android.Runtime.Register("retryRequest", "(Ljava/io/IOException;ILorg/apache/http/protocol/HttpContext;)Z", "GetRetryRequest_Ljava_io_IOException_ILorg_apache_http_protocol_HttpContext_Handler")]
public virtual bool RetryRequest(Java.IO.IOException? exception, int executionCount, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("retryRequest", "(Ljava/io/IOException;ILorg/apache/http/protocol/HttpContext;)Z", "GetRetryRequest_Ljava_io_IOException_ILorg_apache_http_protocol_HttpContext_Handler")>]
abstract member RetryRequest : Java.IO.IOException * int * Org.Apache.Http.Protocol.IHttpContext -> bool
override this.RetryRequest : Java.IO.IOException * int * Org.Apache.Http.Protocol.IHttpContext -> bool

Parameters

exception
IOException
executionCount
Int32
context
IHttpContext

Returns

true when the request may be retried; otherwise, false.

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to