类 ApiRequestFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
cn.jrack.springboot.web.core.filter.ApiRequestFilter
所有已实现的接口:
javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

public abstract class ApiRequestFilter extends org.springframework.web.filter.OncePerRequestFilter
过滤 /admin-api、/app-api 等 API 请求的过滤器
作者:
ZhaoYang
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final JrackWebProperties
     

    从类继承的字段 org.springframework.web.filter.OncePerRequestFilter

    ALREADY_FILTERED_SUFFIX

    从类继承的字段 org.springframework.web.filter.GenericFilterBean

    logger
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected boolean
    shouldNotFilter(javax.servlet.http.HttpServletRequest request)
     

    从类继承的方法 org.springframework.web.filter.OncePerRequestFilter

    doFilter, doFilterInternal, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch

    从类继承的方法 org.springframework.web.filter.GenericFilterBean

    addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

  • 构造器详细资料

    • ApiRequestFilter

      public ApiRequestFilter()
  • 方法详细资料

    • shouldNotFilter

      protected boolean shouldNotFilter(javax.servlet.http.HttpServletRequest request)
      覆盖:
      shouldNotFilter 在类中 org.springframework.web.filter.OncePerRequestFilter