Class ServerWebExchangeDecorator

java.lang.Object
org.springframework.web.server.ServerWebExchangeDecorator
All Implemented Interfaces:
ServerWebExchange

public class ServerWebExchangeDecorator extends Object implements ServerWebExchange
A convenient base class for classes that need to wrap another ServerWebExchange. Pre-implements all methods by delegating to the wrapped instance.

Note: if the purpose for using a decorator is to override properties like getPrincipal(), consider using ServerWebExchange.mutate() instead.

Since:
5.0
Author:
Rossen Stoyanchev
See Also: