@ConfigurationProperties(prefix="endpoints.jolokia", ignoreUnknownFields=false) @HypermediaDisabled public class JolokiaMvcEndpoint extends AbstractNamedMvcEndpoint implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.beans.factory.DisposableBean
MvcEndpoint
to expose Jolokia.DISABLED_RESPONSE
Constructor and Description |
---|
JolokiaMvcEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
org.springframework.web.servlet.ModelAndView |
handle(HttpServletRequest request,
HttpServletResponse response) |
void |
setApplicationContext(org.springframework.context.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 org.springframework.beans.factory.InitializingBean
Exception
public void setServletContext(ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
public void setInitParameters(Properties initParameters)
public final void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
@RequestMapping(value="/**") public org.springframework.web.servlet.ModelAndView handle(HttpServletRequest request, HttpServletResponse response) throws Exception
Exception
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.