public class HttpCacheDaoImpl extends java.lang.Object implements HttpCacheDao
Constructor and Description |
---|
HttpCacheDaoImpl(SqliteUtils sqliteUtils) |
Modifier and Type | Method and Description |
---|---|
int |
deleteAllHttpResponse()
delete all http response
|
HttpResponse |
getHttpResponse(java.lang.String url)
get HttpResponse by url
|
java.util.Map<java.lang.String,HttpResponse> |
getHttpResponsesByType(int type)
get HttpResponses by type
|
long |
insertHttpResponse(HttpResponse httpResponse)
insert HttpResponse
|
public HttpCacheDaoImpl(SqliteUtils sqliteUtils)
public long insertHttpResponse(HttpResponse httpResponse)
HttpCacheDao
insertHttpResponse
in interface HttpCacheDao
public HttpResponse getHttpResponse(java.lang.String url)
HttpCacheDao
getHttpResponse
in interface HttpCacheDao
public java.util.Map<java.lang.String,HttpResponse> getHttpResponsesByType(int type)
HttpCacheDao
getHttpResponsesByType
in interface HttpCacheDao
public int deleteAllHttpResponse()
HttpCacheDao
deleteAllHttpResponse
in interface HttpCacheDao