Class GatewayLegacyControllerEndpoint
java.lang.Object
org.springframework.cloud.gateway.actuate.AbstractGatewayControllerEndpoint
org.springframework.cloud.gateway.actuate.GatewayLegacyControllerEndpoint
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware
@RestControllerEndpoint(id="gateway",
defaultAccess=NONE)
public class GatewayLegacyControllerEndpoint
extends AbstractGatewayControllerEndpoint
- Author:
- Spencer Gibb
-
Field Summary
Fields inherited from class AbstractGatewayControllerEndpoint
GatewayFilters, globalFilters, publisher, routeDefinitionLocator, routeDefinitionWriter, routeLocator, routePredicates, webEndpointProperties -
Constructor Summary
ConstructorsConstructorDescriptionGatewayLegacyControllerEndpoint(RouteDefinitionLocator routeDefinitionLocator, List<GlobalFilter> globalFilters, List<GatewayFilterFactory> gatewayFilterFactories, List<RoutePredicateFactory> routePredicates, RouteDefinitionWriter routeDefinitionWriter, RouteLocator routeLocator, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties) -
Method Summary
Methods inherited from class AbstractGatewayControllerEndpoint
combinedfilters, delete, globalfilters, refresh, routefilers, routepredicates, save, save, setApplicationEventPublisher
-
Constructor Details
-
GatewayLegacyControllerEndpoint
public GatewayLegacyControllerEndpoint(RouteDefinitionLocator routeDefinitionLocator, List<GlobalFilter> globalFilters, List<GatewayFilterFactory> gatewayFilterFactories, List<RoutePredicateFactory> routePredicates, RouteDefinitionWriter routeDefinitionWriter, RouteLocator routeLocator, org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties)
-
-
Method Details
-
routes
-
route
@GetMapping("/routes/{id}") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RouteDefinition>> route(@PathVariable String id)
-