@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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
void |
setInitParameters(Properties initParameters) |
void |
setServletContext(javax.servlet.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(javax.servlet.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
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.