Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for executes (0.16 sec)

  1. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
            logger.info("Before request. Number of temp files: " + before);
            req.execute(res -> {
                logger.info("Processing request. Number of temp files: " + countTmpFiles());
            }, e -> {});
            long after = countTmpFiles();
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlTest.java

    import org.junit.Test;
    
    public class CurlTest {
        private static final Logger logger = Logger.getLogger(CurlTest.class.getName());
    
        @Test
        public void test_Get() {
            Curl.get("https://www.codelibs.org/").execute(response -> {
                final String content = response.getContentAsString();
                logger.info(content);
                assertTrue(content.length() > 0);
            }, e -> {
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  3. LICENSE

          this License, without any additional terms or conditions.
          Notwithstanding the above, nothing herein shall supersede or modify
          the terms of any separate license agreement you may have executed
          with Licensor regarding such Contributions.
    
       6. Trademarks. This License does not grant permission to use the trade
          names, trademarks, service marks, or product names of the Licensor,
    Plain Text
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Thu Jun 14 07:45:22 GMT 2018
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

                } finally {
                    if (connection != null) {
                        connection.disconnect();
                    }
                }
            };
            if (threadPool != null) {
                threadPool.execute(task);
            } else {
                task.run();
            }
        }
    
        protected HttpURLConnection open(final URL u) throws IOException {
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top