Class NetworkResponse
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.protocol.NetworkResponse
Raw network response delivered to result parsers.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe binary type response.getEvent()The event, used in assistantThe response headers.The HTTP status codeThe String type response message.inthashCode()voidsetBinary(ByteBuffer binary) The binary type response.voidThe event, used in assistantvoidsetHeaders(Map<String, List<String>> headers) The response headers.voidsetHttpStatusCode(Integer httpStatusCode) The HTTP status codevoidsetMessage(String message) The String type response message.toString()
-
Method Details
-
builder
-
getHeaders
The response headers. -
getMessage
The String type response message. -
getEvent
The event, used in assistant -
getBinary
The binary type response. -
getHttpStatusCode
The HTTP status code -
setHeaders
The response headers. -
setMessage
The String type response message. -
setEvent
The event, used in assistant -
setBinary
The binary type response. -
setHttpStatusCode
The HTTP status code -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-