sonic-android/docs/javadoc/com/tencent/sonic/sdk/download/SonicDownloadCache.html
com.tencent.sonic.sdk.download
java.lang.Object
public abstract classSonicDownloadCacheextends java.lang.Object
Sonic download cache manager
嵌套类 | 限定符和类型 | 类和说明 |
| --- | --- |
| static class | SonicDownloadCache.SonicResourceCache
An sub resource cache implementation SonicDownloadCache
|
构造器 | 构造器和说明 |
| --- |
| SonicDownloadCache() |
所有方法 静态方法 实例方法 抽象方法 具体方法 | 限定符和类型 | 方法和说明 |
| --- | --- |
| abstract byte[] | getResourceCache(java.lang.String url)
get the cached content according to the url
|
| abstract java.util.Map<java.lang.String,java.util.List<java.lang.String>> | getResourceCacheHeader(java.lang.String url)
get the cached response headers according to the url
|
| static SonicDownloadCache | getSubResourceCache() |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public SonicDownloadCache()
-
public abstract byte[] getResourceCache(java.lang.String url)
get the cached content according to the url
参数:url - the download url返回:bytes of cached content of the url
-
public abstract java.util.Map<java.lang.String,java.util.List<java.lang.String>> getResourceCacheHeader(java.lang.String url)
get the cached response headers according to the url
参数:url - the download url返回:cached headers of the url
-
public static[SonicDownloadCache](../../../../../com/tencent/sonic/sdk/download/SonicDownloadCache.html "com.tencent.sonic.sdk.download中的类")getSubResourceCache()
返回:Sub resource cache