HttpRequestHandlerRegistry.Register(String, IHttpRequestHandler) 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("register", "(Ljava/lang/String;Lorg/apache/http/protocol/HttpRequestHandler;)V", "GetRegister_Ljava_lang_String_Lorg_apache_http_protocol_HttpRequestHandler_Handler")]
public virtual void Register(string? pattern, Org.Apache.Http.Protocol.IHttpRequestHandler? handler);
[<Android.Runtime.Register("register", "(Ljava/lang/String;Lorg/apache/http/protocol/HttpRequestHandler;)V", "GetRegister_Ljava_lang_String_Lorg_apache_http_protocol_HttpRequestHandler_Handler")>]
abstract member Register : string * Org.Apache.Http.Protocol.IHttpRequestHandler -> unit
override this.Register : string * Org.Apache.Http.Protocol.IHttpRequestHandler -> unit
Parameters
- pattern
- String
The exact URI or wildcard pattern to register. This must not be null.
- handler
- IHttpRequestHandler
The request handler associated with the pattern. This must not be null. It replaces any handler registered for the same pattern.
- 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.