Udostępnij za pośrednictwem


IResponseHandler.HandleResponse(IHttpResponse) Method

Definition

Processes an IHttpResponse and returns some value corresponding to that response.

[Android.Runtime.Register("handleResponse", "(Lorg/apache/http/HttpResponse;)Ljava/lang/Object;", "GetHandleResponse_Lorg_apache_http_HttpResponse_Handler:Org.Apache.Http.Client.IResponseHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? HandleResponse (Org.Apache.Http.IHttpResponse? response);
[<Android.Runtime.Register("handleResponse", "(Lorg/apache/http/HttpResponse;)Ljava/lang/Object;", "GetHandleResponse_Lorg_apache_http_HttpResponse_Handler:Org.Apache.Http.Client.IResponseHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member HandleResponse : Org.Apache.Http.IHttpResponse -> Java.Lang.Object

Parameters

response
IHttpResponse

The response to process

Returns

Attributes

Exceptions

in case of an http protocol error

in case of a problem or the connection was aborted

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