ApplicationSendPipeline
open class ApplicationSendPipeline :
Pipeline<Any, ApplicationCall>
Server response send pipeline
Constructors
ApplicationSendPipeline() Server response send pipeline |
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 The latest application phase that happens right before engine will send the response |
|
val Before: PipelinePhase The earliest phase that happens before any other |
|
val ContentEncoding: PipelinePhase Phase for processing Content-Encoding, like compression and partial content |
|
val Engine: PipelinePhase Phase for Engine to send the response out to client. |
|
val Render: PipelinePhase Phase to render any current pipeline subject into io.ktor.http.content.OutgoingContent |
|
val TransferEncoding: PipelinePhase Phase for handling Transfer-Encoding, like if chunked encoding is being done manually and not by engine |
|
val Transform: PipelinePhase Transformation phase that can proceed with any supported data like String |
Extension Functions
Executes this pipeline |
|
fun ApplicationSendPipeline.installDefaultTransformations(): Unit Default send transformation |
|
fun <TSubject : Any, TContext : Any> Pipeline<*, TContext>.intercept( Intercepts an untyped pipeline when the subject is of the given type |