Language

BasicHttpRequest Constructors

Definition

Overloads

Name Description
BasicHttpRequest(IRequestLine)
BasicHttpRequest(IntPtr, JniHandleOwnership)

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

BasicHttpRequest(String, String)
BasicHttpRequest(String, String, ProtocolVersion)

BasicHttpRequest(IRequestLine)

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

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

[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