- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for unavailable (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12.1K bytes - Viewed (4) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
/** * Starts the server on the loopback interface for the given port. * * @param port the port to listen to, or 0 for any available port. Automated tests should always * use port 0 to avoid flakiness when a specific port is unavailable. */ @Throws(IOException::class) @JvmOverloads fun start(port: Int = 0) = start(InetAddress.getByName("localhost"), port) /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
fun alpnProtocolNames(protocols: List<Protocol>) = protocols.filter { it != Protocol.HTTP_1_0 }.map { it.toString() } // This explicit check avoids activating in Android Studio with Android specific classes // available when running plugins inside the IDE. val isAndroid: Boolean get() = "Dalvik" == System.getProperty("java.vm.name") private val isConscryptPreferred: Boolean get() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
if (requestBody != null) { // Request body headers are only present when installed as a network interceptor. When not // already present, force them to be included (if available) so their values are known. requestBody.contentType()?.let { if (headers["Content-Type"] == null) { logger.log("Content-Type: $it") } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
docs/changelogs/changelog_4x.md
_2020-08-06_ * Fix: Don't crash in `HeldCertificate.Builder` when creating certificates on older versions of Android, including Android 6. We were using a feature of `SimpleDateFormat` that wasn't available in those versions! ## Version 4.8.0 _2020-07-11_ * New: Change `HeldCertificate.Builder` to use its own ASN.1 certificate encoder. This is part
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
localhostIpv6 = inetAddresses.firstOrNull { it is Inet6Address } ?: throw TestAbortedException() serverIpv4 = MockWebServer() serverIpv4.start(localhostIpv4, 0) // Pick any available port. serverIpv6 = MockWebServer() serverIpv6.start(localhostIpv6, serverIpv4.port) // Pick the same port as the IPv4 server. dnsResults = listOf( localhostIpv4, localhostIpv6,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
*/ @JvmField val FORCE_NETWORK = commonForceNetwork() /** * Cache control request directives that uses the cache only, even if the cached response is * stale. If the response isn't available in the cache or requires server validation, the call * will fail with a `504 Unsatisfiable Request`. */ @JvmField val FORCE_CACHE = commonForceCache() /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
construct = { BasicConstraints( ca = it[0] as Boolean, maxIntermediateCas = it[1] as Long?, ) }, ) /** * Note that only a subset of available choices are implemented. * * ``` * GeneralName ::= CHOICE { * otherName [0] OtherName, * rfc822Name [1] IA5String,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.6K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
/** * Access every declaration that is deprecated with [DeprecationLevel.ERROR]. Although new Kotlin * code shouldn't use these, they're necessary for clients migrating from OkHttp 3.x and this test * ensures the symbols remain available and with the expected parameter and return types. */ @Suppress( "DEPRECATION_ERROR", "UNUSED_VALUE", "UNUSED_VARIABLE", "VARIABLE_WITH_REDUNDANT_INITIALIZER", ) class KotlinDeprecationErrorTest {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
name = name, tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 16L, codec = codec, ) } /** Returns an adapter that decodes as the first of a list of available types. */ fun choice(vararg choices: DerAdapter<*>): DerAdapter<Pair<DerAdapter<*>, Any?>> { return object : DerAdapter<Pair<DerAdapter<*>, Any?>> { override fun matches(header: DerHeader): Boolean = true
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Viewed (0)