tornadofx / tornadofx / HttpURLResponse

HttpURLResponse

class HttpURLResponse : Response

Constructors

<init> HttpURLResponse(request: HttpURLRequest)

Properties

headers val headers: <ERROR CLASS>
reason val reason: String
request val request: HttpURLRequest
statusCode val statusCode: Int

Inherited Properties

status open val status: Status

Functions

bytes fun bytes(): ByteArray
close fun close(): Unit
consume fun consume(): Response
content fun content(): InputStream
text fun text(): String

Inherited Functions

header open fun header(name: String): String?
list open fun list(): JsonArray
ok open fun ok(): Boolean
one open fun one(): JsonObject

Extension Properties

digestParams val Response.digestParams: Map<String, String>?

Extension Functions

getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>