Udostępnij za pośrednictwem


HttpGet Constructors

Definition

Overloads

HttpGet()
HttpGet(URI)
HttpGet(String)
HttpGet(IntPtr, JniHandleOwnership)

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

HttpGet()

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

HttpGet(URI)

[Android.Runtime.Register(".ctor", "(Ljava/net/URI;)V", "")]
public HttpGet (Java.Net.URI? uri);
[<Android.Runtime.Register(".ctor", "(Ljava/net/URI;)V", "")>]
new Org.Apache.Http.Client.Methods.HttpGet : Java.Net.URI -> Org.Apache.Http.Client.Methods.HttpGet

Parameters

uri
URI
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

HttpGet(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public HttpGet (string? uri);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Client.Methods.HttpGet : string -> Org.Apache.Http.Client.Methods.HttpGet

Parameters

uri
String
Attributes

Exceptions

if the uri is invalid.

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

HttpGet(IntPtr, JniHandleOwnership)

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

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

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