@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() |
getNamegetEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndpointType, getPath, isSensitiveaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic 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.