public class HalBrowserMvcEndpoint extends HalJsonMvcEndpoint implements org.springframework.context.ResourceLoaderAware
MvcEndpoint to expose a HAL browser.| Modifier and Type | Class and Description |
|---|---|
static class |
HalBrowserMvcEndpoint.HalBrowserLocation
HAL Browser properties.
|
DISABLED_RESPONSE| Constructor and Description |
|---|
HalBrowserMvcEndpoint(ManagementServletContext managementServletContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
String |
browse(javax.servlet.http.HttpServletRequest request) |
static HalBrowserMvcEndpoint.HalBrowserLocation |
getHalBrowserLocation(org.springframework.core.io.ResourceLoader resourceLoader) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
getManagementServletContext, linksgetEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitiveaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic HalBrowserMvcEndpoint(ManagementServletContext managementServletContext)
@RequestMapping(produces="text/html") public String browse(javax.servlet.http.HttpServletRequest request)
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader in interface org.springframework.context.ResourceLoaderAwarepublic 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.WebMvcConfigurerAdapterpublic static HalBrowserMvcEndpoint.HalBrowserLocation getHalBrowserLocation(org.springframework.core.io.ResourceLoader resourceLoader)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.