Package-level declarations
Types
Link copied to clipboard
data class CacheConfig(val directory: File, val cacheDurationFilter: Map<String, Duration> = emptyMap(), val maxSizeInBytes: Long = DEFAULT_MAX_CACHE_SIZE)
HttpHandler cache configuration.
Link copied to clipboard
interface HttpHandler
Handle the HTTP requests.
Link copied to clipboard
object HttpHandlerFactory
Responsible for creating instances of HttpHandler.
Link copied to clipboard
Failure related to http handler. It contains information about the url and cause of the failure.
Link copied to clipboard
class ResponseData(val code: Int, val headers: Map<String, String>, val body: ByteArray? = null, val validFor: Duration)
Information of the HTTP Response necessary for HttpHandler.