@ControllerAdvice public static class EndpointWebMvcHypermediaManagementContextConfiguration.ActuatorEndpointLinksAdvice extends Object implements ResponseBodyAdvice<Object>
Constructor and Description |
---|
ActuatorEndpointLinksAdvice() |
Modifier and Type | Method and Description |
---|---|
Object |
beforeBodyWrite(Object body,
MethodParameter returnType,
MediaType selectedContentType,
Class<? extends HttpMessageConverter<?>> selectedConverterType,
ServerHttpRequest request,
ServerHttpResponse response) |
void |
init() |
boolean |
supports(MethodParameter returnType,
Class<? extends HttpMessageConverter<?>> converterType) |
@PostConstruct public void init()
public boolean supports(MethodParameter returnType, Class<? extends HttpMessageConverter<?>> converterType)
supports
in interface ResponseBodyAdvice<Object>
public Object beforeBodyWrite(Object body, MethodParameter returnType, MediaType selectedContentType, Class<? extends HttpMessageConverter<?>> selectedConverterType, ServerHttpRequest request, ServerHttpResponse response)
beforeBodyWrite
in interface ResponseBodyAdvice<Object>
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.