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