play.data.parsing
Class TempFilePlugin

java.lang.Object
  extended by play.PlayPlugin
      extended by play.data.parsing.TempFilePlugin
All Implemented Interfaces:
java.lang.Comparable<PlayPlugin>

public class TempFilePlugin
extends PlayPlugin

Creates temporary folders for file parsing, and deletes it after request completion.


Field Summary
static java.lang.ThreadLocal<java.io.File> tempFolder
           
 
Fields inherited from class play.PlayPlugin
index
 
Constructor Summary
TempFilePlugin()
           
 
Method Summary
 void afterInvocation()
          Called after an invocation.
static java.io.File createTempFolder()
           
 
Methods inherited from class play.PlayPlugin
afterActionInvocation, afterApplicationStart, beforeActionInvocation, beforeInvocation, compareTo, compileAll, detectChange, enhance, 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
 

Field Detail

tempFolder

public static java.lang.ThreadLocal<java.io.File> tempFolder
Constructor Detail

TempFilePlugin

public TempFilePlugin()
Method Detail

createTempFolder

public static java.io.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