@Endpoint(id="routes") public class RoutesEndpoint extends Object implements org.springframework.context.ApplicationEventPublisherAware
Modifier and Type | Class and Description |
---|---|
static class |
RoutesEndpoint.RouteDetails
Container for exposing Zuul
Route details as JSON. |
Constructor and Description |
---|
RoutesEndpoint(RouteLocator routes) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
invoke() |
Object |
invokeRouteDetails(String format)
Expose Zuul
Route information with details. |
Object |
reset() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
public RoutesEndpoint(RouteLocator routes)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
@WriteOperation public Object reset()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.