Browse Source

Document CoWebFilter.COROUTINE_CONTEXT_ATTRIBUTE

See gh-27522
pull/31226/head
Sébastien Deleuze 3 years ago
parent
commit
6548cee20a
  1. 5
      spring-web/src/main/kotlin/org/springframework/web/server/CoWebFilter.kt

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

@ -53,6 +53,11 @@ abstract class CoWebFilter : WebFilter { @@ -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"
}

Loading…
Cancel
Save