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>tempFilesprivate java.io.Filetmpdir
-
Constructor Summary
Constructors Modifier Constructor Description privateExampleManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()NanoHTTPD.TempFilecreateTempFile(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:
clearin interfaceNanoHTTPD.TempFileManager
-
createTempFile
public NanoHTTPD.TempFile createTempFile(java.lang.String filename_hint) throws java.lang.Exception
- Specified by:
createTempFilein interfaceNanoHTTPD.TempFileManager- Throws:
java.lang.Exception
-
-