@ManagementContextConfiguration @ConditionalOnClass(value=org.springframework.hateoas.Link.class) @ConditionalOnWebApplication @ConditionalOnBean(value=HttpMessageConverters.class) @Conditional(value=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration.EndpointHypermediaEnabledCondition.class) @EnableConfigurationProperties(value=ResourceProperties.class) public class EndpointWebMvcHypermediaManagementContextConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EndpointWebMvcHypermediaManagementContextConfiguration.ActuatorEndpointLinksAdvice
Controller advice that adds links to the actuator endpoint's path.
|
Constructor and Description |
---|
EndpointWebMvcHypermediaManagementContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.hateoas.hal.DefaultCurieProvider |
curieProvider(ServerProperties server,
ManagementServerProperties management,
DocsMvcEndpoint endpoint) |
HalJsonMvcEndpoint |
halJsonMvcEndpoint(ManagementServletContext managementServletContext,
ResourceProperties resources,
org.springframework.core.io.ResourceLoader resourceLoader) |
ManagementServletContext |
managementServletContext(ManagementServerProperties properties) |
public EndpointWebMvcHypermediaManagementContextConfiguration()
@Bean public ManagementServletContext managementServletContext(ManagementServerProperties properties)
@Bean @ConditionalOnEnabledEndpoint(value="actuator") @ConditionalOnMissingBean public HalJsonMvcEndpoint halJsonMvcEndpoint(ManagementServletContext managementServletContext, ResourceProperties resources, org.springframework.core.io.ResourceLoader resourceLoader)
@Bean @ConditionalOnBean(value=DocsMvcEndpoint.class) @ConditionalOnMissingBean(value=org.springframework.hateoas.hal.CurieProvider.class) @ConditionalOnProperty(prefix="endpoints.docs.curies", name="enabled", matchIfMissing=false) public org.springframework.hateoas.hal.DefaultCurieProvider curieProvider(ServerProperties server, ManagementServerProperties management, DocsMvcEndpoint endpoint)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.