- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ContentCache (0.05 sec)
-
src/main/java/org/codelibs/curl/io/ContentCache.java
import java.util.logging.Logger; public class ContentCache implements Closeable { protected static final Logger logger = Logger.getLogger(ContentCache.class.getName()); private final byte[] data; private final File file; public ContentCache(final byte[] data) { this.data = data; this.file = null; } public ContentCache(final File file) { this.data = null;
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
import java.util.List; import java.util.Locale; import java.util.Map; import java.util.function.Function; import org.codelibs.curl.io.ContentCache; public class CurlResponse implements Closeable { private int httpStatusCode; private ContentCache contentCache; private String encoding; private Exception contentException; private Map<String, List<String>> headers; @Override
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} dfos.flush(); final ContentCache contentCache; logger.fine(() -> "Response in " + (dfos.isInMemory() ? "Memory" : "File")); if (dfos.isInMemory()) { contentCache = new ContentCache(dfos.getData()); } else { contentCache = new ContentCache(dfos.getFile()); }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0)