Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 237 for OkHttp (0.04 seconds)

  1. samples/guide/src/main/java/okhttp3/guide/GetExample.java

          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
        String response = example.run("https://raw.github.com/square/okhttp/master/README.md");
        System.out.println(response);
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. okhttp-sse/build.gradle.kts

    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.sse",
      "Bundle-SymbolicName: com.squareup.okhttp3.sse"
    )
    
    project.applyJavaModules("okhttp3.sse")
    
    dependencies {
      api(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(libs.junit)
    }
    
    mavenPublishing {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 679 bytes
    - Click Count (0)
  3. okhttp-osgi-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.okhttpBrotli)
      implementation(projects.okhttpCoroutines)
      implementation(projects.okhttpDnsoverhttps)
      implementation(projects.loggingInterceptor)
      implementation(projects.okhttpSse)
      implementation(projects.okhttpTls)
      implementation(projects.okhttpUrlconnection)
    
      testImplementation(projects.okhttpTestingSupport)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 01 08:17:18 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          queryParamsNameToRedact = newQueryParamsNameToRedact
        }
    
        /**
         * Sets the level and returns this.
         *
         * This was deprecated in OkHttp 4.0 in favor of the [level] val. In OkHttp 4.3 it is
         * un-deprecated because Java callers can't chain when assigning Kotlin vals. (The getter remains
         * deprecated).
         */
        fun setLevel(level: Level) =
          apply {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. okhttp-hpacktests/README.md

    OkHttp HPACK tests
    ==================
    
    These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK
    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 15 16:59:53 GMT 2014
    - 578 bytes
    - Click Count (0)
  6. samples/guide/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("com.google.devtools.ksp")
    }
    
    dependencies {
      "friendsImplementation"(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(projects.okhttpTestingSupport)
      implementation(projects.okhttpTls)
      implementation(libs.animalsniffer.annotations)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.okio.fakefilesystem)
      ksp(libs.squareup.moshi.compiler)
    }
    
    java {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 17 05:15:32 GMT 2025
    - 554 bytes
    - Click Count (0)
  7. okhttp/okhttp3.pro

    -dontwarn javax.annotation.**
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    # May be used with robolectric or deliberate use of Bouncy Castle on Android
    -dontwarn okhttp3.internal.platform.**
    -dontwarn org.conscrypt.**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 19 13:25:00 GMT 2025
    - 512 bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

      }
    
      /**
       * The pinner should pull the root certificate from the trust manager.
       */
      @Test
      fun pinRootNotPresentInChain() {
        // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703
        val rootCa =
          HeldCertificate
            .Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
        val intermediateCa =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 24.3K bytes
    - Click Count (2)
  9. okhttp-coroutines/build.gradle.kts

    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.coroutines",
      "Bundle-SymbolicName: com.squareup.okhttp3.coroutines"
    )
    
    project.applyJavaModules("okhttp3.coroutines")
    
    dependencies {
      api(projects.okhttp)
      implementation(libs.kotlinx.coroutines.core)
      api(libs.squareup.okio)
      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 937 bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

      @Test fun toMultimapGroupsHeaders() {
        val headers =
          Headers.headersOf(
            "cache-control",
            "no-cache",
            "cache-control",
            "no-store",
            "user-agent",
            "OkHttp",
          )
        val headerMap = headers.toMultimap()
        assertThat(headerMap["cache-control"]!!.size).isEqualTo(2)
        assertThat(headerMap["user-agent"]!!.size).isEqualTo(1)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top