共用方式為


IAuthenticationHandler.GetChallenges(IHttpResponse, IHttpContext) 方法

定義

[Android.Runtime.Register("getChallenges", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Ljava/util/Map;", "GetGetChallenges_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler:Org.Apache.Http.Client.IAuthenticationHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public System.Collections.Generic.IDictionary<string,Org.Apache.Http.IHeader>? GetChallenges (Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("getChallenges", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Ljava/util/Map;", "GetGetChallenges_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler:Org.Apache.Http.Client.IAuthenticationHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetChallenges : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> System.Collections.Generic.IDictionary<string, Org.Apache.Http.IHeader>

參數

response
IHttpResponse
context
IHttpContext

傳回

屬性

例外狀況

備註

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

適用於