Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Dost (0.31 sec)

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

            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
            CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy");
            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
            logger.info("Before request. Number of temp files: " + before);
    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/main/java/org/codelibs/curl/Curl.java

            // nothing
        }
    
        public static CurlRequest get(final String url) {
            return new CurlRequest(Method.GET, url);
        }
    
        public static CurlRequest post(final String url) {
            return new CurlRequest(Method.POST, url);
        }
    
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
        public static CurlRequest delete(final String url) {
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.7K bytes
    - Viewed (0)
Back to top