BasicResponseHandler.IResponseHandler.HandleResponse(IHttpResponse) Method

Definition

Returns the response body when its status code is less than 300.

Java.Lang.Object? IResponseHandler.HandleResponse(Org.Apache.Http.IHttpResponse? response);
abstract member Org.Apache.Http.Client.IResponseHandler.HandleResponse : Org.Apache.Http.IHttpResponse -> Java.Lang.Object
override this.Org.Apache.Http.Client.IResponseHandler.HandleResponse : Org.Apache.Http.IHttpResponse -> Java.Lang.Object

Parameters

response
IHttpResponse

The response whose body is returned when its status code is less than 300.

Returns

The response body as a string, or null when no response body is present.

Implements

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