Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 222 for execute (0.17 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

          .build()
    
      @After
      fun tearDown() {
        engine.shutdown()
        cacheDir.deleteRecursively()
      }
    
      @Test
      fun get() {
        val executor = Executors.newCachedThreadPool()
    
        val completableFuture = execute(engine, executor, "https://google.com/robots.txt")
    
        try {
          val response = completableFuture.get(10, TimeUnit.SECONDS)
    
          assertEquals(200, response.code)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            MavenExecutionRequest request =
                    createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate"));
    
            MavenExecutionResult result = maven.execute(request);
    
            Class<?> wsrClass = wsrClassCatcher.wsrClassRef.get();
            assertNotNull(wsrClass, "wsr cannot be null");
            assertTrue(MavenWorkspaceReader.class.isAssignableFrom(wsrClass), String.valueOf(wsrClass));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/remote-repo/org/apache/maven/plugins/maven-deploy-plugin/0.1/maven-deploy-plugin-0.1.jar

    once-per-session org.apache.maven maven-plugin-api jar 2.0 org/apache/maven/plugin/coreit/ItMojo.class package org.apache.maven.plugin.coreit; public synchronized class ItMojo extends org.apache.maven.plugin.AbstractMojo { public void ItMojo(); public void execute(); } pom.xml 4.0.0 org.apache.maven.plugins maven-deploy-plugin 0.1 maven-plugin Maven Integration Test Plugin A test plugin to assist testing of Maven core. 2009 maven-core-it file:///${basedir}/repo true true org.apache.maven maven-plugin-api 2.0...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

            MojoWrapper(org.apache.maven.api.plugin.Mojo mojoV4) {
                this.mojoV4 = mojoV4;
            }
    
            @Override
            public void execute() throws MojoExecutionException, MojoFailureException {
                try {
                    mojoV4.execute();
                } catch (MojoException e) {
                    throw new MojoExecutionException(e.getMessage(), e);
                }
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/events.md

    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**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SocksProxy.kt

     */
    class SocksProxy {
      private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
      private var serverSocket: ServerSocket? = null
      private val connectionCount = AtomicInteger()
      private val openSockets = Collections.newSetFromMap(ConcurrentHashMap<Socket, Boolean>())
    
      fun play() {
        serverSocket = ServerSocket(0)
        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

            )
            .respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
              executor.submit {
                val response =
                  client.newCall(Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl())).execute()
    
                val body = response.body.string()
                assertThat(body).contains("Peter the person")
              }
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        // ===================================================================================
        //                                                                      Search Execute
        //                                                                      ==============
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asIndexHtml();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/guide/GetExample.java

      String run(String url) throws IOException {
        Request request = new Request.Builder()
            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/settings.md

            code ->> function: say_hi(name="Rick")
            function ->> execute: führe Code der Funktion aus
            execute ->> code: gib das Resultat zurück
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: führe Code der Funktion aus
            execute ->> code: gib das Resultat zurück
        end
    
        rect rgba(0, 255, 255, .1)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
Back to top