Class DownloadCache
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.web.DownloadCache
-
public class DownloadCache extends java.lang.Object
A temporary map for invocations of system.perspective.download to store their download information before the browser actually hits the download servlet and starts downloading.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DownloadCache.DownloadableFile
-
Constructor Summary
Constructors Constructor Description DownloadCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDownload(java.util.UUID id, DownloadCache.DownloadableFile file)
java.util.Optional<DownloadCache.DownloadableFile>
get(java.util.UUID id)
-
-
-
Method Detail
-
addDownload
public void addDownload(java.util.UUID id, DownloadCache.DownloadableFile file)
-
get
public java.util.Optional<DownloadCache.DownloadableFile> get(java.util.UUID id)
-
-