Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for name (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

          origin: String,
          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        )
      }
    
      companion object {
        val logger: Logger = Logger.getLogger(Http2::class.java.name)
    
        @Throws(IOException::class)
        fun lengthWithoutPadding(
          length: Int,
          flags: Int,
          padding: Int,
        ): Int {
          var result = length
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. CHANGELOG.md

    _2021-01-30_
    
    **In this release MockWebServer has a new Maven coordinate and package name.** A longstanding
    problem with MockWebServer has been its API dependency on JUnit 4. We've reorganized things to
    remove that dependency while preserving backwards compatibility.
    
    | Maven Coordinate                                         | Package Name          | Description                       |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        requestLine: String,
      ) {
        check(state == STATE_IDLE) { "state: $state" }
        sink.writeUtf8(requestLine).writeUtf8("\r\n")
        for (i in 0 until headers.size) {
          sink.writeUtf8(headers.name(i))
            .writeUtf8(": ")
            .writeUtf8(headers.value(i))
            .writeUtf8("\r\n")
        }
        sink.writeUtf8("\r\n")
        state = STATE_OPEN_REQUEST_BODY
      }
    
    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)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val date: Date? = headers.getDate("")
        val instant: Instant? = headers.getInstant("")
        val size: Int = headers.size
        val name: String = headers.name(0)
        val value: String = headers.value(0)
        val names: Set<String> = headers.names()
        val values: List<String> = headers.values("")
        val byteCount: Long = headers.byteCount()
        val builder: Headers.Builder = headers.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              throw SSLPeerUnverifiedException(
                """
                |Hostname ${address.url.host} not verified:
                |    certificate: ${CertificatePinner.pin(cert)}
                |    DN: ${cert.subjectDN.name}
                |    subjectAltNames: ${OkHostnameVerifier.allSubjectAltNames(cert)}
                """.trimMargin(),
              )
            } else {
              throw SSLPeerUnverifiedException(
    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)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val headers = response.headers
        val size = headers.size
        val headerList: MutableList<String> = ArrayList(size)
        for (i in 0 until size) {
          headerList.add(headers.name(i) + ": " + headers.value(i))
        }
        return headerList
      }
    
      @Test
      fun shutdownWithoutStart() {
        val server = MockWebServer()
        server.shutdown()
      }
    
      @Test
    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)
  7. docs/changelogs/changelog_2x.md

        handling in WebSockets is significantly improved.
     *  Fix: Don't use SPDY/3 style header concatenation for HTTP/2 request headers.
        This could have corrupted requests where multiple headers had the same name,
        as in cookies.
     *  Fix: Reject bad characters in the URL hostname. Previously characters like
        `\0` would cause a late crash when building the request.
     *  Fix: Allow interceptors to change the request method.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

     * This is typical for Java but atypical for HTTP/2. This is motivated by exception transparency:
     * an [IOException] that was triggered by a certain caller can be caught and handled by that caller.
     */
    @Suppress("NAME_SHADOWING")
    class Http2Connection internal constructor(builder: Builder) : Closeable {
      internal val lock: ReentrantLock = ReentrantLock()
      internal val condition: Condition = lock.newCondition()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            } catch (e: ClassNotFoundException) {
              false
            }
    
          val isCorrettoInstalled: Boolean =
            isCorrettoSupported && Security.getProviders()
              .first().name == AmazonCorrettoCryptoProvider.PROVIDER_NAME
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          var readBody = true
          for ((name, value) in streamHeaders) {
            if (name == Header.TARGET_METHOD_UTF8) {
              method = value
            } else if (name == Header.TARGET_PATH_UTF8) {
              path = value
            } else if (protocol === Protocol.HTTP_2 || protocol === Protocol.H2_PRIOR_KNOWLEDGE) {
              httpHeaders.add(name, value)
            } else {
              throw IllegalStateException()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
Back to top