Class JobEventStream.Frame

java.lang.Object
com.alibaba.dashscope.transport.sse.JobEventStream.Frame
Enclosing class:
JobEventStream

public static final class JobEventStream.Frame extends Object
One data: line plus the stream state accumulated when it arrived.
  • Method Details

    • isError

      public boolean isError()
    • getStatusCode

      public Integer getStatusCode()
      The frame's status: line; null when the wire omitted it (business failure).
    • getData

      public String getData()