Class EndpointWebMvcHypermediaManagementContextConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration
@ManagementContextConfiguration @ConditionalOnClass(org.springframework.hateoas.Link.class) @ConditionalOnWebApplication @ConditionalOnBean(org.springframework.boot.autoconfigure.web.HttpMessageConverters.class) @Conditional(org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration.EndpointHypermediaEnabledCondition.class) @EnableConfigurationProperties(org.springframework.boot.autoconfigure.web.ResourceProperties.class) public class EndpointWebMvcHypermediaManagementContextConfiguration extends Object
Configuration for hypermedia in HTTP endpoints.- Since:
- 1.3.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndpointWebMvcHypermediaManagementContextConfiguration.ActuatorEndpointLinksAdvice
Controller advice that adds links to the actuator endpoint's path.
Constructor Summary
Constructors Constructor Description EndpointWebMvcHypermediaManagementContextConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.hateoas.hal.DefaultCurieProvider
curieProvider(org.springframework.boot.autoconfigure.web.ServerProperties server, ManagementServerProperties management, DocsMvcEndpoint endpoint)
HalJsonMvcEndpoint
halJsonMvcEndpoint(ManagementServletContext managementServletContext, org.springframework.boot.autoconfigure.web.ResourceProperties resources, org.springframework.core.io.ResourceLoader resourceLoader)
ManagementServletContext
managementServletContext(ManagementServerProperties properties)
Constructor Detail
EndpointWebMvcHypermediaManagementContextConfiguration
public EndpointWebMvcHypermediaManagementContextConfiguration()
Method Detail
managementServletContext
@Bean public ManagementServletContext managementServletContext(ManagementServerProperties properties)
halJsonMvcEndpoint
@Bean @ConditionalOnEnabledEndpoint("actuator") @ConditionalOnMissingBean public HalJsonMvcEndpoint halJsonMvcEndpoint(ManagementServletContext managementServletContext, org.springframework.boot.autoconfigure.web.ResourceProperties resources, org.springframework.core.io.ResourceLoader resourceLoader)
curieProvider
@Bean @ConditionalOnBean(DocsMvcEndpoint.class) @ConditionalOnMissingBean(org.springframework.hateoas.hal.CurieProvider.class) @ConditionalOnProperty(prefix="endpoints.docs.curies", name="enabled", matchIfMissing=false) public org.springframework.hateoas.hal.DefaultCurieProvider curieProvider(org.springframework.boot.autoconfigure.web.ServerProperties server, ManagementServerProperties management, DocsMvcEndpoint endpoint)