Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 278 for nulla (0.56 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

                else -> "${inetAddress.hostAddress}:$localPort"
              }
    
          // Allow null in failure case to allow for testing bad requests
          this.requestUrl = "$scheme://$hostAndPort$path".toHttpUrlOrNull()
        } else {
          this.requestUrl = null
          this.method = null
          this.path = null
        }
      }
    
      override fun toString(): String = requestLine
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        private var bodyVar: MockResponseBody? = null
        private var streamHandlerVar: StreamHandler? = null
        private var webSocketListenerVar: WebSocketListener? = null
    
        var body: MockResponseBody?
          get() = bodyVar
          set(value) {
            bodyVar = value
            streamHandlerVar = null
            webSocketListenerVar = null
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

      @JvmField val clientMaxWindowBits: Int? = null,
      /** True if the agreed upon extension parameters includes "client_no_context_takeover". */
      @JvmField val clientNoContextTakeover: Boolean = false,
      /** Should be a value in [8..15]. Any value in that range is acceptable by OkHttp. */
      @JvmField val serverMaxWindowBits: Int? = null,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

        uriPort: Int = this.uriPort,
        proxy: Proxy? = null,
        proxySelector: ProxySelector = this.proxySelector,
      ): Address {
        return Address(
          uriHost = uriHost,
          uriPort = uriPort,
          dns = dns,
          socketFactory = SocketFactory.getDefault(),
          sslSocketFactory = null,
          hostnameVerifier = null,
          certificatePinner = null,
          proxyAuthenticator = proxyAuthenticator,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

        }
    
        if (requestMethod != "GET") {
          // Don't cache non-GET responses. We're technically allowed to cache HEAD requests and some
          // POST requests, but the complexity of doing so is high and the benefit is low.
          return null
        }
    
        if (response.hasVaryAll()) {
          return null
        }
    
        val entry = Entry(response)
        var editor: DiskLruCache.Editor? = null
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RecordingCallback.kt

        e: IOException,
      ) {
        responses.add(RecordedResponse(call.request(), null, null, null, e))
        (this as Object).notifyAll()
      }
    
      @Synchronized
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        val body = response.body.string()
        responses.add(RecordedResponse(call.request(), response, null, body, null))
        (this as Object).notifyAll()
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        private var commonName: String? = null
        private var organizationalUnit: String? = null
        private val altNames = mutableListOf<String>()
        private var serialNumber: BigInteger? = null
        private var keyPair: KeyPair? = null
        private var signedBy: HeldCertificate? = null
        private var maxIntermediateCas = -1
        private var keyAlgorithm: String? = null
        private var keySize: Int = 0
    
        init {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        assertFailsWith<IOException> {
          read(file)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("unreadable cache file")
        }
        assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null)
      }
    
      @Test
      fun redundantCallsToCloseAreIgnored() {
        val upstream = Buffer()
        upstream.writeUtf8("abcde")
        val relay = edit(file, upstream, metadata, 1024)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CookiesTest.kt

      private var client = clientTestRule.newClient()
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
      }
    
      @Test
      fun testNetscapeResponse() {
        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        client =
          client.newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        val urlWithIpAddress = urlWithIpAddress(server, "/path/foo")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

        // Last updated 2016-07-03 using cipher suites from Android 24 and Java 9.
    
        // @JvmField val TLS_NULL_WITH_NULL_NULL = init("TLS_NULL_WITH_NULL_NULL", 0x0000)
        @JvmField val TLS_RSA_WITH_NULL_MD5 = init("SSL_RSA_WITH_NULL_MD5", 0x0001)
    
        @JvmField val TLS_RSA_WITH_NULL_SHA = init("SSL_RSA_WITH_NULL_SHA", 0x0002)
    
        @JvmField val TLS_RSA_EXPORT_WITH_RC4_40_MD5 = init("SSL_RSA_EXPORT_WITH_RC4_40_MD5", 0x0003)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
Back to top