Class CachedResource


  • public class CachedResource
    extends java.lang.Object
    Information about the cached resource.
    • 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.