Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isHttps (0.1 sec)

  1. okhttp/api/okhttp.api

    	public static final fun get (Ljava/net/URI;)Lokhttp3/HttpUrl;
    	public static final fun get (Ljava/net/URL;)Lokhttp3/HttpUrl;
    	public fun hashCode ()I
    	public final fun host ()Ljava/lang/String;
    	public final fun isHttps ()Z
    	public final fun newBuilder ()Lokhttp3/HttpUrl$Builder;
    	public final fun newBuilder (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public static final fun parse (Ljava/lang/String;)Lokhttp3/HttpUrl;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

       */
      fun address(url: HttpUrl): Address {
        var useSslSocketFactory: SSLSocketFactory? = null
        var useHostnameVerifier: HostnameVerifier? = null
        var useCertificatePinner: CertificatePinner? = null
        if (url.isHttps) {
          useSslSocketFactory = sslSocketFactory
          useHostnameVerifier = hostnameVerifier
          useCertificatePinner = certificatePinner
        }
    
        return Address(
          uriHost = url.host,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * | `http://host/#abc`     | `"abc"`      |
       * | `http://host/#abc|def` | `"abc|def"`  |
       */
      @get:JvmName("fragment") val fragment: String?,
      /** Canonical URL. */
      private val url: String,
    ) {
      val isHttps: Boolean
        get() = scheme == "https"
    
      /** Returns this URL as a [java.net.URL][URL]. */
      @JvmName("url")
      fun toUrl(): URL {
        try {
          return URL(url)
        } catch (e: MalformedURLException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top