다음을 통해 공유


HttpRetryException Constructors

Definition

Overloads

HttpRetryException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

HttpRetryException(String, HttpStatus)

Constructs a new HttpRetryException from the specified response code and exception detail message

HttpRetryException(String, HttpStatus, String)

Constructs a new HttpRetryException with detail message responseCode and the contents of the Location response header field.

HttpRetryException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected HttpRetryException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Net.HttpRetryException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Net.HttpRetryException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

HttpRetryException(String, HttpStatus)

Constructs a new HttpRetryException from the specified response code and exception detail message

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public HttpRetryException (string? detail, Java.Net.HttpStatus code);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Java.Net.HttpRetryException : string * Java.Net.HttpStatus -> Java.Net.HttpRetryException

Parameters

detail
String

the detail message.

code
HttpStatus

the HTTP response code from server.

Attributes

Remarks

Constructs a new HttpRetryException from the specified response code and exception detail message

Java documentation for java.net.HttpRetryException.HttpRetryException(java.lang.String, int).

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

HttpRetryException(String, HttpStatus, String)

Constructs a new HttpRetryException with detail message responseCode and the contents of the Location response header field.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")]
public HttpRetryException (string? detail, Java.Net.HttpStatus code, string? location);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")>]
new Java.Net.HttpRetryException : string * Java.Net.HttpStatus * string -> Java.Net.HttpRetryException

Parameters

detail
String

the detail message.

code
HttpStatus

the HTTP response code from server.

location
String

the URL to be redirected to

Attributes

Remarks

Constructs a new HttpRetryException with detail message responseCode and the contents of the Location response header field.

Java documentation for java.net.HttpRetryException.HttpRetryException(java.lang.String, int, java.lang.String).

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