Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for charter (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

        onlyIfCached = onlyIfCached,
        noTransform = noTransform,
        immutable = immutable,
        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 {
    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)
  2. docs/contribute/concurrency.md

     * **RealConnection** is the socket and streams of an HTTP/1 or HTTP/2 connection. These are created on demand to fulfill HTTP requests. They may be reused for many HTTP request/response exchanges. Their lifetime is typically shorter than a connection pool.
    
     * **Exchange** carries a single HTTP request/response pair.
    
    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)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
         * HTTP/1.1 200 OK
         * 3
         * Content-Type: image/png
         * Content-Length: 100
         * Cache-Control: max-age=600
         * ```
         *
         * A typical HTTPS file looks like this:
         *
         * ```
         * https://google.com/foo
         * GET
         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
         * HTTP/1.1 200 OK
         * 3
    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)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

      override fun hashCode(): Int = commonHashCode()
    
      /**
       * Returns header names and values. The names and values are separated by `: ` and each pair is
       * followed by a newline character `\n`.
       *
       * Since OkHttp 5 this redacts these sensitive headers:
       *
       *  * `Authorization`
       *  * `Cookie`
       *  * `Proxy-Authorization`
       *  * `Set-Cookie`
       */
    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)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

    import java.io.IOException
    import java.io.InputStreamReader
    import java.net.ConnectException
    import java.net.HttpURLConnection
    import java.net.ProtocolException
    import java.net.SocketTimeoutException
    import java.nio.charset.StandardCharsets
    import java.util.Arrays
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicBoolean
    import javax.net.ssl.HttpsURLConnection
    import kotlin.test.assertFailsWith
    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)
  6. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

          source.readString(charset = source.readBomAsCharset(charset()))
        }
    
      private fun charset() = contentType().charsetOrUtf8()
    
      override fun close() = commonClose()
    
      internal class BomAwareReader(
        private val source: BufferedSource,
        private val charset: Charset,
      ) : Reader() {
        private var closed: Boolean = false
        private var delegate: Reader? = null
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

          } else if (firstIsRandalcat) {
            // 'If a string contains any RandALCat character, the string MUST NOT contain any LCat
            // character.'
            if (codePoint in lcatSet) return null
    
            // 'If a string contains any RandALCat character, a RandALCat character MUST be the last
            // character of the string.'
            if (validateBuffer.exhausted() && codePoint !in randalcatSet) return null
          } else {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      val end = indexOfLastNonAsciiWhitespace(start, endIndex)
      return substring(start, end)
    }
    
    /**
     * Returns the index of the first character in this string that contains a character in
     * [delimiters]. Returns endIndex if there is no such character.
     */
    fun String.delimiterOffset(
      delimiters: String,
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.6.txt

       FFF9; INTERLINEAR ANNOTATION ANCHOR
       FFFA; INTERLINEAR ANNOTATION SEPARATOR
       FFFB; INTERLINEAR ANNOTATION TERMINATOR
       FFFC; OBJECT REPLACEMENT CHARACTER
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 193 bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.nio.charset.StandardCharsets
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top