- All Implemented Interfaces:
- ResponseBodyAdvice<Object>
- Enclosing class:
- EndpointWebMvcHypermediaManagementContextConfiguration
@ControllerAdvice(assignableTypes=MvcEndpoint.class)
public static class EndpointWebMvcHypermediaManagementContextConfiguration.MvcEndpointAdvice
extends Object
implements ResponseBodyAdvice<Object>
Controller advice that adds links to the existing Actuator endpoints. By default
all the top-level resources are enhanced with a "self" link. Those resources that
could not be enhanced (e.g. "/env/{name}") because their values are "primitive" are
ignored. Those that have values of type Collection (e.g. /trace) are transformed in
to maps, and the original collection value is added with a key equal to the
endpoint name.