open class RPCResponse
(source)
A successful RPC response.
RPCResponse(body: Bytes, bodyType: BodyType)
A successful RPC response. |
open fun <T : Any> asJSON(objectMapper: ObjectMapper, clazz: Class<T>): T
Provides the body of the message, marshalled as a JSON object. open fun <T : Any> asJSON(objectMapper: ObjectMapper, typeReference: TypeReference<T>): T |
|
open fun asString(): String
Provides the body of the message as a UTF-8 string. |
|
open fun body(): Bytes |
|
open fun bodyType(): BodyType |