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 |
---|
NanoHTTPD.DefaultTempFileManager() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
NanoHTTPD.TempFile |
createTempFile(String filename_hint) |
public void clear()
clear
in interface NanoHTTPD.TempFileManager
public NanoHTTPD.TempFile createTempFile(String filename_hint) throws Exception
createTempFile
in interface NanoHTTPD.TempFileManager
Exception
Copyright © 2012–2016 nanohttpd. All rights reserved.