Package fi.iki.elonen
Class TempFilesServer.ExampleManager
- java.lang.Object
-
- fi.iki.elonen.TempFilesServer.ExampleManager
-
- All Implemented Interfaces:
NanoHTTPD.TempFileManager
- Enclosing class:
- TempFilesServer
private static class TempFilesServer.ExampleManager extends java.lang.Object implements NanoHTTPD.TempFileManager
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<NanoHTTPD.TempFile>
tempFiles
private java.io.File
tmpdir
-
Constructor Summary
Constructors Modifier Constructor Description private
ExampleManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
NanoHTTPD.TempFile
createTempFile(java.lang.String filename_hint)
-
-
-
Field Detail
-
tmpdir
private final java.io.File tmpdir
-
tempFiles
private final java.util.List<NanoHTTPD.TempFile> tempFiles
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceNanoHTTPD.TempFileManager
-
createTempFile
public NanoHTTPD.TempFile createTempFile(java.lang.String filename_hint) throws java.lang.Exception
- Specified by:
createTempFile
in interfaceNanoHTTPD.TempFileManager
- Throws:
java.lang.Exception
-
-