Class AbstractGatewayControllerEndpoint

java.lang.Object
org.springframework.cloud.gateway.actuate.AbstractGatewayControllerEndpoint
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware
Direct Known Subclasses:
GatewayControllerEndpoint, GatewayLegacyControllerEndpoint

public class AbstractGatewayControllerEndpoint extends Object implements org.springframework.context.ApplicationEventPublisherAware
Author:
Spencer Gibb
  • Field Details

    • routeDefinitionLocator

      protected RouteDefinitionLocator routeDefinitionLocator
    • globalFilters

      protected List<GlobalFilter> globalFilters
    • GatewayFilters

      protected List<GatewayFilterFactory> GatewayFilters
    • routePredicates

      protected List<RoutePredicateFactory> routePredicates
    • routeDefinitionWriter

      protected RouteDefinitionWriter routeDefinitionWriter
    • routeLocator

      protected RouteLocator routeLocator
    • publisher

      protected org.springframework.context.ApplicationEventPublisher publisher
    • webEndpointProperties

      protected org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties webEndpointProperties
  • Constructor Details

  • Method Details

    • setApplicationEventPublisher

      public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
      Specified by:
      setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware
    • refresh

      @PostMapping("/refresh") public reactor.core.publisher.Mono<Void> refresh(@RequestParam(value="metadata",required=false) List<String> byMetadata)
    • globalfilters

      @GetMapping("/globalfilters") public reactor.core.publisher.Mono<HashMap<String,Object>> globalfilters()
    • routefilers

      @GetMapping("/routefilters") public reactor.core.publisher.Mono<HashMap<String,Object>> routefilers()
    • routepredicates

      @GetMapping("/routepredicates") public reactor.core.publisher.Mono<HashMap<String,Object>> routepredicates()
    • save

      @PostMapping("/routes/{id}") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> save(@PathVariable String id, @RequestBody RouteDefinition route)
    • save

      @PostMapping("/routes") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> save(@RequestBody List<RouteDefinition> routes)
    • delete

      @DeleteMapping("/routes/{id}") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> delete(@PathVariable String id)
    • combinedfilters

      @GetMapping("/routes/{id}/combinedfilters") public reactor.core.publisher.Mono<HashMap<String,Object>> combinedfilters(@PathVariable String id)