- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for isHttps (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val default: HttpLoggingInterceptor.Logger = HttpLoggingInterceptor.Logger.DEFAULT } @Test fun httpUrl() { val httpUrl: HttpUrl = "".toHttpUrl() val isHttps: Boolean = httpUrl.isHttps val url: URL = httpUrl.toUrl() val uri: URI = httpUrl.toUri() val scheme: String = httpUrl.scheme val encodedUsername: String = httpUrl.encodedUsername
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt
* http://android.com/foo HTTP/1.1") or only the path (like "GET /foo HTTP/1.1"). */ private fun includeAuthorityInRequestLine( request: Request, proxyType: Proxy.Type, ): Boolean = !request.isHttps && proxyType == Proxy.Type.HTTP /** * Returns the path to request, like the '/' in 'GET / HTTP/1.1'. Never empty, even if the request * URL is. Includes the query component if it exists. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 17 00:47:36 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
val cacheUrlOverride: HttpUrl? = builder.cacheUrlOverride internal val tags: Map<KClass<*>, Any> = builder.tags.toMap() private var lazyCacheControl: CacheControl? = null val isHttps: Boolean get() = url.isHttps /** * Constructs a new request. * * Use [Builder] for more fluent construction, including helper methods for various HTTP methods. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
sentRequestMillis = sendRequestMillisString?.toLong() ?: 0L receivedResponseMillis = receivedResponseMillisString?.toLong() ?: 0L responseHeaders = responseHeadersBuilder.build() if (url.isHttps) { val blank = source.readUtf8LineStrict() if (blank.isNotEmpty()) { throw IOException("expected \"\" but was \"$blank\"") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/api/jvm/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/api/android/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)