Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for cjson (0.15 sec)

  1. mockwebserver/README.md

    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ```java
    MockResponse response = new MockResponse()
        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
        .setBody("{}");
    ```
    
    MockResponse can be used to simulate a slow network. This is useful for
    testing timeouts and interactive testing.
    
    ```java
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  2. gradle/libs.versions.toml

    kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinx-serialization" }
    kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
    mockserver = { module = "org.testcontainers:mockserver", version.ref = "testcontainers" }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. fuzzing/fuzzingserver-config.json

    Jesse Wilson <******@****.***> 1553565692 -0500
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 438 bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

      private val client = OkHttpClient()
      private val fileSystem = FakeFileSystem()
      val path = "test.json".toPath()
    
      fun run() {
        fileSystem.write(path) {
          writeUtf8("{}")
        }
    
        val request =
          Request.Builder()
            .url("https://httpbin.org/anything")
            .put(path.asRequestBody(fileSystem, MEDIA_TYPE_JSON))
            .build()
    
        client.newCall(request).execute().use { response ->
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

       *
       * https://console.developers.google.com/project
       */
      public static final String GOOGLE_API_KEY = "AIzaSyAx2WZYe0My0i-uGurpvraYJxO7XNbwiGs";
      public static final MediaType MEDIA_TYPE_JSON = MediaType.get("application/json");
    
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new GzipRequestInterceptor())
          .build();
      private final Moshi moshi = new Moshi.Builder().build();
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 3.8K bytes
    - Viewed (0)
  7. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

      private static final String ENDPOINT = "https://api.github.com/repos/square/okhttp/contributors";
      private static final Moshi MOSHI = new Moshi.Builder().build();
      private static final JsonAdapter<List<Contributor>> CONTRIBUTORS_JSON_ADAPTER = MOSHI.adapter(
          Types.newParameterizedType(List.class, Contributor.class));
    
      static class Contributor {
        String login;
        int contributions;
      }
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. okhttp/build.gradle.kts

      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlinx.serialization.core)
      testImplementation(libs.kotlinx.serialization.json)
      testImplementation(projects.okhttpJavaNetCookiejar)
      testImplementation(projects.okhttpTls)
      testImplementation(projects.okhttpUrlconnection)
      testImplementation(projects.mockwebserver3)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. .github/renovate.json

    {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": [
        "config:base",
        ":dependencyDashboard",
        "schedule:weekly"
      ],
      "labels": ["renovate"],
      "ignoreDeps": [
        "com.squareup.okhttp3:okhttp",
        "com.squareup.okhttp3:okhttp-tls",
        "com.squareup.okhttp3:mockwebserver"
      ],
      "packageRules": [
        {
          "matchPackageNames": ["org.objenesis:objenesis"],
          "allowedVersions": "<=2.6"
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 18 14:22:17 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. .devcontainer/devcontainer.json

    Yuri Schimke <******@****.***> 1713104645 +0100
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 429 bytes
    - Viewed (0)
Back to top