共用方式為


BasicHttpProcessor.AddResponseInterceptor 方法

定義

多載

AddResponseInterceptor(IHttpResponseInterceptor)

在指定的索引處插入響應攔截器。

AddResponseInterceptor(IHttpResponseInterceptor, Int32)

在指定的索引處插入響應攔截器。

AddResponseInterceptor(IHttpResponseInterceptor)

在指定的索引處插入響應攔截器。

[Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", "")]
public void AddResponseInterceptor (Org.Apache.Http.IHttpResponseInterceptor? itcp);
[<Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", "")>]
abstract member AddResponseInterceptor : Org.Apache.Http.IHttpResponseInterceptor -> unit
override this.AddResponseInterceptor : Org.Apache.Http.IHttpResponseInterceptor -> unit

參數

itcp
IHttpResponseInterceptor

要新增的響應攔截器

實作

屬性

備註

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

適用於

AddResponseInterceptor(IHttpResponseInterceptor, Int32)

在指定的索引處插入響應攔截器。

[Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", "")]
public void AddResponseInterceptor (Org.Apache.Http.IHttpResponseInterceptor? itcp, int index);
[<Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", "")>]
abstract member AddResponseInterceptor : Org.Apache.Http.IHttpResponseInterceptor * int -> unit
override this.AddResponseInterceptor : Org.Apache.Http.IHttpResponseInterceptor * int -> unit

參數

itcp
IHttpResponseInterceptor

要新增的響應攔截器

index
Int32

要插入攔截器的索引

實作

屬性

備註

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

適用於