HttpHead Constructors

Definition

Overloads

Name Description
HttpHead()
HttpHead(URI)
HttpHead(String)
HttpHead(IntPtr, JniHandleOwnership)

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

HttpHead()

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

HttpHead(URI)

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

Parameters

uri
URI

The URI of the resource whose headers to retrieve.

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

HttpHead(String)

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

Parameters

uri
String

The URI string of the resource whose headers to retrieve.

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

HttpHead(IntPtr, JniHandleOwnership)

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

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

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