com.atlassian.confluence.servlet.download
Class ServeAfterTransactionDownload.StreamResultCallback
java.lang.Object
com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.StreamResultCallback
- All Implemented Interfaces:
- org.springframework.transaction.support.TransactionCallback
- Enclosing class:
- ServeAfterTransactionDownload
protected class ServeAfterTransactionDownload.StreamResultCallback
- extends Object
- implements org.springframework.transaction.support.TransactionCallback
Spring transactional callback that calls getStreamForDownload within a database transaction
Method Summary |
Object |
doInTransaction(org.springframework.transaction.TransactionStatus transactionStatus)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServeAfterTransactionDownload.StreamResultCallback
public ServeAfterTransactionDownload.StreamResultCallback(HttpServletRequest request,
HttpServletResponse response)
doInTransaction
public Object doInTransaction(org.springframework.transaction.TransactionStatus transactionStatus)
- Specified by:
doInTransaction
in interface org.springframework.transaction.support.TransactionCallback
- Returns:
- a StreamResult based on the execution of getStreamForDownload