@ConfigurationProperties(prefix="endpoints.jolokia", ignoreUnknownFields=false) @HypermediaDisabled public class JolokiaMvcEndpoint extends AbstractMvcEndpoint implements InitializingBean, ApplicationContextAware, ServletContextAware
MvcEndpoint
to expose Jolokia.DISABLED_RESPONSE
Constructor and Description |
---|
JolokiaMvcEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
ModelAndView |
handle(HttpServletRequest request,
HttpServletResponse response) |
void |
setApplicationContext(ApplicationContext context) |
void |
setInitParameters(Properties initParameters) |
void |
setServletContext(ServletContext servletContext) |
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void setServletContext(ServletContext servletContext)
setServletContext
in interface ServletContextAware
public void setInitParameters(Properties initParameters)
public final void setApplicationContext(ApplicationContext context) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
@RequestMapping(value="/**") public ModelAndView handle(HttpServletRequest request, HttpServletResponse response) throws Exception
Exception
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.