com.ibm.portal.resolver.data
Interface DataSourceFragment
- All Superinterfaces:
- Disposable, TimeStamped
- All Known Subinterfaces:
- ByteDataSource, CacheControlDataSource, CachedDataSourceFactory.UncacheableValue<T>, CachedDataSourceFactory.Value<T>, CharDataSource, ContentDispositionDataSource, ContentLengthDataSource, ConvertibleDataSource, DataSource, DataSourceChecksum, JsonDataSource, MultipartDataSource, ProjectContextDataSource, RedirectDataSource, StatusCodeDataSource, UserContextDataSource, VaryDataSource, VirtualPortalContextDataSource, XmlDataSource
- All Known Implementing Classes:
- AbstractDataSource, AbstractStaticDataSource, DefaultDataSource, EarlyBindingDataSource
-
public interface DataSourceFragment
- extends TimeStamped, Disposable
Represents a fragment of a complete data source.
The assumption is that the metadata is constant across the lifetime of the
DataSourceFragment, i.e. calling any of the methods multiple times
must always return the same result.
- Since:
- 6.1.0.2
Method Summary
|
java.util.Date |
getExpiration()
Absolute timestamp that indicates the time when the data represented by
the source will expire. |
EXPIRATION_UNKNOWN
static final java.util.Date EXPIRATION_UNKNOWN
- Indicates an unknown expiration
- Since:
- 7.0
getExpiration
java.util.Date getExpiration()
- Absolute timestamp that indicates the time when the data represented by
the source will expire.
- Returns:
- the date the data expires or EXPIRATION_UNKNOWN if the
value is unknown