@ControllerEndpoint(id="hawtio") public class HawtioEndpoint extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
HawtioEndpoint(EndpointPathResolver endpointPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
protected String |
getIndexHtmlRedirect(javax.servlet.http.HttpServletRequest request) |
List<HawtPlugin> |
getPlugins() |
String |
redirectRootToIndexPage(javax.servlet.http.HttpServletRequest request) |
void |
setPlugins(List<HawtPlugin> plugins) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic HawtioEndpoint(EndpointPathResolver endpointPath)
public void setPlugins(List<HawtPlugin> plugins)
@RequestMapping(value={"","/"},
produces="text/html")
public String redirectRootToIndexPage(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/plugin") @ResponseBody public List<HawtPlugin> getPlugins()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerprotected String getIndexHtmlRedirect(javax.servlet.http.HttpServletRequest request)
Copyright © 2018 JBoss by Red Hat. All rights reserved.