Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 984 for executed (0.59 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              @Override
              public void addListener(Runnable runnable, Executor executor) {
                executor.execute(runnable);
              }
            };
        future.setFuture(badFuture);
        ExecutionException expected = getExpectingExecutionException(future);
        assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class);
        assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. 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)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(EncryptContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
                context.addInHeader(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(UpgradeContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
                context.addInHeader(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

    import java.util.HashSet;
    import java.util.Set;
    
    public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule {
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContextWithViolations context) {
            Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 09 08:16:49 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            val gson: Gson = GsonBuilder().setFormattingStyle(FormattingStyle.PRETTY.withIndent("    ")).create()
            loadChanges().mapValues {
                gson.toJson(AcceptedApiChanges(sortChanges(it.value)))
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Apr 09 14:09:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top