Class CachedResource

java.lang.Object
io.webfolder.cdp.type.network.CachedResource

public class CachedResource
extends java.lang.Object
Information about the cached resource
  • Constructor Summary

    Constructors 
    Constructor Description
    CachedResource()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Double getBodySize()
    Cached response body size.
    Response getResponse()
    Cached response data.
    ResourceType getType()
    Type of this resource.
    java.lang.String getUrl()
    Resource URL.
    void setBodySize​(java.lang.Double bodySize)
    Cached response body size.
    void setResponse​(Response response)
    Cached response data.
    void setType​(ResourceType type)
    Type of this resource.
    void setUrl​(java.lang.String url)
    Resource URL.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getUrl

      public java.lang.String getUrl()
      Resource URL. This is the url of the original network request.
    • setUrl

      public void setUrl​(java.lang.String url)
      Resource URL. This is the url of the original network request.
    • getType

      public ResourceType getType()
      Type of this resource.
    • setType

      public void setType​(ResourceType type)
      Type of this resource.
    • getResponse

      public Response getResponse()
      Cached response data.
    • setResponse

      public void setResponse​(Response response)
      Cached response data.
    • getBodySize

      public java.lang.Double getBodySize()
      Cached response body size.
    • setBodySize

      public void setBodySize​(java.lang.Double bodySize)
      Cached response body size.