类 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.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
EndpointWebMvcHypermediaManagementContextConfiguration.ActuatorEndpointLinksAdvice
Controller advice that adds links to the actuator endpoint's path.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
EndpointWebMvcHypermediaManagementContextConfiguration
public EndpointWebMvcHypermediaManagementContextConfiguration()
方法详细资料
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)