Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 645 for Execute (0.09 seconds)

  1. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    execute-api.eu-west-1.amazonaws.com
    execute-api.eu-west-2.amazonaws.com
    execute-api.eu-west-3.amazonaws.com
    execute-api.il-central-1.amazonaws.com
    execute-api.me-central-1.amazonaws.com
    execute-api.me-south-1.amazonaws.com
    execute-api.sa-east-1.amazonaws.com
    execute-api.us-east-1.amazonaws.com
    execute-api.us-east-2.amazonaws.com
    execute-api.us-gov-east-1.amazonaws.com
    execute-api.us-gov-west-1.amazonaws.com
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 129.6K bytes
    - Click Count (3)
  2. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

            .url("https://www.googleapis.com/urlshortener/v1/url?key=" + GOOGLE_API_KEY)
            .post(jsonRequestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 04 17:43:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
    
          for (Certificate c: response.handshake().peerCertificates()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
        response.body().close();
      }
    
      private static class LoggingInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          long t1 = System.nanoTime();
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jan 01 15:55:32 GMT 2016
    - 2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java

        @Inject
        public Diag(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(EncryptContext context) {
            dumpResponse(context, "", secDispatcher.validateConfiguration());
            return OK;
        }
    
        @Override
        protected int doExecute(EncryptContext context) throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/debugging.md

    ```
    
    ne sera pas exécutée.
    
    /// info
    
    Pour plus d'informations, consultez <a href="https://docs.python.org/3/library/__main__.html" class="external-link" target="_blank">la documentation officielle de Python</a>.
    
    ///
    
    ## Exécutez votre code avec votre <abbr title="En anglais: debugger">débogueur</abbr>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Oct 27 17:31:14 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

                    }
                    fail("Expected connection to be closed")
                  }
                },
              ).build(),
          )
        interruptLater(500)
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      @Test
      fun interruptReadingResponseBody() {
        val responseBodySize = 8 * 1024 * 1024 // 8 MiB.
        server.enqueue(
          MockResponse()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

                }
              },
            ).build()
    
        val request =
          Request
            .Builder()
            .url("https://www.google.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. .teamcity/scripts/configure_build_env_on_ec2.sh

      echo "##teamcity[setParameter name='env.DEVELOCITY_ACCESS_KEY' value='%ge.gradle.org.access.key.us%;%gbt-td.grdev.net.access.key%']"
      export DEVELOCITY_ACCESS_KEY="${DEVELOCITY_ACCESS_KEY_US}"
    fi
    
    # Execute pre-build script based on BUILD_TYPE_ID
    if [[ "${BUILD_TYPE_ID:-}" == Gradle_Xperimental* ]]; then
      execute_build_script_from_env "${XPERIMENTAL_EC2_PRE_BUILD_SCRIPT:-}"
    elif [[ "${BUILD_TYPE_ID:-}" == Gradle_Master* ]]; then
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 23 03:27:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     * when responses are of an unexpected type or cannot be decoded.
     *
     * Other exception types cancel the current call:
     *
     *  * For synchronous calls made with [Call.execute], the exception is propagated to the caller.
     *
     *  * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top