Class ExportDownload
java.lang.Object
com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
com.atlassian.confluence.servlet.download.ExportDownload
- All Implemented Interfaces:
com.atlassian.plugin.servlet.DownloadStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
ServeAfterTransactionDownload.StreamResultCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Deprecated.since 2.7protected InputStream
getStreamForDownload
(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) Get the input stream to serve to the client outside of the database transaction.boolean
void
setDownloadResourceManager
(DownloadResourceManager downloadResourceManager) Methods inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
getDecodedPathInfo, getStreamResultCallback, serveFile, setTransactionManager, streamResponse
-
Constructor Details
-
ExportDownload
public ExportDownload()
-
-
Method Details
-
matches
-
getStreamForDownload
protected InputStream getStreamForDownload(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException Description copied from class:ServeAfterTransactionDownload
Get the input stream to serve to the client outside of the database transaction. The inputstream must be useable outside of the database transaction that created it- Specified by:
getStreamForDownload
in classServeAfterTransactionDownload
- Returns:
- The input stream to serve, or null if nothing to serve.
- Throws:
IOException
-
setDownloadResourceManager
-
getExportRoot
Deprecated.since 2.7
-