Move back to Predicate<ServerWebExchange>
Stick to webflux class as this project is currently built on webflux. fixes gh-35
This commit is contained in:
@@ -26,9 +26,8 @@ import org.springframework.cloud.gateway.route.Routes;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
||||
import static org.springframework.cloud.gateway.filter.factory.WebFilterFactories.addResponseHeader;
|
||||
import static org.springframework.cloud.gateway.handler.predicate.GatewayRequestPredicates.host;
|
||||
import static org.springframework.cloud.gateway.handler.predicate.GatewayRequestPredicates.path;
|
||||
// import static org.springframework.web.reactive.function.server.RequestPredicates.path;
|
||||
import static org.springframework.cloud.gateway.handler.predicate.RoutePredicates.host;
|
||||
import static org.springframework.cloud.gateway.handler.predicate.RoutePredicates.path;
|
||||
|
||||
/**
|
||||
* @author Spencer Gibb
|
||||
|
||||
Reference in New Issue
Block a user