Class FrameResource

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

public class FrameResource
extends java.lang.Object
Information about the Resource on the page
  • Constructor Summary

    Constructors 
    Constructor Description
    FrameResource()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Double getContentSize()
    Resource content size.
    java.lang.Double getLastModified()
    last-modified timestamp as reported by server.
    java.lang.String getMimeType()
    Resource mimeType as determined by the browser.
    ResourceType getType()
    Type of this resource.
    java.lang.String getUrl()
    Resource URL.
    java.lang.Boolean isCanceled()
    True if the resource was canceled during loading.
    java.lang.Boolean isFailed()
    True if the resource failed to load.
    void setCanceled​(java.lang.Boolean canceled)
    True if the resource was canceled during loading.
    void setContentSize​(java.lang.Double contentSize)
    Resource content size.
    void setFailed​(java.lang.Boolean failed)
    True if the resource failed to load.
    void setLastModified​(java.lang.Double lastModified)
    last-modified timestamp as reported by server.
    void setMimeType​(java.lang.String mimeType)
    Resource mimeType as determined by the browser.
    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.
    • setUrl

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

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

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

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

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

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

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

      public java.lang.Double getContentSize()
      Resource content size.
    • setContentSize

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

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

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

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

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