HttpPost Constructors

Definition

Overloads

HttpPost()
HttpPost(URI)
HttpPost(String)
HttpPost(IntPtr, JniHandleOwnership)

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

HttpPost()

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

HttpPost(URI)

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

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

HttpPost(String)

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

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

HttpPost(IntPtr, JniHandleOwnership)

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

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

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