Interface FetchableCache
- 
- All Known Implementing Classes:
- FetchableCacheImpl
 
 public interface FetchableCacheThe FetchableCache is a place for perspective component model delegates to place downloadable data (named "fetch"-able after the- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceFetchableCache.Fetchable
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringaddFetchable(Session session, com.inductiveautomation.ignition.common.gson.JsonElement json)java.lang.StringaddFetchable(Session session, FetchableCache.Fetchable fetchable)Place some fetchable data into the cache.default java.lang.StringaddFetchable(Session session, java.lang.String contentType, java.lang.String payload)
 
- 
 - 
- 
Method Detail- 
addFetchablejava.lang.String addFetchable(Session session, FetchableCache.Fetchable fetchable) Place some fetchable data into the cache.- Parameters:
- session- The session that this data belongs to. Only requests from this session will be able to use the resulting URL.
- fetchable- The handler that will handle the GET request.
- Returns:
- A URL string to be used by a front-end request to retrieve the fetchable data. This URL will expire in
 5 minutes or immediately after access, whichever is first. The URL will be relative to the root, e.g.
 /data/perspective/myProject/uuid
 
 - 
addFetchabledefault java.lang.String addFetchable(Session session, com.inductiveautomation.ignition.common.gson.JsonElement json) 
 - 
addFetchabledefault java.lang.String addFetchable(Session session, java.lang.String contentType, java.lang.String payload) 
 
- 
 
-