类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) voidextendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> resolvers) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator从接口继承的方法 org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
getExceptionHandlerExceptionResolver, getRequestMappingHandlerMapping
-
构造器详细资料
-
ExceptionNoticeWebListenConfig
public ExceptionNoticeWebListenConfig()
-
-
方法详细资料
-
extendHandlerExceptionResolvers
public void extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> resolvers) - 指定者:
extendHandlerExceptionResolvers在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
ExceptionNoticeHandlerResolver
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - 指定者:
addInterceptors在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
clearBodyInterceptor
-
currentRequestHeaderResolver
@Bean @ConditionalOnMissingBean(CurrentRequestHeaderResolver.class) public CurrentRequestHeaderResolver currentRequestHeaderResolver() -
currentRequetBodyResolver
-
getRequestMappingHandlerAdapter
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()- 指定者:
getRequestMappingHandlerAdapter在接口中org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
-