Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 840 for executes (0.04 sec)

  1. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

        client = new OkHttpClient.Builder().build();
      }
    
      public void makeCall(HttpUrl url) throws IOException {
        try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) {
          System.out.println(response.body().string());
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/BouncyCastleTest.kt

        platform.assumeBouncyCastle()
      }
    
      @Test
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java

        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println("Response completed: " + response);
        }
      }
    
      public static void main(String... args) throws Exception {
        new ConfigureTimeouts().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Sep 28 18:00:26 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          Headers responseHeaders = response.headers();
          for (int i = 0; i < responseHeaders.size(); i++) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/bin/mvnenc.cmd

    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    @REM -----------------------------------------------------------------------------
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            }
        }
    
        public void test_exceptionThrownWithCause() {
            // Test that the exception with cause can be thrown and caught properly
            String expectedMessage = "Command failed to execute";
            Throwable expectedCause = new IllegalStateException("Invalid command state");
    
            try {
                throw new CommandExecutionException(expectedMessage, expectedCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. docs/resiliency/resiliency-initial-script.sh

    #!/usr/bin/env bash
    # This script will run inside ubuntu-pod that is located at default namespace in the cluster
    # This script will not and should not be executed in the self hosted runner
    
    echo "script failed" >resiliency-initial.log # assume initial state
    
    echo "sleep to wait for MinIO Server to be ready prior mc commands"
    # https://github.com/minio/mc/issues/3599
    
    MINIO_SERVER_URL="http://127.0.0.1:9000"
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. docs/es/docs/deployment/concepts.md

    ### Programa Separado
    
    Para lograr esto, normalmente tendrás un **programa separado** que se asegurará de que tu aplicación se ejecute al iniciarse. Y en muchos casos, también se asegurará de que otros componentes o aplicaciones se ejecuten, por ejemplo, una base de datos.
    
    ### Herramientas de Ejemplo para Ejecutar al Iniciar
    
    Algunos ejemplos de las herramientas que pueden hacer este trabajo son:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/packaging/common/scripts/postrm

    ${packaging.scripts.header}
    
    #
    # This script is executed in the post-removal phase
    #
    #   On Debian,
    #       $1=remove    : indicates a removal
    #       $1=purge     : indicates an upgrade
    #
    #   On RedHat,
    #       $1=0         : indicates a removal
    #       $1=1         : indicates an upgrade
    
    
    
    SOURCE_ENV_FILE=true
    REMOVE_DIRS=false
    REMOVE_SERVICE=false
    REMOVE_USER_AND_GROUP=false
    
    case "$1" in
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println("Server: ${response.header("Server")}")
          println("Date: ${response.header("Date")}")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top