Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nullHostileProtocolList (0.52 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

            .Builder()
            .connectionSpecs(listOf(ConnectionSpec.CLEARTEXT))
            .build()
        assertFailsWith<IllegalStateException> {
          client.sslSocketFactory
        }
      }
    
      @Test fun nullHostileProtocolList() {
        val nullHostileProtocols =
          object : AbstractList<Protocol?>() {
            override val size: Int = 1
    
            override fun get(index: Int) = Protocol.HTTP_1_1
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top