다음을 통해 공유


BasicHttpProcessor.AddInterceptor Method

Definition

Overloads

AddInterceptor(IHttpRequestInterceptor)

Same as AddRequestInterceptor(IHttpRequestInterceptor).

AddInterceptor(IHttpResponseInterceptor)

Same as AddResponseInterceptor(IHttpResponseInterceptor).

AddInterceptor(IHttpRequestInterceptor, Int32)
AddInterceptor(IHttpResponseInterceptor, Int32)

AddInterceptor(IHttpRequestInterceptor)

[Android.Runtime.Register("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", "")]
public void AddInterceptor (Org.Apache.Http.IHttpRequestInterceptor? interceptor);
[<Android.Runtime.Register("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", "")>]
member this.AddInterceptor : Org.Apache.Http.IHttpRequestInterceptor -> unit

Parameters

interceptor
IHttpRequestInterceptor

the interceptor to add

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

AddInterceptor(IHttpResponseInterceptor)

[Android.Runtime.Register("addInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", "")]
public void AddInterceptor (Org.Apache.Http.IHttpResponseInterceptor? interceptor);
[<Android.Runtime.Register("addInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", "")>]
member this.AddInterceptor : Org.Apache.Http.IHttpResponseInterceptor -> unit

Parameters

interceptor
IHttpResponseInterceptor

the interceptor to add

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

AddInterceptor(IHttpRequestInterceptor, Int32)

[Android.Runtime.Register("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", "")]
public void AddInterceptor (Org.Apache.Http.IHttpRequestInterceptor? interceptor, int index);
[<Android.Runtime.Register("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", "")>]
member this.AddInterceptor : Org.Apache.Http.IHttpRequestInterceptor * int -> unit

Parameters

index
Int32
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

AddInterceptor(IHttpResponseInterceptor, Int32)

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

Parameters

index
Int32
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