public class ExportDownload extends ServeAfterTransactionDownload
ServeAfterTransactionDownload.StreamResultCallback| Constructor and Description |
|---|
ExportDownload() |
| Modifier and Type | Method and Description |
|---|---|
static File |
createTempFile(String prefix,
String suffix)
Deprecated.
since 2.7. Instead use the
WritableDownloadResourceManager to generate a DownloadResourceWriter
NOTE: CURRENTLY USED by the GrpahViz plugin. See CONFDEV-15403. |
static String |
getExportRoot()
Deprecated.
since 2.7
|
protected 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.
|
static String |
getUrl(File file,
String contentType)
Deprecated.
since 2.7. Instead use the
DownloadResourceWriter to get the resource path. |
boolean |
matches(String urlPath) |
void |
setDownloadResourceManager(DownloadResourceManager downloadResourceManager) |
getDecodedPathInfo, getStreamResultCallback, serveFile, setTransactionManagerpublic boolean matches(String urlPath)
protected InputStream getStreamForDownload(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException
ServeAfterTransactionDownloadgetStreamForDownload in class ServeAfterTransactionDownloadIOExceptionpublic void setDownloadResourceManager(DownloadResourceManager downloadResourceManager)
@Deprecated public static File createTempFile(String prefix, String suffix) throws IOException
WritableDownloadResourceManager to generate a DownloadResourceWriter
NOTE: CURRENTLY USED by the GrpahViz plugin. See CONFDEV-15403.IOException@Deprecated public static String getUrl(File file, String contentType)
DownloadResourceWriter to get the resource path.@Deprecated public static String getExportRoot()
Copyright © 2003–2017 Atlassian. All rights reserved.