Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for _values (0.18 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
      /** True if the default value should be used if this value is absent during decoding. */
      val isOptional: Boolean = false,
      /** The value to return if this value is absent. Undefined unless this is optional. */
      val defaultValue: T? = null,
      /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

      @JvmField val perMessageDeflate: Boolean = false,
      /** Should be a value in [8..15]. Only 15 is acceptable by OkHttp as Java APIs are limited. */
      @JvmField val clientMaxWindowBits: Int? = null,
      /** True if the agreed upon extension parameters includes "client_no_context_takeover". */
      @JvmField val clientNoContextTakeover: Boolean = false,
      /** Should be a value in [8..15]. Any value in that range is acceptable by OkHttp. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

          "https:${url.substring(4)}"
        }
        else -> url
      }
    }
    
    fun Request.Builder.commonHeader(
      name: String,
      value: String,
    ) = apply {
      headers[name] = value
    }
    
    fun Request.Builder.commonAddHeader(
      name: String,
      value: String,
    ) = apply {
      headers.add(name, value)
    }
    
    fun Request.Builder.commonRemoveHeader(name: String) =
      apply {
        headers.removeAll(name)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HeadersTest.kt

        val headers = headersOf("a", "b", "c", "d")
        assertFailsWith<IndexOutOfBoundsException> {
          headers.value(-1)
        }
        assertThat(headers.value(0)).isEqualTo("b")
        assertThat(headers.value(1)).isEqualTo("d")
        assertFailsWith<IndexOutOfBoundsException> {
          headers.value(2)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

          for (i in 0 until size) {
            if (!"Vary".equals(name(i), ignoreCase = true)) {
              continue
            }
    
            val value = value(i)
            if (result == null) {
              result = TreeSet(String.CASE_INSENSITIVE_ORDER)
            }
            for (varyField in value.split(',')) {
              result.add(varyField.trim())
            }
          }
          return result ?: emptySet()
        }
    
        /**
    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)
  6. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

     * limitations under the License.
     */
    
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * What should be done with the incoming socket.
     *
     * Be careful when using values like [DisconnectAtEnd], [ShutdownInputAtEnd]
     * and [ShutdownOutputAtEnd] that close a socket after a response, and where there are
     * follow-up requests. The client is unblocked and free to continue as soon as it has received the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

        // It's a token68 because there isn't a value after it.
        if (!commaPrefixed && (commaSuffixed || exhausted())) {
          result.add(
            Challenge(
              schemeName,
              Collections.singletonMap<String, String>(null, peek + "=".repeat(eqCount)),
            ),
          )
          peek = null
          continue
        }
    
        // It's a series of parameter names and values.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              listOf(
                AttributeTypeAndValue(
                  type = ORGANIZATIONAL_UNIT_NAME,
                  value = organizationalUnit,
                ),
              )
          }
    
          result +=
            listOf(
              AttributeTypeAndValue(
                type = ObjectIdentifiers.COMMON_NAME,
                value = commonName ?: UUID.randomUUID().toString(),
              ),
            )
    
          return result
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      private fun stringFill(
        fillChar: Char,
        length: Int,
      ): String {
        val value = CharArray(length)
        Arrays.fill(value, fillChar)
        return String(value)
      }
    
      @Test
      fun canceledBeforeExecute() {
        val call = client.newCall(Request.Builder().url(server.url("/a")).build())
        call.cancel()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_1x.md

     * Fix: Do not directly support any authentication schemes other than "Basic".
     * Fix: Respect read timeouts on recycled connections.
     * Fix: Transmit multiple cookie values as a single header with delimiter.
     * Fix: Ensure `null` is never returned from a connection's `getHeaderFields()`.
     * Fix: Persist proper `Content-Encoding` header to cache for GZip responses.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
Back to top