Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for forbid (0.28 sec)

  1. android/guava/src/com/google/common/hash/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            HTTP_BAD_METHOD,
            HTTP_GONE,
            HTTP_REQ_TOO_LONG,
            HTTP_NOT_IMPLEMENTED,
            HTTP_PERM_REDIRECT,
            -> {
              // These codes can be cached unless headers forbid it.
            }
    
            HTTP_MOVED_TEMP,
            HTTP_TEMP_REDIRECT,
            -> {
              // These codes can only be cached with the right response headers.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

         * Apply inbound settings and send an acknowledgement to the peer that provided them.
         *
         * We need to apply the settings and ack them atomically. This is because some HTTP/2
         * implementations (nghttp2) forbid peers from taking advantage of settings before they have
         * acknowledged! In particular, we shouldn't send frames that assume a new `initialWindowSize`
         * until we send the frame that acknowledges this new size.
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        write fails, leaving the connection in an inconsistent state.
     *  Fix: Make sure the default user agent is ASCII.
    
    
    ## Version 2.4.0
    
    _2015-05-22_
    
     *  **Forbid response bodies on HTTP 204 and 205 responses.** Webservers that
        return such malformed responses will now trigger a `ProtocolException` in
        the client.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          apply {
            // Create a private copy of the list.
            val protocolsCopy = protocols.toMutableList()
    
            // Validate that the list has everything we require and nothing we forbid.
            require(Protocol.H2_PRIOR_KNOWLEDGE in protocolsCopy || HTTP_1_1 in protocolsCopy) {
              "protocols must contain h2_prior_knowledge or http/1.1: $protocolsCopy"
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        HTTP/2 server, close all but the first connection.
     *  Fix: Fail the HTTP/2 connection if first frame isn't `SETTINGS`.
     *  Fix: Forbid spaces in header names.
     *  Fix: Don't offer to do gzip if the request is partial.
     *  Fix: MockWebServer is now usable with JUnit 5. That update [broke the rules][junit_5_rules].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        )
        executeSynchronously(Request(server.url("/")))
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      /** We forbid non-ASCII characters in outgoing request headers, but accept UTF-8.  */
      @Test
      fun responseHeaderParsingIsLenient() {
        val headersBuilder = Headers.Builder()
        headersBuilder.add("Content-Length", "0")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            builder.addHeader("WWW-Authenticate: Basic realm=\"protected area\"")
          }
    
          HttpURLConnection.HTTP_NO_CONTENT, HttpURLConnection.HTTP_RESET -> {
            builder.body("") // We forbid bodies for 204 and 205.
          }
        }
        server.enqueue(builder.build())
        if (responseCode == HttpURLConnection.HTTP_CLIENT_TIMEOUT) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top