Adapt to API changes in the latest reactor snapshot
This commit is contained in:
@@ -47,7 +47,7 @@ public class ServerWebExchangeContextFilter implements WebFilter {
|
||||
@Override
|
||||
public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
|
||||
return chain.filter(exchange)
|
||||
.subscriberContext(cxt -> cxt.put(EXCHANGE_CONTEXT_ATTRIBUTE, exchange));
|
||||
.contextWrite(cxt -> cxt.put(EXCHANGE_CONTEXT_ATTRIBUTE, exchange));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user