public static class NanoHTTPD.DefaultTempFileManager extends java.lang.Object implements NanoHTTPD.TempFileManager
This class stores its files in the standard location (that is, wherever
java.io.tmpdir
points to). Files are added to an internal
list, and deleted when no longer needed (that is, when
clear()
is invoked at the end of processing a request).Constructor and Description |
---|
DefaultTempFileManager() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
NanoHTTPD.TempFile |
createTempFile() |
public NanoHTTPD.TempFile createTempFile() throws java.lang.Exception
createTempFile
in interface NanoHTTPD.TempFileManager
java.lang.Exception
public void clear()
clear
in interface NanoHTTPD.TempFileManager