Share via


BasicHeaderElement Constructors

Definition

Overloads

BasicHeaderElement(IntPtr, JniHandleOwnership)

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

BasicHeaderElement(String, String)

Constructor with name and value.

BasicHeaderElement(String, String, INameValuePair[])

Constructor with name, value and parameters.

BasicHeaderElement(IntPtr, JniHandleOwnership)

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

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

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

BasicHeaderElement(String, String)

Constructor with name and value.

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

Parameters

name
String
value
String
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

BasicHeaderElement(String, String, INameValuePair[])

Constructor with name, value and parameters.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;[Lorg/apache/http/NameValuePair;)V", "")]
public BasicHeaderElement (string? name, string? value, Org.Apache.Http.INameValuePair[]? parameters);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;[Lorg/apache/http/NameValuePair;)V", "")>]
new Org.Apache.Http.Message.BasicHeaderElement : string * string * Org.Apache.Http.INameValuePair[] -> Org.Apache.Http.Message.BasicHeaderElement

Parameters

name
String
value
String
parameters
INameValuePair[]
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