Rename NettyRoutingWebHandler to NettyProxyWebHandler
This commit is contained in:
@@ -49,7 +49,7 @@ import org.springframework.cloud.gateway.filter.factory.SetResponseHeaderWebFilt
|
||||
import org.springframework.cloud.gateway.filter.factory.SetStatusWebFilterFactory;
|
||||
import org.springframework.cloud.gateway.filter.factory.WebFilterFactory;
|
||||
import org.springframework.cloud.gateway.handler.FilteringWebHandler;
|
||||
import org.springframework.cloud.gateway.handler.NettyRoutingWebHandler;
|
||||
import org.springframework.cloud.gateway.handler.NettyProxyWebHandler;
|
||||
import org.springframework.cloud.gateway.handler.RoutePredicateHandlerMapping;
|
||||
import org.springframework.cloud.gateway.handler.predicate.AfterRoutePredicateFactory;
|
||||
import org.springframework.cloud.gateway.handler.predicate.BeforeRoutePredicateFactory;
|
||||
@@ -104,8 +104,8 @@ public class GatewayAutoConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
public NettyRoutingWebHandler nettyRoutingWebHandler(HttpClient httpClient) {
|
||||
return new NettyRoutingWebHandler(httpClient);
|
||||
public NettyProxyWebHandler proxyWebHandler(HttpClient httpClient) {
|
||||
return new NettyProxyWebHandler(httpClient);
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
@@ -41,11 +41,11 @@ import reactor.ipc.netty.http.client.HttpClient;
|
||||
/**
|
||||
* @author Spencer Gibb
|
||||
*/
|
||||
public class NettyRoutingWebHandler implements WebHandler {
|
||||
public class NettyProxyWebHandler implements WebHandler {
|
||||
|
||||
private final HttpClient httpClient;
|
||||
|
||||
public NettyRoutingWebHandler(HttpClient httpClient) {
|
||||
public NettyProxyWebHandler(HttpClient httpClient) {
|
||||
this.httpClient = httpClient;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user