类 ExceptionNoticeWebListenConfig

java.lang.Object
top.codef.config.exception.ExceptionNoticeWebListenConfig
所有已实现的接口:
org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations, org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @ConditionalOnWebApplication @ConditionalOnExceptionNotice @ConditionalOnProperty(name="prometheus.exceptionnotice.listen-type", havingValue="web") public class ExceptionNoticeWebListenConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
  • 构造器详细资料

    • ExceptionNoticeWebListenConfig

      public ExceptionNoticeWebListenConfig()
  • 方法详细资料

    • extendHandlerExceptionResolvers

      public void extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> resolvers)
      指定者:
      extendHandlerExceptionResolvers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • ExceptionNoticeHandlerResolver

      public ExceptionNoticeHandlerResolver ExceptionNoticeHandlerResolver()
    • addInterceptors

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      指定者:
      addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • clearBodyInterceptor

      @Bean public ClearBodyInterceptor clearBodyInterceptor()
    • currentRequestHeaderResolver

      @Bean @ConditionalOnMissingBean(CurrentRequestHeaderResolver.class) public CurrentRequestHeaderResolver currentRequestHeaderResolver()
    • currentRequetBodyResolver

      @Bean public CurrentRequetBodyResolver currentRequetBodyResolver()
    • getRequestMappingHandlerAdapter

      public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
      指定者:
      getRequestMappingHandlerAdapter 在接口中 org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations