Document CoWebFilter.COROUTINE_CONTEXT_ATTRIBUTE

See gh-27522
This commit is contained in:
Sébastien Deleuze 2023-09-12 19:00:24 +02:00
parent abb296c7d2
commit 6548cee20a
1 changed files with 5 additions and 0 deletions

View File

@ -53,6 +53,11 @@ abstract class CoWebFilter : WebFilter {
companion object {
/**
* Name of the [ServerWebExchange] attribute that contains the
* [kotlin.coroutines.CoroutineContext] to be passed to the
* [org.springframework.web.reactive.result.method.InvocableHandlerMethod].
*/
@JvmField
val COROUTINE_CONTEXT_ATTRIBUTE = CoWebFilter::class.java.getName() + ".context"
}