class HttpCallValidator
Response validator feature is used for validate response and handle response exceptions.
See also Config for additional details.
companion object Companion : HttpClientFeature<Config, HttpCallValidator> |
|
class Config
HttpCallValidator configuration. |
HttpCallValidator(responseValidators: List<ResponseValidator>, callExceptionHandlers: List<CallExceptionHandler>)
Response validator feature is used for validate response and handle response exceptions. |
val key: AttributeKey<HttpCallValidator>
The AttributeKey for this feature. |
fun install(feature: HttpCallValidator, scope: HttpClient): Unit
Installs the feature class for a HttpClient defined at scope. |
|
fun prepare(block: Config.() -> Unit): HttpCallValidator
Builds a TFeature by calling the block with a TConfig config instance as receiver. |