Class ServeAfterTransactionDownload.StreamResultCallback
- java.lang.Object
-
- com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.StreamResultCallback
-
- All Implemented Interfaces:
org.springframework.transaction.support.TransactionCallback<com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.StreamResult>
- Enclosing class:
- ServeAfterTransactionDownload
protected class ServeAfterTransactionDownload.StreamResultCallback extends Object implements org.springframework.transaction.support.TransactionCallback<com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.StreamResult>
Spring transactional callback that calls getStreamForDownload within a database transaction
-
-
Constructor Summary
Constructors Constructor Description StreamResultCallback(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.StreamResult
doInTransaction(@NonNull org.springframework.transaction.TransactionStatus transactionStatus)
-
-
-
Method Detail
-
doInTransaction
public com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.StreamResult doInTransaction(@NonNull org.springframework.transaction.TransactionStatus transactionStatus)
- Specified by:
doInTransaction
in interfaceorg.springframework.transaction.support.TransactionCallback<com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.StreamResult>
- Returns:
- a StreamResult based on the execution of getStreamForDownload
-
-