- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 260 for nulla (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
if (sslSocket is BCSSLSocket) { when (val protocol = (sslSocket as BCSSLSocket).applicationProtocol) { // Handles both un-configured and none selected. null, "" -> null else -> protocol } } else { super.getSelectedProtocol(sslSocket) } companion object { val isSupported: Boolean = try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
var immutable = false var canUseHeaderValue = true var headerValue: String? = null loop@ for (i in 0 until headers.size) { val name = headers.name(i) val value = headers.value(i) when { name.equals("Cache-Control", ignoreCase = true) -> { if (headerValue != null) { // Multiple cache-control headers means we can't use the raw value.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
// X509TrustManagerExtensions checks for checkServerTrusted(X509Certificate[], String, String) null } return when { extensions != null -> AndroidCertificateChainCleaner(trustManager, extensions) else -> null } } }
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) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
) {} override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf() } val sslContext = Platform.get().newSSLContext().apply { init(null, arrayOf(trustManager), null) } val sslSocketFactory = sslContext.socketFactory val hostnameVerifier = HostnameVerifier { _, _ -> true } client = client.newBuilder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt
) private val BROWSER_COMPATIBLE_DATE_FORMATS = arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) /** Returns the date for this string, or null if the value couldn't be parsed. */ fun String.toHttpDateOrNull(): Date? { if (isEmpty()) return null val position = ParsePosition(0) var result = STANDARD_DATE_FORMAT.get().parse(this, position) if (position.index == length) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
return try { val keyManager = newKeyManager( null, serverCert, serverIntermediateCa.certificate, ) val trustManager = newTrustManager( null, Arrays.asList(serverRootCa.certificate, clientRootCa.certificate), emptyList(), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
} private fun makeClient( connectionSpec: ConnectionSpec? = null, tlsVersion: TlsVersion? = null, cipherSuites: List<CipherSuite>? = null, ): OkHttpClient { return this.client.newBuilder() .apply { if (connectionSpec != null) { connectionSpecs( listOf( ConnectionSpec.Builder(connectionSpec)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 11.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())) )
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/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
internal val name: String, ) { val lock: ReentrantLock = ReentrantLock() internal var shutdown = false /** This queue's currently-executing task, or null if none is currently executing. */ internal var activeTask: Task? = null /** Scheduled tasks ordered by [Task.nextExecuteNanoTime]. */ internal val futureTasks = mutableListOf<Task>()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
val isOptional: Boolean = false, /** The value to return if this value is absent. Undefined unless this is optional. */ val defaultValue: T? = null, /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */ private val typeHint: Boolean = false, ) : DerAdapter<T> { init { require(tagClass >= 0) require(tag >= 0) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (0)