@ConfigurationProperties(prefix="endpoints.docs") public class DocsMvcEndpoint extends AbstractNamedMvcEndpoint
MvcEndpoint
to expose actuator documentation.Modifier and Type | Class and Description |
---|---|
static class |
DocsMvcEndpoint.Curies
Properties of the default CurieProvider (used for adding docs links).
|
DISABLED_RESPONSE
Constructor and Description |
---|
DocsMvcEndpoint(ManagementServletContext managementServletContext) |
Modifier and Type | Method and Description |
---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
String |
browse() |
DocsMvcEndpoint.Curies |
getCuries() |
String |
redirect() |
getName
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpointType, getPath, isSensitive
public DocsMvcEndpoint(ManagementServletContext managementServletContext)
public DocsMvcEndpoint.Curies getCuries()
@RequestMapping(value="/", produces="text/html") public String browse()
@RequestMapping(value="", produces="text/html") public String redirect()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addResourceHandlers
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.