Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 977 for execute (0.64 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

            }
            return connection;
        }
    
        /**
         * Executes the request and processes the response.
         *
         * @param actionListener the action listener for handling the response
         * @param exceptionListener the exception listener for handling exceptions
         */
        public void execute(final Consumer<CurlResponse> actionListener, final Consumer<Exception> exceptionListener) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt

      sendRequest("https://www.instagram.com/robots.txt", client)
    }
    
    private fun sendRequest(
      url: String,
      client: OkHttpClient,
    ) {
      val req = Request.Builder().url(url).build()
    
      client.newCall(req).execute().use {
        println(url)
        println("""Content-Encoding: ${it.networkResponse?.header("Content-Encoding")}""")
        println("| ${it.body.string().replace("\n", "\n| ")}")
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

        public AggregateLogJob() {
            // Default constructor
        }
    
        /**
         * Executes the search log aggregation job.
         * Stores search logs using the SearchLogHelper and returns execution results.
         *
         * @return execution result message, empty if successful or error message if failed
         */
        public String execute() {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

            .build();
        Request request = new Request.Builder()
            .url(url)
            .build();
        Call call = httpClient.newCall(request);
        try (Response response = call.execute()) {
          JsonAdapter<OAuthSession> jsonAdapter = moshi.adapter(OAuthSession.class);
          return jsonAdapter.fromJson(response.body().source());
        }
      }
    
      /** See https://api.slack.com/methods/rtm.start. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .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: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultMojosExecutionStrategy.java

     */
    @Named
    @Singleton
    public class DefaultMojosExecutionStrategy implements MojosExecutionStrategy {
        @Override
        public void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner)
                throws LifecycleExecutionException {
            for (MojoExecution mojoExecution : mojos) {
                mojoRunner.run(mojoExecution);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              public String get(long time, TimeUnit unit) {
                throw new CancellationException(); // BAD!!
              }
    
              @Override
              public void addListener(Runnable runnable, Executor executor) {
                executor.execute(runnable);
              }
            };
        future.setFuture(badFuture);
        ExecutionException expected = getExpectingExecutionException(future);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Extended security negotiation flag */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        /** Resolve paths in DFS flag */
        int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
        /** Permit read if execute permission flag */
        int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000;
        /** 32-bit status codes flag */
        int FLAGS2_STATUS32 = 0x4000;
        /** Unicode strings flag */
        int FLAGS2_UNICODE = 0x8000;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

        }
    
        @Override
        public int execute(EncryptContext context) throws Exception {
            if (!validateConfiguration(context)) {
                context.logger.error(messageBuilderFactory
                        .builder()
                        .error("Maven Encryption is not configured, run `mvnenc init` first.")
                        .build());
                return ERROR;
            }
            return doExecute(context);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top