Language

HttpPost Constructors

Definition

Overloads

Name Description
HttpPost()

Initializes a POST request without a request URI.

HttpPost(URI)

Initializes a POST request with the specified URI.

HttpPost(String)

Initializes a POST request with a URI parsed from the specified string.

HttpPost(IntPtr, JniHandleOwnership)

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

HttpPost()

Initializes a POST request without a request URI.

[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)

Initializes a POST request with the specified 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

The URI of the resource that receives the enclosed entity.

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)

Initializes a POST request with a URI parsed from the specified 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

The URI string of the resource that receives the enclosed entity.

Attributes

Exceptions

if the uri is invalid.

Thrown when uri is null.

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