IHttpResponseInterceptor.Process(IHttpResponse, IHttpContext) 方法

定义

处理响应。

[Android.Runtime.Register("process", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", "GetProcess_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler:Org.Apache.Http.IHttpResponseInterceptorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Process (Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("process", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", "GetProcess_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler:Org.Apache.Http.IHttpResponseInterceptorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Process : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> unit

参数

response
IHttpResponse

对后处理的响应

context
IHttpContext

请求的上下文

属性

例外

出现 IO 问题时

在协议或其他问题的情况下

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于