HttpResponsePipeline
class HttpResponsePipeline :
Pipeline<HttpResponseContainer, HttpClientCall>
HttpClient Pipeline used for executing HttpResponse.
Constructors
HttpResponsePipeline() HttpClient Pipeline used for executing HttpResponse. |
Inherited Properties
val attributes: Attributes Provides common place to store pipeline attributes |
|
val isEmpty: Boolean |
|
val items: List<PipelinePhase> Phases of this pipeline |
Inherited Functions
fun addPhase(phase: PipelinePhase): Unit Adds phase to the end of this pipeline |
|
open fun afterIntercepted(): Unit Invoked after an interceptor has been installed |
|
Executes this pipeline in the given context and with the given subject |
|
fun insertPhaseAfter( |
|
fun insertPhaseBefore( |
|
fun intercept( |
|
Merges another pipeline into this pipeline, maintaining relative phases order |
Companion Object Properties
val After: PipelinePhase Latest response pipeline phase |
|
val Parse: PipelinePhase Decode response body |
|
val Receive: PipelinePhase The earliest phase that happens before any other |
|
val State: PipelinePhase Use this phase to store request shared state |
|
val Transform: PipelinePhase Transform response body to expected format |
Extension Functions
Executes this pipeline |
|
fun <TSubject : Any, TContext : Any> Pipeline<*, TContext>.intercept( Intercepts an untyped pipeline when the subject is of the given type |