public interface HttpCacheDao
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
|
long insertHttpResponse(HttpResponse httpResponse)
httpResponse
- HttpResponse getHttpResponse(java.lang.String url)
url
- java.util.Map<java.lang.String,HttpResponse> getHttpResponsesByType(int type)
type
- int deleteAllHttpResponse()