- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tmp (0.11 sec)
-
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
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); req.execute(res -> {
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) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
protected static final Logger logger = Logger.getLogger(ContentOutputStream.class.getName()); protected static final String PREFIX = "curl4j-"; protected static final String SUFFIX = ".tmp"; protected boolean done = false; public ContentOutputStream(final int threshold, final File tmpDir) { super(threshold, PREFIX, SUFFIX, tmpDir); } @Override public File getFile() {
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.9K bytes - Viewed (0)