public class HalBrowserMvcEndpoint extends HalJsonMvcEndpoint implements 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(ResourceHandlerRegistry registry) |
String |
browse(HttpServletRequest request) |
static HalBrowserMvcEndpoint.HalBrowserLocation |
getHalBrowserLocation(ResourceLoader resourceLoader) |
void |
setResourceLoader(ResourceLoader resourceLoader) |
getManagementServletContext, linksgetNamegetEndpointType, 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 HalBrowserMvcEndpoint(ManagementServletContext managementServletContext)
@RequestMapping(produces="text/html") public String browse(HttpServletRequest request)
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader in interface ResourceLoaderAwarepublic void addResourceHandlers(ResourceHandlerRegistry registry)
addResourceHandlers in interface WebMvcConfigurerpublic static HalBrowserMvcEndpoint.HalBrowserLocation getHalBrowserLocation(ResourceLoader resourceLoader)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.