Language

IHttpRequestHandler.handleRequest Method

Definition

Handles an HTTP request and fills the response that the service will send.

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

Parameters

request
IHttpRequest

The HTTP request to handle.

response
IHttpResponse

The HTTP response to fill with the result of handling the request.

context
IHttpContext

The execution context for the request and response.

Attributes

Exceptions

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