Class LoadingFailed

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

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

    • LoadingFailed

      public LoadingFailed()
  • Method Details

    • getRequestId

      public String getRequestId()
      Request identifier.
    • setRequestId

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

      public Double getTimestamp()
      Timestamp.
    • setTimestamp

      public void setTimestamp(Double timestamp)
      Timestamp.
    • getType

      public ResourceType getType()
      Resource type.
    • setType

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

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

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

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

      public void setCanceled(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.
    • getCorsErrorStatus

      public CorsErrorStatus getCorsErrorStatus()
      The reason why loading was blocked by CORS, if any.
    • setCorsErrorStatus

      public void setCorsErrorStatus(CorsErrorStatus corsErrorStatus)
      The reason why loading was blocked by CORS, if any.
    • toString

      public String toString()
      Overrides:
      toString in class Object