Language

HttpRequestHandlerRegistry.Lookup(String) Method

Definition

[Android.Runtime.Register("lookup", "(Ljava/lang/String;)Lorg/apache/http/protocol/HttpRequestHandler;", "GetLookup_Ljava_lang_String_Handler")]
public virtual Org.Apache.Http.Protocol.IHttpRequestHandler? Lookup(string? requestURI);
[<Android.Runtime.Register("lookup", "(Ljava/lang/String;)Lorg/apache/http/protocol/HttpRequestHandler;", "GetLookup_Ljava_lang_String_Handler")>]
abstract member Lookup : string -> Org.Apache.Http.Protocol.IHttpRequestHandler
override this.Lookup : string -> Org.Apache.Http.Protocol.IHttpRequestHandler

Parameters

requestURI
String

The request URI to look up. This must not be null. The query string, starting at the first ?, is removed before matching.

Returns

The handler registered for an exact match, or for the longest matching wildcard pattern. For equal-length wildcard matches, a pattern ending in * takes priority. Returns null if no match is found.

Implements

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.

Applies to