語言

URLEncodedUtils.IsEncoded(IHttpEntity) 方法

定義

若該實體的 Content-Type 標頭為 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

參數

entity
IHttpEntity

要檢查內容類型的 HTTP 實體。

傳回

true若 Content-Type 標頭值等於 application/x-www-form-urlencoded,忽略情況;否則 。 false

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於