类 JolokiaMvcEndpoint

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, MvcEndpoint, NamedMvcEndpoint, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @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.
    • 方法详细资料

      • setServletContext

        public void setServletContext​(javax.servlet.ServletContext servletContext)
        指定者:
        setServletContext 在接口中 org.springframework.web.context.ServletContextAware
      • setApplicationContext

        public final void setApplicationContext​(org.springframework.context.ApplicationContext context)
                                         throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException
      • destroy

        public void destroy()
        指定者:
        destroy 在接口中 org.springframework.beans.factory.DisposableBean
      • handle

        @RequestMapping("/**")
        public org.springframework.web.servlet.ModelAndView handle​(javax.servlet.http.HttpServletRequest request,
                                                                   javax.servlet.http.HttpServletResponse response)
                                                            throws Exception
        抛出:
        Exception