@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(ResourceHandlerRegistry registry) |
String |
browse() |
DocsMvcEndpoint.Curies |
getCuries() |
String |
redirect() |
getName
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpointType, getPath, isSensitive
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
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(ResourceHandlerRegistry registry)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.