Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 939 for Executes (0.07 seconds)

  1. 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();
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Sep 28 18:00:26 GMT 2019
    - 1.5K bytes
    - Click Count (0)
  2. 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++) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.5K bytes
    - Click Count (0)
  3. 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)
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt

     */
    package okhttp3
    
    import kotlin.reflect.KClass
    import okio.Timeout
    
    open class FailingCall : Call {
      override fun request(): Request = error("unexpected")
    
      override fun execute(): Response = error("unexpected")
    
      override fun enqueue(responseCallback: Callback): Unit = error("unexpected")
    
      override fun cancel(): Unit = error("unexpected")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/MatchAllQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return MatchAllDocsQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (logger.isDebugEnabled()) {
                logger.debug("MatchAllQuery: query={}, boost={}", query, boost);
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println("Server: " + response.header("Server"));
          System.out.println("Date: " + response.header("Date"));
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java

         * @param session           current session
         * @param mojoExecutionRunner mojo execution task which must be invoked by a strategy to actually run it
         * @throws LifecycleExecutionException
         */
        void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoExecutionRunner)
                throws LifecycleExecutionException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. .github/workflows/stale-pr.yml

    name: 'Close stale PRs'
    on:
      schedule:
        # Execute every hour at xx:05 to avoid conflicts with other workflows
        - cron: '5 * * * *'
    
    permissions: {}
    
    jobs:
      stale:
        permissions:
          pull-requests: write
    
        runs-on: ubuntu-latest
        steps:
          - uses: actions/stale@v10
            with:
              operations-per-run: 50
              ascending: true
              exempt-all-milestones: true
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 04 22:13:29 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/mdo/extension.mdo

        stem from Plexus Classworlds originally.
        <p><i>Notice:</i> this documentation is generated from a Modello model but the code executed is not generated
        from this descriptor. Please report if you find anything wrong.</p>
      ]]></description>
      <defaults>
        <default>
          <key>package</key>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     *
     * <p>Common packaging types include {@code jar}, {@code war}, {@code pom}, {@code maven-plugin}, {@code ear}, and others.
     * These types influence various aspects of the build lifecycle, such as which plugins are executed and how dependencies are managed.</p>
     *
     * <p>The {@code Packaging} class is an immutable value object, ensuring that once a packaging type is defined, it cannot be changed.</p>
     *
     * <h2>Standard Packaging Types</h2>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top