tornadofx / tornadofx / HttpURLEngine

HttpURLEngine

open class HttpURLEngine : Engine

Constructors

<init> HttpURLEngine(rest: Rest)

Properties

rest val rest: Rest

Inherited Properties

authInterceptor var authInterceptor: (Request) -> Unit
requestInterceptor var requestInterceptor: (Request) -> Unit
responseInterceptor var responseInterceptor: (Response) -> Unit

Functions

request open fun request(seq: Long, method: Method, uri: URI, entity: Any?): HttpURLRequest
reset open fun reset(): Unit
setBasicAuth open fun setBasicAuth(username: String, password: String): Unit
setDigestAuth open fun setDigestAuth(username: String, password: String): Unit

Extension Functions

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