com.atlassian.confluence.servlet.download
Class ResourceDownload
java.lang.Object
com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
com.atlassian.confluence.servlet.download.ResourceDownload
- All Implemented Interfaces:
- com.atlassian.plugin.servlet.DownloadStrategy
public class ResourceDownload
- extends ServeAfterTransactionDownload
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceDownload
public ResourceDownload()
matches
public boolean matches(java.lang.String urlPath)
getStreamForDownload
protected java.io.InputStream getStreamForDownload(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.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:
java.io.IOException
getResourceManager
public DefaultResourceManager getResourceManager()
setResourceManager
public void setResourceManager(DefaultResourceManager defaultResourceManager)
getSpaceManager
public SpaceManager getSpaceManager()
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.