@ConfigurationProperties(prefix="endpoints.jolokia", ignoreUnknownFields=false) @HypermediaDisabled public class JolokiaMvcEndpoint extends AbstractNamedMvcEndpoint implements InitializingBean, ApplicationContextAware, ServletContextAware, DisposableBean
MvcEndpoint
to expose Jolokia.DISABLED_RESPONSE
Constructor and Description |
---|
JolokiaMvcEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
ModelAndView |
handle(HttpServletRequest request,
HttpServletResponse response) |
void |
setApplicationContext(ApplicationContext context) |
void |
setInitParameters(Properties initParameters) |
void |
setServletContext(ServletContext servletContext) |
getName
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpointType, getPath, isSensitive
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
public void destroy()
destroy
in interface DisposableBean
@RequestMapping(value="/**") public ModelAndView handle(HttpServletRequest request, HttpServletResponse response) throws Exception
Exception
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.