Class NetworkResponse

java.lang.Object
com.alibaba.dashscope.legacy_2x.protocol.NetworkResponse

@Deprecated public class NetworkResponse extends Object
Deprecated.
  • Method Details

    • builder

      public static NetworkResponse.NetworkResponseBuilder builder()
      Deprecated.
    • getHeaders

      public Map<String,List<String>> getHeaders()
      Deprecated.
      The response headers.
    • getMessage

      public String getMessage()
      Deprecated.
      The String type response message.
    • getEvent

      public String getEvent()
      Deprecated.
      The event, used in assistant
    • getBinary

      public ByteBuffer getBinary()
      Deprecated.
      The binary type response.
    • getHttpStatusCode

      public Integer getHttpStatusCode()
      Deprecated.
      The HTTP status code
    • setHeaders

      public void setHeaders(Map<String,List<String>> headers)
      Deprecated.
      The response headers.
    • setMessage

      public void setMessage(String message)
      Deprecated.
      The String type response message.
    • setEvent

      public void setEvent(String event)
      Deprecated.
      The event, used in assistant
    • setBinary

      public void setBinary(ByteBuffer binary)
      Deprecated.
      The binary type response.
    • setHttpStatusCode

      public void setHttpStatusCode(Integer httpStatusCode)
      Deprecated.
      The HTTP status code
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object