Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for into (0.12 sec)

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

            // ## 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();
            logger.info("After close response. Number of temp files: " + after);
    
            // ## Assert ##
    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

        @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 -> {
                logger.log(Level.SEVERE, "error", e);
                fail();
            });
        }
    
        /*
        @Test
    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. src/main/java/org/codelibs/curl/CurlRequest.java

            protected CurlResponse response = new CurlResponse();
    
            private final String encoding;
    
            private int threshold;
    
            public RequestProcessor(final String encoding, final int threshold) {
                this.encoding = encoding;
                this.threshold = threshold;
            }
    
            public CurlResponse getResponse() {
    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