@ManagementContextConfiguration @ConditionalOnClass(value=org.springframework.hateoas.Link.class) @ConditionalOnWebApplication @ConditionalOnBean(value=HttpMessageConverters.class) @EnableConfigurationProperties(value=ResourceProperties.class) public class EndpointWebMvcHypermediaManagementContextConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EndpointWebMvcHypermediaManagementContextConfiguration.LinksConfiguration
Configuration for Endpoint links.
|
protected static class |
EndpointWebMvcHypermediaManagementContextConfiguration.MissingSpringDataRestResourceCondition
SpringBootCondition to detect the Spring Data REST HAL browser. |
Constructor and Description |
---|
EndpointWebMvcHypermediaManagementContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
ActuatorDocsEndpoint |
actuatorDocsEndpoint(ManagementServerProperties management) |
org.springframework.hateoas.hal.DefaultCurieProvider |
curieProvider(ServerProperties server,
ManagementServerProperties management,
ActuatorDocsEndpoint endpoint) |
HalBrowserEndpoint |
halBrowserMvcEndpoint(ManagementServerProperties management,
ResourceProperties resources) |
public EndpointWebMvcHypermediaManagementContextConfiguration()
@Bean @ConditionalOnResource(resources="classpath:/META-INF/resources/webjars/hal-browser/b7669f1-1") public HalBrowserEndpoint halBrowserMvcEndpoint(ManagementServerProperties management, ResourceProperties resources)
@Bean @ConditionalOnResource(resources="classpath:/META-INF/resources/spring-boot-actuator/docs/index.html") public ActuatorDocsEndpoint actuatorDocsEndpoint(ManagementServerProperties management)
@Bean @ConditionalOnBean(value=ActuatorDocsEndpoint.class) @ConditionalOnMissingBean(value=org.springframework.hateoas.hal.CurieProvider.class) public org.springframework.hateoas.hal.DefaultCurieProvider curieProvider(ServerProperties server, ManagementServerProperties management, ActuatorDocsEndpoint endpoint)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.