Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for Subject (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/Headers.kt

      }
    
      override operator fun iterator(): Iterator<Pair<String, String>> = commonIterator()
    
      fun newBuilder(): Builder = commonNewBuilder()
    
      /**
       * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
       * the same order. Note that two headers instances may be *semantically* equal but not equal
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
      }
    
      @Test
      fun headersPostNoLength() {
        setLevel(Level.HEADERS)
        server.enqueue(MockResponse())
        val body: RequestBody =
          object : RequestBody() {
            override fun contentType() = PLAIN
    
            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("Hi!")
            }
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        dns.assertRequests(bogusHostname)
        proxySelector.assertRequests() // No proxy selector requests!
      }
    
      @Test fun proxySelectorReturnsNull() {
        val nullProxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI): List<Proxy>? {
              assertThat(uri.host).isEqualTo(uriHost)
              return null
            }
    
            override fun connectFailed(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        return DnsOverHttps.Builder().client(bootstrapClient)
          .includeIPv6(includeIPv6)
          .resolvePrivateAddresses(true)
          .url(url)
          .post(post)
          .build()
      }
    
      companion object {
        private fun address(host: String) = InetAddress.getByName(host)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        public override fun clone(): Builder = build().newBuilder()
    
        fun build(): MockResponse = MockResponse(this)
      }
    
      @ExperimentalOkHttpApi
      companion object {
        private const val CHUNKED_BODY_HEADER = "Transfer-encoding: chunked"
      }
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        }
    
        override fun close() {
          if (closed) return
          if (!inputExhausted) {
            responseBodyComplete()
          }
          closed = true
        }
      }
    
      companion object {
        private const val NO_CHUNK_YET = -1L
    
        private const val STATE_IDLE = 0 // Idle connections are ready to write request headers.
        private const val STATE_OPEN_REQUEST_BODY = 1
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          connectionSpecIndex = connectionSpecIndex,
          isTlsFallback = isTlsFallback,
        )
      }
    
      fun closeQuietly() {
        socket?.closeQuietly()
      }
    
      companion object {
        private const val NPE_THROW_WITH_NULL = "throw with null exception"
        private const val MAX_TUNNEL_ATTEMPTS = 21
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(other.port).isNotEqualTo(server.port)
        other.shutdown()
      }
    
      @Test
      fun statementStartsAndStops() {
        val called = AtomicBoolean()
        val statement =
          server.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                server.url("/").toUrl().openConnection().connect()
              }
            },
            Description.EMPTY,
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

      companion object {
        /**
         * Compares cipher suites names like "TLS_RSA_WITH_NULL_MD5" and "SSL_RSA_WITH_NULL_MD5",
         * ignoring the "TLS_" or "SSL_" prefix which is not consistent across platforms. In particular
         * some IBM JVMs use the "SSL_" prefix everywhere whereas Oracle JVMs mix "TLS_" and "SSL_".
         */
        internal val ORDER_BY_NAME =
          object : Comparator<String> {
    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)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          tag = 5L,
          codec =
            object : BasicDerAdapter.Codec<Unit?> {
              override fun decode(reader: DerReader): Unit? = null
    
              override fun encode(
                writer: DerWriter,
                value: Unit?,
              ) {
              }
            },
        )
    
      val OBJECT_IDENTIFIER =
        BasicDerAdapter(
          name = "OBJECT IDENTIFIER",
    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)
Back to top