HttpsURLConnection.DefaultHostnameVerifier Property

Definition

Gets the default <code>HostnameVerifier</code> that is inherited by new instances of this class. -or- Sets the default <code>HostnameVerifier</code> inherited by a new instance of this class.

public static Javax.Net.Ssl.IHostnameVerifier? DefaultHostnameVerifier { [Android.Runtime.Register("getDefaultHostnameVerifier", "()Ljavax/net/ssl/HostnameVerifier;", "")] get; [Android.Runtime.Register("setDefaultHostnameVerifier", "(Ljavax/net/ssl/HostnameVerifier;)V", "")] set; }
[<get: Android.Runtime.Register("getDefaultHostnameVerifier", "()Ljavax/net/ssl/HostnameVerifier;", "")>]
[<set: Android.Runtime.Register("setDefaultHostnameVerifier", "(Ljavax/net/ssl/HostnameVerifier;)V", "")>]
member this.DefaultHostnameVerifier : Javax.Net.Ssl.IHostnameVerifier with get, set

Property Value

IHostnameVerifier

the default host name verifier

Attributes

Exceptions

if the specified verifier is null.

if the specified verifier is null.

if the specified verifier is null.

if the specified verifier is null.

if the specified verifier is null.

if the specified verifier is null.

Remarks

Property getter documentation:

Java documentation for javax.net.ssl.HttpsURLConnection.getDefaultHostnameVerifier().

Property setter documentation:

Java documentation for javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(javax.net.ssl.HostnameVerifier).

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