@ManagedResource(description="Can be used to list and reset the reverse proxy routes") public class RoutesEndpoint extends Object implements org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint, org.springframework.context.ApplicationEventPublisherAware
| Constructor and Description |
|---|
RoutesEndpoint(RouteLocator routes) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.springframework.boot.actuate.endpoint.Endpoint<?>> |
getEndpointType() |
String |
getPath() |
Map<String,String> |
getRoutes() |
boolean |
isSensitive() |
Map<String,String> |
reset() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
@Autowired public RoutesEndpoint(RouteLocator routes)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware@RequestMapping(method=POST) @ResponseBody @ManagedOperation public Map<String,String> reset()
@RequestMapping(method=GET) @ResponseBody @ManagedAttribute public Map<String,String> getRoutes()
public String getPath()
getPath in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointpublic boolean isSensitive()
isSensitive in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointpublic Class<? extends org.springframework.boot.actuate.endpoint.Endpoint<?>> getEndpointType()
getEndpointType in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointCopyright © 2016 Pivotal Software, Inc.. All rights reserved.