@ManagedResource(description="Can be used to reset the reverse proxy routes")
public class RoutesMvcEndpoint
extends org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
implements org.springframework.context.ApplicationEventPublisherAware
Constructor and Description |
---|
RoutesMvcEndpoint(RoutesEndpoint endpoint,
RouteLocator routes) |
Modifier and Type | Method and Description |
---|---|
Object |
invokeRouteDetails(String format)
Expose Zuul
Route information with details. |
Object |
reset() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
invoke
public RoutesMvcEndpoint(RoutesEndpoint endpoint, RouteLocator routes)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
@RequestMapping(method=POST) @ResponseBody @ManagedOperation public Object reset()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.