Java.Net.URLConnection.GetHeaderFieldKey Method
Returns the name of the header field at the given position posn or null if there are fewer than posn fields.

Syntax

[Android.Runtime.Register("getHeaderFieldKey", "(I)Ljava/lang/String;", "GetGetHeaderFieldKey_IHandler")]
public virtual string GetHeaderFieldKey (int posn)

Parameters

posn
the position of the header field which has to be returned.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the name of the header field at the given position posn or null if there are fewer than posn fields. The base implementation of this method returns always null.

Some implementations (notably HttpURLConnection) include a mapping for the null key; in HTTP's case, this maps to the HTTP status line and is treated as being at position 0 when indexing into the header fields.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1