public class ActuatorHalBrowserEndpoint extends ActuatorHalJsonEndpoint implements ResourceLoaderAware
MvcEndpoint
to expose a HAL browser.Modifier and Type | Class and Description |
---|---|
static class |
ActuatorHalBrowserEndpoint.HalBrowserLocation
HAL Browser properties.
|
DISABLED_RESPONSE
Constructor and Description |
---|
ActuatorHalBrowserEndpoint(ManagementServletContext managementServletContext) |
Modifier and Type | Method and Description |
---|---|
void |
addResourceHandlers(ResourceHandlerRegistry registry) |
String |
browse(HttpServletRequest request) |
static ActuatorHalBrowserEndpoint.HalBrowserLocation |
getHalBrowserLocation(ResourceLoader resourceLoader) |
void |
setResourceLoader(ResourceLoader resourceLoader) |
getEndpointType, getManagementServletContext, getPath, isEnabled, isSensitive, links, setEnabled, setPath, setSensitive
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public ActuatorHalBrowserEndpoint(ManagementServletContext managementServletContext)
@RequestMapping(produces="text/html") public String browse(HttpServletRequest request)
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
public void addResourceHandlers(ResourceHandlerRegistry registry)
addResourceHandlers
in interface WebMvcConfigurer
addResourceHandlers
in class WebMvcConfigurerAdapter
public static ActuatorHalBrowserEndpoint.HalBrowserLocation getHalBrowserLocation(ResourceLoader resourceLoader)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.