AbstractResponseDefinition

constructor(contentType: ContentType, httpStatusCode: Int = 200, httpStatus: HttpStatusCode = HttpStatusCode.fromValue(httpStatusCode), headers: ResponseHeaders.() -> Unit? = null, delay: Duration = Duration.ZERO, responseBody: T? = null)(source)

Parameters

T

The type of the response data.