Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,092 for Execute (0.05 seconds)

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

      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build()
    
        client.newCall(request).execute().use { response ->
          println("Response completed: $response")
        }
      }
    }
    
    fun main() {
      ConfigureTimeouts().run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                } else if (scheduledJob.isLoggingEnabled() && logger.isInfoEnabled()) {
                    logger.info("Starting job: id={}", id);
                }
    
                final Object ret = jobExecutor.execute(Constants.DEFAULT_SCRIPT, script);
                if (ret == null) {
                    if (scheduledJob.isLoggingEnabled() && logger.isInfoEnabled()) {
                        logger.info("Finished job: id={}", id);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

            .build()
        val request =
          Request(
            url = "https://en.wikipedia.org/w/index.php".toHttpUrl(),
            body = formBody,
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      PostForm().run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for ((name, value) in response.headers) {
            println("$name: $value")
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MissingProjectException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    /**
     * Signals a failure to execute a lifecycle phase or mojo because a project is required but not present.
     *
     */
    public class MissingProjectException extends Exception {
    
        /**
         * Creates a new exception.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/events.md

    # Lifespan Events { #lifespan-events }
    
    You can define logic (code) that should be executed before the application **starts up**. This means that this code will be executed **once**, **before** the application **starts receiving requests**.
    
    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalBwcGitPluginFuncTest.groovy

                     bwcBranch = project.provider { "7.x" }
                     checkoutDir = project.provider{file("build/checkout")}
                }
            """
            execute("git branch origin/7.x", file("cloned"))
        }
    
        def "current repository can be cloned"() {
            when:
            def result = gradleRunner("createClone", '--stacktrace').build()
            then:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/Goal.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup;
    
    /**
     * The mvnup tool goal.
     */
    public interface Goal {
        int execute(UpgradeContext context) throws Exception;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 971 bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

            },
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      Authenticate().run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top