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
public class ExportDownload extends ServeAfterTransactionDownload
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
ServeAfterTransactionDownload.StreamResultCallback
-
-
Constructor Summary
Constructors Constructor Description ExportDownload()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
getExportRoot()
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
matches(String urlPath)
void
setDownloadResourceManager(DownloadResourceManager downloadResourceManager)
-
Methods inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
getDecodedPathInfo, getStreamResultCallback, serveFile, setTransactionManager, streamResponse
-
-
-
-
Method Detail
-
matches
public boolean matches(String urlPath)
-
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
public void setDownloadResourceManager(DownloadResourceManager downloadResourceManager)
-
getExportRoot
@Deprecated public static String getExportRoot()
Deprecated.since 2.7
-
-