public static class NanoHTTPD.DefaultTempFileManager extends 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(String filename_hint) |
public void clear()
clear in interface NanoHTTPD.TempFileManagerpublic NanoHTTPD.TempFile createTempFile(String filename_hint) throws Exception
createTempFile in interface NanoHTTPD.TempFileManagerExceptionCopyright © 2012–2020. All rights reserved.