BasicHttpProcessor.AddResponseInterceptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
要添加的响应侦听器
实现
- 属性
注解
本页的某些部分是根据 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
参数
要添加的响应侦听器
- index
- Int32
要插入侦听器的索引
实现
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。