Class FrameResource


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

      Constructors 
      Constructor Description
      FrameResource​(java.lang.String url, ResourceType type, java.lang.String mimeType, TimeSinceEpoch lastModified, java.lang.Number contentSize, java.lang.Boolean failed, java.lang.Boolean canceled)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getCanceled()
      True if the resource was canceled during loading.
      java.lang.Number getContentSize()
      Resource content size.
      java.lang.Boolean getFailed()
      True if the resource failed to load.
      TimeSinceEpoch 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.
      • Methods inherited from class java.lang.Object

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

      • FrameResource

        public FrameResource​(java.lang.String url,
                             ResourceType type,
                             java.lang.String mimeType,
                             TimeSinceEpoch lastModified,
                             java.lang.Number contentSize,
                             java.lang.Boolean failed,
                             java.lang.Boolean canceled)
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Resource URL.
      • getType

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

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

        public TimeSinceEpoch getLastModified()
        last-modified timestamp as reported by server.
      • getContentSize

        public java.lang.Number getContentSize()
        Resource content size.
      • getFailed

        public java.lang.Boolean getFailed()
        True if the resource failed to load.
      • getCanceled

        public java.lang.Boolean getCanceled()
        True if the resource was canceled during loading.