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:
Spencer Gibb
2017-03-22 12:01:27 -06:00
parent 34c35fbcc9
commit b9bf99451f
37 changed files with 417 additions and 585 deletions

View File

@@ -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