ApplicationReceivePipeline
open class ApplicationReceivePipeline :
Pipeline<ApplicationReceiveRequest, ApplicationCall>
Pipeline for processing incoming content
When executed, this pipeline starts with an instance of ByteReadChannel and should finish with the requested type.
Constructors
ApplicationReceivePipeline() Pipeline for processing incoming 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 After: PipelinePhase Executes after all transformations |
|
val Before: PipelinePhase Executes before any transformations are made |
|
val Transform: PipelinePhase Executes transformations |
Extension Functions
Executes this pipeline |
|
fun ApplicationReceivePipeline.installDefaultTransformations(): Unit Default receive transformation |
|
fun <TSubject : Any, TContext : Any> Pipeline<*, TContext>.intercept( Intercepts an untyped pipeline when the subject is of the given type |