play.data.parsing
Class TempFilePlugin
java.lang.Object
play.PlayPlugin
play.data.parsing.TempFilePlugin
- All Implemented Interfaces:
- Comparable<PlayPlugin>
public class TempFilePlugin
- extends PlayPlugin
Creates temporary folders for file parsing, and deletes
it after request completion.
| Methods inherited from class play.PlayPlugin |
afterActionInvocation, afterApplicationStart, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, compareTo, compileAll, detectChange, enhance, getJsonStatus, getStatus, invocationFinally, onActionInvocationResult, onApplicationStart, onApplicationStop, onConfigurationRead, onEvent, onInvocationException, onLoad, onRoutesLoaded, postEvent, rawInvocation, routeRequest, serveStatic |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tempFolder
public static ThreadLocal<File> tempFolder
TempFilePlugin
public TempFilePlugin()
createTempFolder
public static File createTempFolder()
afterInvocation
public void afterInvocation()
- Description copied from class:
PlayPlugin
- Called after an invocation.
(unless an excetion has been thrown).
Time to close request specific things.
- Overrides:
afterInvocation in class PlayPlugin
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly