Skip to content

Commit

Permalink
Document CoWebFilter.COROUTINE_CONTEXT_ATTRIBUTE
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Sep 12, 2023
1 parent abb296c commit 6548cee
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 6548cee

Please sign in to comment.