Language

URLEncodedUtils.IsEncoded(IHttpEntity) Method

Definition

Returns true if the entity's Content-Type header is application/x-www-form-urlencoded.

[Android.Runtime.Register("isEncoded", "(Lorg/apache/http/HttpEntity;)Z", "")]
public static bool IsEncoded(Org.Apache.Http.IHttpEntity? entity);
[<Android.Runtime.Register("isEncoded", "(Lorg/apache/http/HttpEntity;)Z", "")>]
static member IsEncoded : Org.Apache.Http.IHttpEntity -> bool

Parameters

entity
IHttpEntity

The HTTP entity whose content type to inspect.

Returns

true if the Content-Type header value equals application/x-www-form-urlencoded, ignoring case; false if the header is absent or has a different non-null value. A present header must have a non-null value.

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