EnginePipeline
class EnginePipeline : Pipeline<Unit, ApplicationCall>
Application engine pipeline. One usually don’t need to install interceptors here unless your are writing your own engine implementation
Constructors
EnginePipeline() Application engine pipeline. One usually don’t need to install interceptors here unless your are writing your own engine implementation |
Properties
val receivePipeline: ApplicationReceivePipeline Pipeline for receiving content |
|
val sendPipeline: ApplicationSendPipeline Pipeline for sending content |
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 Before: PipelinePhase Before call phase |
|
val Call: PipelinePhase Application call pipeline phase |
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 |