Constructs an outgoing response.
The output stream that holds the response.
The reply status.
Optional
exceptionId: stringThe ID of the exception, when the response carries an exception other than a user exception.
Optional
exceptionDetails: stringThe full details of the exception, when the response carries an exception other than a user exception.
The exception details marshaled into the response. It's null when replyStatus is ReplyStatus.Ok or ReplyStatus.UserException.
The exception ID of the response. It's null when replyStatus is ReplyStatus.Ok or ReplyStatus.UserException.
The output stream buffer of the response. This output stream should not be written to after construction.
The reply status of the response.
The number of bytes in the response's payload.
Represents the response to an incoming request. It's returned by Object#dispatch.