语言

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

要添加的响应侦听器

实现

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

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

要插入侦听器的索引

实现

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于