SNIMatcher.Matches(SNIServerName) Method

Definition

Attempts to match the given SNIServerName.

[Android.Runtime.Register("matches", "(Ljavax/net/ssl/SNIServerName;)Z", "GetMatches_Ljavax_net_ssl_SNIServerName_Handler", ApiSince=24)]
public abstract bool Matches (Javax.Net.Ssl.SNIServerName? serverName);
[<Android.Runtime.Register("matches", "(Ljavax/net/ssl/SNIServerName;)Z", "GetMatches_Ljavax_net_ssl_SNIServerName_Handler", ApiSince=24)>]
abstract member Matches : Javax.Net.Ssl.SNIServerName -> bool

Parameters

serverName
SNIServerName

the SNIServerName instance on which this matcher performs match operations

Returns

Boolean

true if, and only if, the matcher matches the given serverName

Attributes

Remarks

Java documentation for javax.net.ssl.SNIMatcher.matches(javax.net.ssl.SNIServerName).

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