Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 740 for Executes (0.13 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

        }, 1, TimeUnit.SECONDS)
    
        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f)
        try {
          call.execute().use { response ->
            System.out.printf(
              "%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f,
              response,
            )
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. docs/features/interceptors.md

        .build();
    
    Request request = new Request.Builder()
        .url("http://www.publicobject.com/helloworld.txt")
        .header("User-Agent", "OkHttp Example")
        .build();
    
    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java

            super("synonym.*\\.txt");
        }
    
        /**
         * Registers this creator with the dictionary manager upon initialization.
         * This method is annotated with {@link PostConstruct} to be executed after
         * dependency injection is complete.
         */
        @PostConstruct
        public void register() {
            if (logger.isInfoEnabled()) {
                logger.info("Loaded {}", this.getClass().getSimpleName());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        Map<String, String> systemProperties();
    
        /**
         * Returns the top-level directory of the Maven invocation.
         * This is typically the directory containing the POM file being executed.
         *
         * @return the top-level directory path
         */
        @Nonnull
        Path topDirectory();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. 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());
        }
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        public Integer crudMode;
    
        /**
         * The search term that triggers the key match.
         */
        @Required
        @Size(max = 100)
        public String term;
    
        /**
         * The query to execute when the term matches.
         */
        @Required
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String query;
    
        /**
         * The maximum number of results to return.
         */
        @Required
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

              .build()
    
          val response =
            client
              .newCall(
                Request("http://mockserver:1080/person?name=peter".toHttpUrl()),
              ).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      companion object {
        val SOCKS5_PROXY: DockerImageName =
          DockerImageName
            .parse("serjs/go-socks5-proxy")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        Throwable exception = null;
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 01 13:14:50 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        Throwable exception = null;
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = new ArrayList<>(stack);
          stack.clear();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 01 13:14:50 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        }
    
        private void scheduleRecovery(ChannelInfo channel, FailoverState state) {
            state.incrementRetry();
    
            // For test purposes, execute recovery immediately without delay
            // In production, this might use the delay from getNextRetryTime()
            executor.submit(() -> attemptRecovery(channel, state));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top