tornadofx / tornadofx / Rest / Engine

Engine

abstract class Engine

Constructors

<init> Engine()

Properties

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

Functions

request abstract fun request(seq: Long, method: Method, uri: URI, entity: Any? = null): Request
reset abstract fun reset(): Unit
setBasicAuth abstract fun setBasicAuth(username: String, password: String): Unit
setDigestAuth abstract fun setDigestAuth(username: String, password: String): Unit

Inheritors

HttpClientEngine class HttpClientEngine : Engine
HttpURLEngine class HttpURLEngine : Engine