Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for around (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

     * from this file as necessary.
     *
     * This class also keeps a small buffer of bytes recently read from upstream. This is intended to
     * save a small amount of file I/O and data copying.
     */
    class Relay private constructor(
      /**
       * Read/write persistence of the upstream source and its metadata. Its layout is as follows:
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. CHANGELOG.md

    _2022-06-26_
    
     *  Fix: Configure the multiplatform artifact (`com.squareup.okhttp3:okhttp:3.x.x`) to depend on the
        JVM artifact (`com.squareup.okhttp3:okhttp-jvm:3.x.x`) for Maven builds. This should work-around
        an issue where Maven doesn't interpret Gradle metadata.
     *  Fix: Make another attempt at supporting Kotlin 1.5.31 at runtime. We were crashing on
        `DurationUnit` which was a typealias in 1.5.x.
    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. gradlew

                  *)    false ;;
                esac
            then
                arg=$( cygpath --path --ignore --mixed "$arg" )
            fi
            # Roll the args list around exactly as many times as the number of
            # args, so each arg winds up back in the position where it started, but
            # possibly modified.
            #
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

        Nullability was previously ambiguous and lenient but now the compiler will
        enforce strict null checks.
    
     *  New: The response message is now non-null. This is the "Not Found" in the
        status line "HTTP 404 Not Found". If you are building responses
        programmatically (with `new Response.Builder()`) you must now always supply
        a message. An empty string `""` is permitted. This value was never null on
    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)
  5. docs/changelogs/changelog_2x.md

     *  New: APIs to create multipart request bodies (`MultipartBuilder`) and form
        encoding bodies (`FormEncodingBuilder`).
    
    ## Version 2.0.0-RC1
    
    _2014-05-23_
    
    OkHttp 2 is designed around a new API that is true to HTTP, with classes for
    requests, responses, headers, and calls. It uses modern Java patterns like
    immutability and chained builders. The API now offers asynchronous callbacks
    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)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * /static/images/../../../../../etc/passwd
     * /etc/passwd
     * ```
     *
     * ### If it works on the web, it should work in your application
     *
     * The `java.net.URI` class is strict around what URLs it accepts. It rejects URLs like
     * `http://example.com/abc|def` because the `|` character is unsupported. This class is more
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     * from being scheduled.
     *
     * Tasks may opt-out of cancellation with `cancelable = false`. Such tasks will recur until they
     * decide not to by returning -1L.
     *
     * Task Queues
     * -----------
     *
     * Tasks are bound to the [TaskQueue] they are scheduled in. Each queue is sequential and the tasks
     * within it never execute concurrently. It is an error to use a task in multiple queues.
     */
    abstract class Task(
      val name: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/contribute/concurrency.md

    ## Connection Pool
    
    A primary responsibility for any HTTP client is to efficiently manage network connections. Creating and establishing new connections require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          )
    
        assertFailsWith<EOFException> {
          parts.nextPart()
        }
      }
    
      /** Confirm that [MultipartBody] and [MultipartReader] can work together. */
      @Test fun `multipart round trip`() {
        val body =
          MultipartBody.Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

        headerValue = headerValue,
      )
    }
    
    /**
     * Returns the next index in this at or after [startIndex] that is a character from
     * [characters]. Returns the input length if none of the requested characters can be found.
     */
    private fun String.indexOfElement(
      characters: String,
      startIndex: Int = 0,
    ): Int {
      for (i in startIndex until length) {
        if (this[i] in characters) {
          return i
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top