HttpService.DoService(IHttpRequest, IHttpResponse, IHttpContext) 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.
[Android.Runtime.Register("doService", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", "GetDoService_Lorg_apache_http_HttpRequest_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")]
protected virtual void DoService(Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("doService", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", "GetDoService_Lorg_apache_http_HttpRequest_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member DoService : Org.Apache.Http.IHttpRequest * Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> unit
override this.DoService : Org.Apache.Http.IHttpRequest * Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> unit
Parameters
- request
- IHttpRequest
The request whose URI is passed to the configured handler resolver.
- response
- IHttpResponse
The response to fill through the resolved handler. Its status is set to 501 Not Implemented if no handler is found or no resolver is configured.
- context
- IHttpContext
The execution context passed to the request handler.
- 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.