HttpClientResponse

data class HttpClientResponse(    val body: Any = "",     val headers: HttpFields<Header> = HttpFields(),     val contentType: ContentType? = null,     val cookies: List<HttpCookie> = emptyList(),     val status: HttpStatus = NOT_FOUND,     val contentLength: Long = -1L) : HttpClientResponsePort

Constructors

Link copied to clipboard
fun HttpClientResponse(    body: Any = "",     headers: HttpFields<Header> = HttpFields(),     contentType: ContentType? = null,     cookies: List<HttpCookie> = emptyList(),     status: HttpStatus = NOT_FOUND,     contentLength: Long = -1L)

Functions

Link copied to clipboard
open fun bodyString(): String
Link copied to clipboard
open fun cookiesMap(): Map<String, HttpCookie>

Properties

Link copied to clipboard
open override val body: Any
Link copied to clipboard
open override val contentLength: Long
Link copied to clipboard
open override val contentType: ContentType? = null
Link copied to clipboard
open override val cookies: List<HttpCookie>
Link copied to clipboard
open override val headers: HttpFields<Header>
Link copied to clipboard
open override val status: HttpStatus