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 StringDeprecated.since 2.7protected InputStreamgetStreamForDownload(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) Get the input stream to serve to the client outside of the database transaction.booleanvoidsetDownloadResourceManager(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:ServeAfterTransactionDownloadGet 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:
getStreamForDownloadin classServeAfterTransactionDownload- Returns:
- The input stream to serve, or null if nothing to serve.
- Throws:
IOException
-
setDownloadResourceManager
-
getExportRoot
Deprecated.since 2.7
-