Class NetworkResponse.NetworkResponseBuilder
java.lang.Object
com.alibaba.dashscope.legacy_2x.protocol.NetworkResponse.NetworkResponseBuilder
- Enclosing class:
- NetworkResponse
-
Method Summary
Modifier and TypeMethodDescriptionbinary(ByteBuffer binary) The binary type response.build()The event, used in assistantThe response headers.httpStatusCode(Integer httpStatusCode) The HTTP status codeThe String type response message.toString()
-
Method Details
-
headers
The response headers.- Returns:
this.
-
message
The String type response message.- Returns:
this.
-
event
The event, used in assistant- Returns:
this.
-
binary
The binary type response.- Returns:
this.
-
httpStatusCode
The HTTP status code- Returns:
this.
-
build
-
toString
-