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: