Language

DefaultHttpRequestRetryHandler Constructors

Definition

Overloads

Name Description
DefaultHttpRequestRetryHandler()

Initializes the HTTP request retry policy.

DefaultHttpRequestRetryHandler(Int32, Boolean)

Initializes the HTTP request retry policy.

DefaultHttpRequestRetryHandler(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

DefaultHttpRequestRetryHandler()

Initializes the HTTP request retry policy.

[Android.Runtime.Register(".ctor", "()V", "")]
public DefaultHttpRequestRetryHandler();
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

DefaultHttpRequestRetryHandler(Int32, Boolean)

Initializes the HTTP request retry policy.

[Android.Runtime.Register(".ctor", "(IZ)V", "")]
public DefaultHttpRequestRetryHandler(int retryCount, bool requestSentRetryEnabled);
[<Android.Runtime.Register(".ctor", "(IZ)V", "")>]
new Org.Apache.Http.Impl.Client.DefaultHttpRequestRetryHandler : int * bool -> Org.Apache.Http.Impl.Client.DefaultHttpRequestRetryHandler

Parameters

retryCount
Int32

The execution-count limit. A request is not retried when its execution count exceeds this value.

requestSentRetryEnabled
Boolean

Whether the sent-request check permits retries after a request has been sent. The count limit and exception checks still apply.

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

DefaultHttpRequestRetryHandler(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected DefaultHttpRequestRetryHandler(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Client.DefaultHttpRequestRetryHandler : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Client.DefaultHttpRequestRetryHandler

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

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