Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for currency (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        serverListener.assertOpen()
        serverListener.assertFailure(EOFException::class.java)
        serverListener.assertExhausted()
        clientListener.assertFailure(e)
      }
    
      @Disabled("AsyncCall currently lets runtime exceptions propagate.")
      @Test
      @Throws(
        Exception::class,
      )
      fun throwingOnFailLogs() {
        webServer.enqueue(
          MockResponse.Builder()
            .code(200)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  2. docs/changelogs/changelog_3x.md

     [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
     [junit_5_rules]: https://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4-rulesupport
     [major_versions]: https://jakewharton.com/java-interoperability-policy-for-major-version-updates/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. README.md

    testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0")
    ```
    
    GraalVM Native Image
    --------------------
    
    Building your native images with Graal https://www.graalvm.org/ should work automatically.
    This is not currently in a final released version, so `5.0.0-alpha.2` should be used.
    Please report any bugs or workarounds you find.
    
    See the okcurl module for an example build.
    
    ```shell
    $ ./gradlew okcurl:nativeImage
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      val i = mappings.iterator()
      var current = i.next()
    
      while (true) {
        if (current.spansSections) {
          result +=
            Mapping(
              current.sourceCodePoint0,
              current.section + 0x7f,
              current.type,
              current.mappedTo,
            )
          current =
            Mapping(
              current.section + 0x80,
              current.sourceCodePoint1,
              current.type,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

          idleCallback.run()
        }
      }
    
      /** Returns a snapshot of the calls currently awaiting execution. */
      fun queuedCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(readyAsyncCalls.map { it.call })
        }
    
      /** Returns a snapshot of the calls currently being executed. */
      fun runningCalls(): List<Call> =
        this.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /**
     * Jetty HTTP client.
     *
     * https://www.eclipse.org/jetty/documentation/current/http-client.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class JettyHttpClientTest {
      private val client = HttpClient()
    
      @BeforeEach fun setUp() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

    import okhttp3.Address
    import okhttp3.HttpUrl
    
    /**
     * Policy on choosing which connection to use for an exchange and any retries that follow. This uses
     * the following strategies:
     *
     *  1. If the current call already has a connection that can satisfy the request it is used. Using
     *     the same connection for an initial exchange and its follow-ups may improve locality.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS
       * handshakes will be required.
       *
       * The deadline is currently hardcoded. We may make this configurable in the future!
       */
      internal fun sendDegradedPingLater() {
        this.withLock {
          if (degradedPongsReceived < degradedPingsSent) return // Already awaiting a degraded pong.
    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/src/main/kotlin/okhttp3/Cookie.kt

       * This is December 31, 9999 if the cookie is not [persistent], in which case it will expire at the
       * end of the current session.
       *
       * This may return a value less than the current time, in which case the cookie is already
       * expired. Webservers may return expired cookies as a mechanism to delete previously set cookies
       * that may or may not themselves be expired.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
Back to top