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, java.util.Optional<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.java.util.Optional<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, java.util.Optional<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 java.util.Optional<Response> getResponse()
Cached response data.
-
getBodySize
public java.lang.Number getBodySize()
Cached response body size.
-
-