Language

BasicHttpRequest Constructors

Definition

Overloads

Name Description
BasicHttpRequest(IRequestLine)

Initializes a request using the supplied request line.

BasicHttpRequest(IntPtr, JniHandleOwnership)

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

BasicHttpRequest(String, String)

Initializes a request using the supplied method and URI.

BasicHttpRequest(String, String, ProtocolVersion)

Initializes a request using the supplied method, URI, and protocol version.

BasicHttpRequest(IRequestLine)

Initializes a request using the supplied request line.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/RequestLine;)V", "")]
public BasicHttpRequest(Org.Apache.Http.IRequestLine? requestline);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/RequestLine;)V", "")>]
new Org.Apache.Http.Message.BasicHttpRequest : Org.Apache.Http.IRequestLine -> Org.Apache.Http.Message.BasicHttpRequest

Parameters

requestline
IRequestLine

The non-null request line that supplies the method, request URI, and protocol version.

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

BasicHttpRequest(IntPtr, JniHandleOwnership)

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

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

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

BasicHttpRequest(String, String)

Initializes a request using the supplied method and URI.

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

Parameters

method
String

The non-null HTTP method name.

uri
String

The non-null request 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

BasicHttpRequest(String, String, ProtocolVersion)

Initializes a request using the supplied method, URI, and protocol version.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)V", "")]
public BasicHttpRequest(string? method, string? uri, Org.Apache.Http.ProtocolVersion? ver);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)V", "")>]
new Org.Apache.Http.Message.BasicHttpRequest : string * string * Org.Apache.Http.ProtocolVersion -> Org.Apache.Http.Message.BasicHttpRequest

Parameters

method
String

The non-null HTTP method name.

uri
String

The non-null request URI.

ver
ProtocolVersion

The non-null protocol version for the request line.

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