INNER CODE UNIT · Java

open

proninyaroslav/libretorrent · app/src/main/java/org/nanohttpd/NanoHTTPD.java:368

        public OutputStream open() throws Exception {
            return this.fstream;
        }
    }
    /**
     * Default strategy for creating and cleaning up temporary files.
     * <p/>
     * <p>
     * This class stores its files in the standard location (that is, wherever
     * <code>java.io.tmpdir</code> points to). Files are added to an internal
     * list, and deleted when no longer needed (that is, when
     * <code>clear()</code> is invoked at the end of processing a request).
     * </p>
     */
    public static class DefaultTempFileManager implements TempFileManager {
        private final File tmpdir;
        private final List<TempFile> tempFiles;
        public DefaultTempFileManager() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…