Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for list (0.16 sec)

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

        // TODO make exception message escape non-printable characters
      }
    
      @Test
      fun parseDoesNotTrimOtherWhitespaceCharacters() {
        // Whitespace characters list from Google's Guava team: http://goo.gl/IcR9RD
        // line tabulation
        assertThat(parse("http://h/\u000b").encodedPath).isEqualTo("/%0B")
        // information separator 4
    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

        /**
         * Removes a path segment. When this method returns the last segment is always "", which means
         * the encoded path will have a trailing '/'.
         *
         * Popping "/a/b/c/" yields "/a/b/". In this case the list of path segments goes from ["a",
         * "b", "c", ""] to ["a", "b", ""].
         *
         * Popping "/a/b/c" also yields "/a/b/". The list of path segments goes from ["a", "b", "c"]
         * to ["a", "b", ""].
    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. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * @param protocols the protocols to use, in order of preference. If the list contains
         *     [Protocol.H2_PRIOR_KNOWLEDGE] then that must be the only protocol and HTTPS URLs will not
         *     be supported. Otherwise the list must contain [Protocol.HTTP_1_1]. The list must
         *     not contain null or [Protocol.HTTP_1_0].
         */
        fun protocols(protocols: List<Protocol>) =
          apply {
    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)
  4. okhttp/api/okhttp.api

    	public static final fun get (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake;
    	public fun hashCode ()I
    	public final fun localCertificates ()Ljava/util/List;
    	public final fun localPrincipal ()Ljava/security/Principal;
    	public final fun peerCertificates ()Ljava/util/List;
    	public final fun peerPrincipal ()Ljava/security/Principal;
    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)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
      private class RespondAfterCancelDispatcher(
        private val responseDequeuedLatches: List<CountDownLatch>,
        private val requestCanceledLatches: List<CountDownLatch>,
      ) : QueueDispatcher() {
        private var responseIndex = 0
    
        @Synchronized
        override fun dispatch(request: RecordedRequest): MockResponse {
    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. docs/changelogs/changelog_3x.md

     [nginx_959]: https://trac.nginx.org/nginx/ticket/959
     [obsolete_apache_client]: https://gist.github.com/swankjesse/09721f72039e3a46cf50f94323deb82d
     [obsolete_url_factory]: https://gist.github.com/swankjesse/dd91c0a8854e1559b00f5fc9c7bfae70
     [okhttp_idling_resource]: https://github.com/JakeWharton/okhttp-idling-resource
     [public_suffix]: https://publicsuffix.org/
    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)
  7. okhttp/src/test/java/okhttp3/EventListenerTest.kt

              .url(server.url("/"))
              .build(),
          )
        val response2 = call2.execute()
        assertThat(response2.code).isEqualTo(200)
        response2.body.close()
        val recordedEvents: List<String> = listener.recordedEventTypes()
        assertThat(recordedEvents).doesNotContain("DnsStart")
        assertThat(recordedEvents).doesNotContain("DnsEnd")
      }
    
      @Test
      fun multipleDnsLookupsForSingleCall() {
    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)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

            |
            """.trimMargin(),
          )
          for (line in bodyLines) {
            writeUtf8(line)
            writeUtf8("\n")
          }
        }
      }
    
      private fun readJournalLines(): List<String> {
        val result = mutableListOf<String>()
        filesystem.read(journalFile) {
          while (true) {
            val line = readUtf8Line() ?: break
            result.add(line)
          }
        }
    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)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

              streamId: Int,
              requestHeaders: List<Header>,
            ) = false
    
            override fun onHeaders(
              streamId: Int,
              responseHeaders: List<Header>,
              last: Boolean,
            ) = false
    
            override fun onData(
              streamId: Int,
              source: BufferedSource,
              byteCount: Int,
              last: Boolean,
            ): Boolean {
    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