Package com.atlassian.jira.io
Interface SessionTempFile
- All Superinterfaces:
Serializable
Wrapper for a temporary file that is bound to the HTTP session.
- Since:
- 6.0.8
-
Method Summary
-
Method Details
-
getFile
Returns the underlying File object.- Returns:
- a File
- Since:
- 6.0.8
-
unbind
void unbind()Unbinds this SessionTempFile from the current session. The underlying file will no longer be deleted when the session is destroyed.Note that this does not delete the underlying File
- Since:
- 6.0.8
-
delete
boolean delete()Deletes the underlying File and unbinds this SessionTempFile from the current session.- Returns:
- true if the underlying file has been deleted
- Since:
- 6.0.8
-