DefaultRequestDirector.HandleResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a response requires a follow-up request.
[Android.Runtime.Register("handleResponse", "(Lorg/apache/http/impl/client/RoutedRequest;Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/impl/client/RoutedRequest;", "GetHandleResponse_Lorg_apache_http_impl_client_RoutedRequest_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")]
protected virtual Org.Apache.Http.Impl.Client.RoutedRequest? HandleResponse(Org.Apache.Http.Impl.Client.RoutedRequest? roureq, Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("handleResponse", "(Lorg/apache/http/impl/client/RoutedRequest;Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/impl/client/RoutedRequest;", "GetHandleResponse_Lorg_apache_http_impl_client_RoutedRequest_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member HandleResponse : Org.Apache.Http.Impl.Client.RoutedRequest * Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.Impl.Client.RoutedRequest
override this.HandleResponse : Org.Apache.Http.Impl.Client.RoutedRequest * Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.Impl.Client.RoutedRequest
Parameters
- roureq
- RoutedRequest
The current request wrapper and route used to prepare a redirect or authentication retry.
- response
- IHttpResponse
The response to inspect for a redirect or authentication challenge.
- context
- IHttpContext
The current execution context, including credentials and the target host used for authentication.
Returns
A follow-up routed request, or null when processing is complete.
- 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.