Package org.robolectric.shadows
Class ShadowHttpResponseCache
java.lang.Object
org.robolectric.shadows.ShadowHttpResponseCache
@Implements(value=android.net.http.HttpResponseCache.class,
callThroughByDefault=false)
public class ShadowHttpResponseCache
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose()protected voiddelete()protected CacheResponseprotected intprotected static HttpResponseCacheprotected intprotected intprotected static HttpResponseCacheprotected longmaxSize()protected CacheRequestput(URI uri, URLConnection urlConnection) protected longsize()
-
Constructor Details
-
ShadowHttpResponseCache
public ShadowHttpResponseCache()
-
-
Method Details
-
install
-
getInstalled
-
maxSize
@Implementation protected long maxSize() -
size
@Implementation protected long size() -
close
@Implementation protected void close() -
delete
@Implementation protected void delete() -
getHitCount
@Implementation protected int getHitCount() -
getNetworkCount
@Implementation protected int getNetworkCount() -
getRequestCount
@Implementation protected int getRequestCount() -
get
-
put
-