-
public final class CachedResourceInformation about the cached resource.
-
-
Constructor Summary
Constructors Constructor Description CachedResource(String url, ResourceType type, Response response, Double bodySize)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final ResourceTypecomponent2()final Responsecomponent3()final Doublecomponent4()final CachedResourcecopy(String url, ResourceType type, Response response, Double bodySize)final StringgetUrl()Resource URL. final ResourceTypegetType()Type of this resource. final ResponsegetResponse()Cached response data. final DoublegetBodySize()Cached response body size. -
-
Constructor Detail
-
CachedResource
CachedResource(String url, ResourceType type, Response response, Double bodySize)
-
-
Method Detail
-
component1
final String component1()
-
component2
final ResourceType component2()
-
component3
final Response component3()
-
component4
final Double component4()
-
copy
final CachedResource copy(String url, ResourceType type, Response response, Double bodySize)
-
getType
final ResourceType getType()
Type of this resource.
-
getResponse
final Response getResponse()
Cached response data.
-
getBodySize
final Double getBodySize()
Cached response body size.
-
-
-
-