Class LoadingFailed

java.lang.Object
io.webfolder.cdp.event.network.LoadingFailed

public class LoadingFailed
extends java.lang.Object
Fired when HTTP request has failed to load
  • Constructor Summary

    Constructors 
    Constructor Description
    LoadingFailed()  
  • Method Summary

    Modifier and Type Method Description
    BlockedReason getBlockedReason()
    The reason why loading was blocked, if any.
    java.lang.String getErrorText()
    User friendly error message.
    java.lang.String getRequestId()
    Request identifier.
    java.lang.Double getTimestamp()
    Timestamp.
    ResourceType getType()
    Resource type.
    java.lang.Boolean isCanceled()
    True if loading was canceled.
    void setBlockedReason​(BlockedReason blockedReason)
    The reason why loading was blocked, if any.
    void setCanceled​(java.lang.Boolean canceled)
    True if loading was canceled.
    void setErrorText​(java.lang.String errorText)
    User friendly error message.
    void setRequestId​(java.lang.String requestId)
    Request identifier.
    void setTimestamp​(java.lang.Double timestamp)
    Timestamp.
    void setType​(ResourceType type)
    Resource type.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getRequestId

      public java.lang.String getRequestId()
      Request identifier.
    • setRequestId

      public void setRequestId​(java.lang.String requestId)
      Request identifier.
    • getTimestamp

      public java.lang.Double getTimestamp()
      Timestamp.
    • setTimestamp

      public void setTimestamp​(java.lang.Double timestamp)
      Timestamp.
    • getType

      public ResourceType getType()
      Resource type.
    • setType

      public void setType​(ResourceType type)
      Resource type.
    • getErrorText

      public java.lang.String getErrorText()
      User friendly error message.
    • setErrorText

      public void setErrorText​(java.lang.String errorText)
      User friendly error message.
    • isCanceled

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

      public void setCanceled​(java.lang.Boolean canceled)
      True if loading was canceled.
    • getBlockedReason

      public BlockedReason getBlockedReason()
      The reason why loading was blocked, if any.
    • setBlockedReason

      public void setBlockedReason​(BlockedReason blockedReason)
      The reason why loading was blocked, if any.