Class Initiator

java.lang.Object
io.webfolder.cdp.type.network.Initiator

public class Initiator extends Object
Information about the request initiator
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
    Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
    Set if another request triggered this request (e.g.
    Initiator JavaScript stack trace, set for Script only.
    Type of this initiator.
    Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
    void
    setColumnNumber(Double columnNumber)
    Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
    void
    setLineNumber(Double lineNumber)
    Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
    void
    setRequestId(String requestId)
    Set if another request triggered this request (e.g.
    void
    Initiator JavaScript stack trace, set for Script only.
    void
    Type of this initiator.
    void
    Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.

    Methods inherited from class java.lang.Object

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

    • Initiator

      public Initiator()
  • Method Details

    • getType

      public InitiatorType getType()
      Type of this initiator.
    • setType

      public void setType(InitiatorType type)
      Type of this initiator.
    • getStack

      public StackTrace getStack()
      Initiator JavaScript stack trace, set for Script only.
    • setStack

      public void setStack(StackTrace stack)
      Initiator JavaScript stack trace, set for Script only.
    • getUrl

      public String getUrl()
      Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
    • setUrl

      public void setUrl(String url)
      Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
    • getLineNumber

      public Double getLineNumber()
      Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
    • setLineNumber

      public void setLineNumber(Double lineNumber)
      Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
    • getColumnNumber

      public Double getColumnNumber()
      Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
    • setColumnNumber

      public void setColumnNumber(Double columnNumber)
      Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
    • getRequestId

      public String getRequestId()
      Set if another request triggered this request (e.g. preflight).
    • setRequestId

      public void setRequestId(String requestId)
      Set if another request triggered this request (e.g. preflight).