Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for No (0.18 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      /**
       * https://tools.ietf.org/html/rfc3986#section-5.4.1
       */
      @Test
      fun rfc3886NormalExamples() {
        val url = parse("http://a/b/c/d;p?q")
        // No 'g:' scheme in HttpUrl.
        assertThat(url.resolve("g:h")).isNull()
        assertThat(url.resolve("g")).isEqualTo(parse("http://a/b/c/g"))
        assertThat(url.resolve("./g")).isEqualTo(parse("http://a/b/c/g"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

      /**
       * Alternating, decoded query names and values, or null for no query. Names may be empty or
       * non-empty, but never null. Values are null if the name has no corresponding '=' separator, or
       * empty, or non-empty.
       */
      private val queryNamesAndValues: List<String?>?,
      /**
       * This URL's fragment, like `"abc"` for `http://host/#abc`. This is null if the URL has no
       * fragment.
       *
    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)
  3. docs/changelogs/changelog_3x.md

        The `okhttp-ws` submodule is no longer available and `okhttp-ws` artifacts from previous
        releases of OkHttp are not compatible with OkHttp 3.5. When upgrading to the new package
        please note that the `WebSocket` and `WebSocketCall` classes have been merged. Sending messages
        is now asynchronous and they may be enqueued before the web socket is connected.
    
    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)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to
         * outgoing HTTP requests.
         *
         * If unset, [no cookies][CookieJar.NO_COOKIES] will be accepted nor provided.
         */
        fun cookieJar(cookieJar: CookieJar) =
          apply {
            this.cookieJar = cookieJar
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      fun recoverFromCancelReusesConnection(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val responseDequeuedLatches =
          listOf(
            // No synchronization for the last request, which is not canceled:
            CountDownLatch(1),
            CountDownLatch(0),
          )
        val requestCanceledLatches =
          listOf(
            CountDownLatch(1),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        timeToFirstByte()
      }
    
      /**
       * Test to confirm that events are reported at the time they occur and no earlier and no later.
       * This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that
       * the same delays make it back into the events.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        cache.close()
        writeFile(getCleanFile("k1", 0), "A")
        writeFile(getCleanFile("k1", 1), "B")
        filesystem.write(journalFile) {
          writeUtf8(
            // No trailing newline.
            """
            |${DiskLruCache.MAGIC}
            |${DiskLruCache.VERSION_1}
            |100
            |2
            |
            |CLEAN k1 1 1
            """.trimMargin(),
          )
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    }
    
    public abstract interface class okhttp3/CookieJar {
    	public static final field Companion Lokhttp3/CookieJar$Companion;
    	public static final field NO_COOKIES Lokhttp3/CookieJar;
    	public abstract fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List;
    	public abstract fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // PING
        peer.sendFrame().headers(false, 3, headerEntries("a", "android"))
        peer.sendFrame().data(true, 3, Buffer().writeUtf8("robot"), 5)
        peer.sendFrame().rstStream(3, ErrorCode.NO_ERROR)
        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0) // PONG
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        val stream = connection.newStream(headerEntries(), false)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top