Type of the data to serialize
Name of field used to store response data.
For case class StringResponse(context: RestResponseContext, data: String) extends RestResponse
,
the term is data
.
Mirror used to extract the value of responseDataTerm
from the response object
Content MIME Type
Content MIME Type
Force the use of ContentType
even if it is specified in the headers
Force the use of ContentType
even if it is specified in the headers
Returns the data object for an instance of the response
Returns the data object for an instance of the response
None
if the response data type is void, else the value of the data field
Name of field used to store response data.
Name of field used to store response data.
For case class StringResponse(context: RestResponseContext, data: String) extends RestResponse
,
the term is data
.
Mirror used to extract the value of responseDataTerm
from the response object
Mirror used to extract the value of responseDataTerm
from the response object
Converts an object into JSON encoded in UTF-8
Converts an object into JSON encoded in UTF-8
Data to serialize
Array of bytes representing the serialized data
Type of the data to serialize
Serialize a primitive into a UTF-8 JSON byte array
If the data is of type
Option[]
and the value is None, an empty array will be returned.Type of the data to serialize
Name of field used to store response data. For
case class StringResponse(context: RestResponseContext, data: String) extends RestResponse
, the term isdata
.Mirror used to extract the value of
responseDataTerm
from the response object