Language

AbstractHttpClient.AddResponseInterceptor Method

Definition

Overloads

Name Description
AddResponseInterceptor(IHttpResponseInterceptor)

Adds a response interceptor.

AddResponseInterceptor(IHttpResponseInterceptor, Int32)

Adds a response interceptor.

AddResponseInterceptor(IHttpResponseInterceptor)

Adds a response interceptor.

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

Parameters

itcp
IHttpResponseInterceptor

The response interceptor to append to the client's processor. A null value is ignored.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddResponseInterceptor(IHttpResponseInterceptor, Int32)

Adds a response interceptor.

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

Parameters

itcp
IHttpResponseInterceptor

The response interceptor to insert into the client's processor. A null value is not added.

index
Int32

The zero-based insertion position in the response-interceptor list.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to