类 OHSInterceptorConfig

java.lang.Object
xyz.raylab.ohs.interceptor.config.OHSInterceptorConfig
所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@ComponentScan(basePackages="xyz.raylab.ohs.interceptor") @EnableConfigurationProperties(OHSOperationLogProperties.class) public class OHSInterceptorConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • 构造器概要

    构造器
    构造器
    说明
    OHSInterceptorConfig(OHSOperationLogInterceptor operationLogInterceptor, org.springframework.context.ApplicationContext applicationContext, OHSOperationLogProperties operationLogProperties)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     
    org.springframework.boot.web.servlet.FilterRegistrationBean<AuthOperationLogFilter>
     

    从类继承的方法 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, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • 构造器详细资料

  • 方法详细资料

    • addInterceptors

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

      @Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<AuthOperationLogFilter> authOperationLogFilterRegistrationBean()