com.atlassian.confluence.servlet.download
Class ServeAfterTransactionDownload.StreamResultCallback

java.lang.Object
  extended bycom.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


Constructor Summary
ServeAfterTransactionDownload.StreamResultCallback(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
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
 

Constructor Detail

ServeAfterTransactionDownload.StreamResultCallback

public ServeAfterTransactionDownload.StreamResultCallback(javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
Method Detail

doInTransaction

public Object doInTransaction(org.springframework.transaction.TransactionStatus transactionStatus)
Specified by:
doInTransaction in interface org.springframework.transaction.support.TransactionCallback
Parameters:
transactionStatus -
Returns:
a StreamResult based on the execution of getStreamForDownload


Confluence is developed by Atlassian.