Class FrameResource

java.lang.Object
io.webfolder.cdp.type.page.FrameResource

public class FrameResource extends Object
Information about the Resource on the page
  • Constructor Details

    • FrameResource

      public FrameResource()
  • Method Details

    • getUrl

      public String getUrl()
      Resource URL.
    • setUrl

      public void setUrl(String url)
      Resource URL.
    • getType

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

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

      public String getMimeType()
      Resource mimeType as determined by the browser.
    • setMimeType

      public void setMimeType(String mimeType)
      Resource mimeType as determined by the browser.
    • getLastModified

      public Double getLastModified()
      last-modified timestamp as reported by server.
    • setLastModified

      public void setLastModified(Double lastModified)
      last-modified timestamp as reported by server.
    • getContentSize

      public Double getContentSize()
      Resource content size.
    • setContentSize

      public void setContentSize(Double contentSize)
      Resource content size.
    • isFailed

      public Boolean isFailed()
      True if the resource failed to load.
    • setFailed

      public void setFailed(Boolean failed)
      True if the resource failed to load.
    • isCanceled

      public Boolean isCanceled()
      True if the resource was canceled during loading.
    • setCanceled

      public void setCanceled(Boolean canceled)
      True if the resource was canceled during loading.