@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() |
getNamegetEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitiveaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndpointType, getPath, isSensitivepublic 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.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2018 Pivotal Software, Inc.. All rights reserved.