Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for cookiejar (0.25 sec)

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

        val hostnameVerifier = RecordingHostnameVerifier()
        val cookieJar: CookieJar = JavaNetCookieJar(CookieManager())
        val connectionPool = ConnectionPool()
        client =
          OkHttpClient.Builder()
            .cache(cache)
            .connectionPool(connectionPool)
            .cookieJar(cookieJar)
            .sslSocketFactory(clientSocketFactory, handshakeCertificates.trustManager)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

     * **MultipartBody.Part**: body, headers
     * **MultipartBody.**: boundary, parts, size, type
     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
       eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
       networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response2.body.string()).isEqualTo("A")
      }
    
      @Test
      fun cachePlusCookies() {
        val cookieJar = RecordingCookieJar()
        client =
          client.newBuilder()
            .cookieJar(cookieJar)
            .build()
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Set-Cookie: a=FIRST")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            throw ProtocolException(e.message)
          }
    
          if (bytesRemainingInChunk == 0L) {
            hasMoreChunks = false
            trailers = headersReader.readHeaders()
            client!!.cookieJar.receiveHeaders(url, trailers!!)
            responseBodyComplete()
          }
        }
    
        override fun close() {
          if (closed) return
          if (hasMoreChunks &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        val interceptors = mutableListOf<Interceptor>()
        interceptors += client.interceptors
        interceptors += RetryAndFollowUpInterceptor(client)
        interceptors += BridgeInterceptor(client.cookieJar)
        interceptors += CacheInterceptor(client.cache)
        interceptors += ConnectInterceptor
        if (!forWebSocket) {
          interceptors += client.networkInterceptors
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/ConnectionSpec;->hashCode()I
    HSPLokhttp3/ConnectionSpec;->tlsVersions()Ljava/util/List;
    HSPLokhttp3/CookieJar$Companion$NoCookies;-><init>()V
    HSPLokhttp3/CookieJar$Companion$NoCookies;->loadForRequest(Lokhttp3/HttpUrl;)Ljava/util/List;
    HSPLokhttp3/CookieJar;-><clinit>()V
    HSPLokhttp3/Dispatcher;-><init>()V
    HSPLokhttp3/Dispatcher;->finished$okhttp(Lokhttp3/internal/connection/RealCall$AsyncCall;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  7. CHANGELOG.md

        artifacts defined classes in the `okhttp3` package, but this is forbidden by the Java module
        system. We've fixed this with a new package (`okhttp3.java.net.cookiejar`) and a new artifact,
        `com.squareup.okhttp3:okhttp-java-net-cookiehandler`. (The original artifact now delegates to
        this new one.)
    
        ```kotlin
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        implementation. This is useful in sandboxed environments like Google App
        Engine.
    
     *  **OkHttp now does cookies.** We've replaced `java.net.CookieHandler` with
        a new interface, `CookieJar` and added our own `Cookie` model class. This
        new cookie follows the latest RFC and supports the same cookie attributes
        as modern web browsers.
    
    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)
  9. okhttp/src/test/java/okhttp3/CookieTest.kt

          val cookieA = parseCookie(0, url, stringA!!)
          for (stringB in cookieStrings) {
            val cookieB = parseCookie(0, url, stringB!!)
            if (stringA == stringB) {
              assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode())
              assertThat(cookieB).isEqualTo(cookieA)
            } else {
              assertThat(cookieB.hashCode()).isNotEqualTo(cookieA.hashCode().toLong())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg net/http/cookiejar, func New(*Options) (*Jar, error)
    pkg net/http/cookiejar, method (*Jar) Cookies(*url.URL) []*http.Cookie
    pkg net/http/cookiejar, method (*Jar) SetCookies(*url.URL, []*http.Cookie)
    pkg net/http/cookiejar, type Jar struct
    pkg net/http/cookiejar, type Options struct
    pkg net/http/cookiejar, type Options struct, PublicSuffixList PublicSuffixList
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top