@ConfigurationProperties(value="endpoints.docs") public class DocsMvcEndpoint extends AbstractMvcEndpoint
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() |
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
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)
addResourceHandlers
in interface WebMvcConfigurer
addResourceHandlers
in class WebMvcConfigurerAdapter
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.