Skip to content

Commit 6548cee

Browse files
committed
Document CoWebFilter.COROUTINE_CONTEXT_ATTRIBUTE
See gh-27522
1 parent abb296c commit 6548cee

File tree

1 file changed

+5
-0
lines changed
  • spring-web/src/main/kotlin/org/springframework/web/server

1 file changed

+5
-0
lines changed

spring-web/src/main/kotlin/org/springframework/web/server/CoWebFilter.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ abstract class CoWebFilter : WebFilter {
5353

5454
companion object {
5555

56+
/**
57+
* Name of the [ServerWebExchange] attribute that contains the
58+
* [kotlin.coroutines.CoroutineContext] to be passed to the
59+
* [org.springframework.web.reactive.result.method.InvocableHandlerMethod].
60+
*/
5661
@JvmField
5762
val COROUTINE_CONTEXT_ATTRIBUTE = CoWebFilter::class.java.getName() + ".context"
5863
}

0 commit comments

Comments
 (0)