Class CachedResource
- java.lang.Object
-
- org.openqa.selenium.devtools.network.model.CachedResource
-
public class CachedResource extends java.lang.Object
Information about the cached resource.
-
-
Constructor Summary
Constructors Constructor Description CachedResource(java.lang.String url, ResourceType type, Response response, java.lang.Number bodySize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Number
getBodySize()
Cached response body size.Response
getResponse()
Cached response data.ResourceType
getType()
Type of this resource.java.lang.String
getUrl()
Resource URL.
-
-
-
Constructor Detail
-
CachedResource
public CachedResource(java.lang.String url, ResourceType type, Response response, java.lang.Number bodySize)
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Resource URL. This is the url of the original network request.
-
getType
public ResourceType getType()
Type of this resource.
-
getResponse
public Response getResponse()
Cached response data.
-
getBodySize
public java.lang.Number getBodySize()
Cached response body size.
-
-