interface Response : Closeable
Status |
enum class Status |
headers |
abstract val headers: Map<String, List<String>> |
reason |
abstract val reason: String |
request |
abstract val request: Request |
status |
open val status: Status |
statusCode |
abstract val statusCode: Int |
bytes |
abstract fun bytes(): ByteArray |
consume |
abstract fun consume(): Response |
content |
abstract fun content(): InputStream |
header |
open fun header(name: String): String? |
list |
open fun list(): JsonArray |
ok |
open fun ok(): Boolean |
one |
open fun one(): JsonObject |
text |
abstract fun text(): String? |
digestParams |
val Response.digestParams: Map<String, String>? |
HttpClientResponse |
class HttpClientResponse : Response |
HttpURLResponse |
class HttpURLResponse : Response |