HttpResponsePipeline

class HttpResponsePipeline(developmentMode: Boolean) : Pipeline<HttpResponseContainer, HttpClientCall>

HttpClient Pipeline used for executing HttpResponse.

Constructors

Link copied to clipboard
fun HttpResponsePipeline(developmentMode: Boolean = false)

Types

Link copied to clipboard
object Phases

Functions

Link copied to clipboard
fun addPhase(phase: PipelinePhase)
Link copied to clipboard
open fun afterIntercepted()
Link copied to clipboard
suspend fun execute(context: HttpClientCall, subject: HttpResponseContainer): HttpResponseContainer
Link copied to clipboard
fun insertPhaseAfter(reference: PipelinePhase, phase: PipelinePhase)
Link copied to clipboard
fun insertPhaseBefore(reference: PipelinePhase, phase: PipelinePhase)
Link copied to clipboard
fun intercept(phase: PipelinePhase, block: suspend PipelineContext<HttpResponseContainer, HttpClientCall>.(HttpResponseContainer) -> Unit)
Link copied to clipboard
Link copied to clipboard
fun merge(from: Pipeline<HttpResponseContainer, HttpClientCall>)
Link copied to clipboard
fun mergePhases(from: Pipeline<HttpResponseContainer, HttpClientCall>)
Link copied to clipboard
fun resetFrom(from: Pipeline<HttpResponseContainer, HttpClientCall>)

Properties

Link copied to clipboard
val attributes: Attributes
Link copied to clipboard
open override val developmentMode: Boolean = false
Link copied to clipboard
val isEmpty: Boolean
Link copied to clipboard
val items: List<PipelinePhase>