@@ -0,0 +1,967 @@
+package com.example.webfluxexample;%0A%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.core.Ordered;%0Aimport org.springframework.core.annotation.Order;%0Aimport org.springframework.stereotype.Component;%0Aimport org.springframework.web.server.ServerWebExchange;%0Aimport org.springframework.web.server.WebFilter;%0Aimport org.springframework.web.server.WebFilterChain;%0A%0Aimport reactor.core.publisher.Mono;%0A%0A@Component%0A@Order(Ordered.HIGHEST_PRECEDENCE)%0Apublic class WebFilterExample implements WebFilter %7B%0A%0A    private static final Logger logger = LoggerFactory.getLogger(WebFilterExample.class);%0A%0A    @Override%0A    public Mono%3CVoid%3E filter(final ServerWebExchange exchange, final WebFilterChain chain) %7B%0A        logger.info(%221%22);%0A        try %7B%0A            return chain.filter(exchange).map(a -%3E %7B%0A                logger.info(%223%22);%0A                return a;%0A            %7D);%0A        %7D finally %7B%0A            logger.info(%222%22);%0A        %7D%0A    %7D%0A%7D%0A

Add WebFilter example