Package fi.iki.elonen

Class NanoHTTPD.DefaultTempFileManager

  • All Implemented Interfaces:
    NanoHTTPD.TempFileManager
    Enclosing class:
    NanoHTTPD

    public static class NanoHTTPD.DefaultTempFileManager
    extends java.lang.Object
    implements NanoHTTPD.TempFileManager
    Default strategy for creating and cleaning up temporary files.

    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).