HttpRequestHandlerRegistry.MatchUriRequestPattern(String, String) 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.
Caution
deprecated
[Android.Runtime.Register("matchUriRequestPattern", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetMatchUriRequestPattern_Ljava_lang_String_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
protected virtual bool MatchUriRequestPattern(string? pattern, string? requestUri);
[<Android.Runtime.Register("matchUriRequestPattern", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetMatchUriRequestPattern_Ljava_lang_String_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member MatchUriRequestPattern : string * string -> bool
override this.MatchUriRequestPattern : string * string -> bool
Parameters
- pattern
- String
The wildcard pattern: , a suffix preceded by , or a prefix followed by *.
- requestUri
- String
The request URI to compare. This method does not remove its query string.
Returns
true if the pattern is * or its prefix or suffix matches the request URI; otherwise, false. A pattern without a wildcard does not match in this method.
- 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.