HttpRequestPipeline

class HttpRequestPipeline(val developmentMode: Boolean = true) : Pipeline<Any, HttpRequestBuilder> (source)

An HttpClient's pipeline used for executing HttpRequest.

Report a problem

Constructors

Link copied to clipboard
constructor(developmentMode: Boolean = true)

Types

Link copied to clipboard
object Phases

All interceptors accept payload as subject and try to convert it to OutgoingContent. Last phase should proceed with HttpClientCall.

Properties

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

Functions

Link copied to clipboard
fun addPhase(phase: PipelinePhase)
Link copied to clipboard
open fun afterIntercepted()
Link copied to clipboard
suspend fun execute(context: HttpRequestBuilder, subject: Any): Any
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: PipelineInterceptor<Any, HttpRequestBuilder>)
Link copied to clipboard
fun interceptorsForPhase(phase: PipelinePhase): List<PipelineInterceptor<Any, HttpRequestBuilder>>
Link copied to clipboard
fun merge(from: Pipeline<Any, HttpRequestBuilder>)
Link copied to clipboard
fun mergePhases(from: Pipeline<Any, HttpRequestBuilder>)
Link copied to clipboard
fun resetFrom(from: Pipeline<Any, HttpRequestBuilder>)
Link copied to clipboard
open override fun toString(): String