@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) |
String |
forwardHawtioRequestToIndexHtml()
Forwards all Angular route URLs to index.html.
|
List<HawtioPlugin> |
getPlugins() |
void |
setPlugins(List<HawtioPlugin> 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<HawtioPlugin> plugins)
@RequestMapping(value={"","{path:^(?:(?!\\bjolokia\\b|auth|css|fonts|img|js|user|oauth|plugins|\\.).)*$}/**"},
produces="text/html")
public String forwardHawtioRequestToIndexHtml()
@RequestMapping(value="/plugin") @ResponseBody public List<HawtioPlugin> getPlugins()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2022 JBoss by Red Hat. All rights reserved.