@RestController @RequestMapping(value="${management.context-path:/application}/gateway") public class GatewayWebfluxEndpoint extends Object implements org.springframework.context.ApplicationEventPublisherAware
Constructor and Description |
---|
GatewayWebfluxEndpoint(RouteDefinitionLocator routeDefinitionLocator,
List<GlobalFilter> globalFilters,
List<GatewayFilterFactory> GatewayFilters,
RouteDefinitionWriter routeDefinitionWriter,
RouteLocator routeLocator) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HashMap<String,Object>> |
combinedfilters(String id) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> |
delete(String id) |
reactor.core.publisher.Mono<HashMap<String,Object>> |
globalfilters() |
reactor.core.publisher.Mono<Void> |
refresh() |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RouteDefinition>> |
route(String id) |
reactor.core.publisher.Mono<HashMap<String,Object>> |
routefilers() |
reactor.core.publisher.Mono<Map<String,List>> |
routes() |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> |
save(String id,
reactor.core.publisher.Mono<RouteDefinition> route) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
public GatewayWebfluxEndpoint(RouteDefinitionLocator routeDefinitionLocator, List<GlobalFilter> globalFilters, List<GatewayFilterFactory> GatewayFilters, RouteDefinitionWriter routeDefinitionWriter, RouteLocator routeLocator)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
@PostMapping(value="/refresh") public reactor.core.publisher.Mono<Void> refresh()
@GetMapping(value="/globalfilters") public reactor.core.publisher.Mono<HashMap<String,Object>> globalfilters()
@GetMapping(value="/routefilters") public reactor.core.publisher.Mono<HashMap<String,Object>> routefilers()
@PostMapping(value="/routes/{id}") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> save(@PathVariable String id, @RequestBody reactor.core.publisher.Mono<RouteDefinition> route)
@DeleteMapping(value="/routes/{id}") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> delete(@PathVariable String id)
@GetMapping(value="/routes/{id}") public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RouteDefinition>> route(@PathVariable String id)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.