org.directwebremoting.impl
Class FileStoreDownloadManager
java.lang.Object
org.directwebremoting.impl.PurgingDownloadManager
org.directwebremoting.impl.FileStoreDownloadManager
- All Implemented Interfaces:
- DownloadManager, InitializingBean
public class FileStoreDownloadManager
- extends PurgingDownloadManager
- implements DownloadManager, InitializingBean
A DownloadManager that stores the files on disk.
This implementation has the advantage that does not require large amounts of
memory, however some writable disk must be available, and
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
|
Method Summary |
void |
afterContainerSetup(Container container)
This method allows the bean instance to perform initialization only
possible when all bean properties have been set |
void |
setDownloadFileCacheDir(java.lang.String downloadFileCacheDir)
Set the directory to which we write the downloaded file cache |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileStoreDownloadManager
public FileStoreDownloadManager()
afterContainerSetup
public void afterContainerSetup(Container container)
- Description copied from interface:
InitializingBean
This method allows the bean instance to perform initialization only
possible when all bean properties have been set
- Specified by:
afterContainerSetup in interface InitializingBean
- Parameters:
container - The container that is doing the initialization
setDownloadFileCacheDir
public void setDownloadFileCacheDir(java.lang.String downloadFileCacheDir)
- Set the directory to which we write the downloaded file cache
- Parameters:
downloadFileCacheDir - the downloadFileCache to set