Use ContextView in ServerWebExchangeContextFilter#get.
Contextis a subclass ofContextView; hence, this is a non-breaking change.- It makes the convenience method more convenient because
Mono#transformDeferredContextualandMono#deferContextualprovideContentViewinstance. This avoids the need for a clunky cast or the unnecessary.map(Context::of).
Comment From: singhbaljit
Tagging @rstoyanchev since you wrote the class originally.