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
  • Constructor Details

    • ExportDownload

      public ExportDownload()
  • Method Details

    • 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 class ServeAfterTransactionDownload
      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