- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for combine (0.23 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
.body(RealResponseBody(contentType, contentLength, cacheWritingSource.buffer())) .build() } companion object { /** Combines cached headers with a network headers as defined by RFC 7234, 4.3.4. */ private fun combine( cachedHeaders: Headers, networkHeaders: Headers, ): Headers { val result = Headers.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
val builderList: List<KeyStore.Builder> = listOf( KeyStore.Builder.newInstance("PKCS11", null, KeyStore.CallbackHandlerProtection(callbackHandler)), // Example if you want to combine multiple keystore types // KeyStore.Builder.newInstance("PKCS12", null, File("keystore.p12"), PasswordProtection("rosebud".toCharArray())) ) val keyManagerFactory = KeyManagerFactory.getInstance("NewSunX509")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (1) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
val survey = CipherSuiteSurvey(clients = clients, ianaSuites = ianaSuitesNew, orderBy = orderBy) survey.printGoogleSheet() } fun rest(clients: List<Client>): List<SuiteId> { // combine all ciphers to get these near the top return clients.flatMap { it.enabled }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
/** * Modern reflection based SocketAdapter for Conscrypt class SSLSockets. * * This is used directly for providers where class name is known e.g. the Google Play Provider * but we can't compile directly against it, or in fact reliably know if it is registered and * on classpath. */ open class AndroidSocketAdapter(private val sslSocketClass: Class<in SSLSocket>) : SocketAdapter {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
} catch (e: IllegalAccessException) { throw AssertionError("failed to get ALPN selected protocol", e) } } /** * Handle the methods of ALPN's ClientProvider and ServerProvider without a compile-time * dependency on those interfaces. */ private class AlpnProvider( /** This peer's supported protocols. */ private val protocols: List<String>, ) : InvocationHandler {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
startAnotherThread() } return readyTask } // Notify the coordinator of a task that's coming up soon. coordinatorWaiting -> { if (minDelayNanos < coordinatorWakeUpAt - now) { backend.coordinatorNotify(this@TaskRunner) } return null }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
`RouteSelector`. ## Version 3.8.0 _2017-05-13_ * **OkHttp now uses `@Nullable` to annotate all possibly-null values.** We've added a compile-time dependency on the JSR 305 annotations. This is a [provided][maven_provided] dependency and does not need to be included in your build configuration, `.jar` file, or `.apk`. We use
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
* * It's assumed to always be present with known class names on Android devices, so we build * optimistically via [buildIfSupported]. But it also doesn't assume a compile time API. */ class StandardAndroidSocketAdapter( sslSocketClass: Class<in SSLSocket>, private val sslSocketFactoryClass: Class<in SSLSocketFactory>, private val paramClass: Class<*>,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
@Suppress("NAME_SHADOWING") companion object { private val YEAR_PATTERN = Pattern.compile("(\\d{2,4})[^\\d]*") private val MONTH_PATTERN = Pattern.compile("(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*") private val DAY_OF_MONTH_PATTERN = Pattern.compile("(\\d{1,2})[^\\d]*") private val TIME_PATTERN = Pattern.compile("(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*") private fun domainMatch(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0)