类 SentinelWebTotalInterceptor
java.lang.Object
com.alibaba.csp.sentinel.adapter.spring.webmvc.AbstractSentinelInterceptor
com.alibaba.csp.sentinel.adapter.spring.webmvc.SentinelWebTotalInterceptor
- 所有已实现的接口:
org.springframework.web.servlet.HandlerInterceptor
The web interceptor for all requests, which will unify all URL as
a single resource name (configured in
SentinelWebMvcTotalConfig).- 从以下版本开始:
- 1.7.1
- 作者:
- kaizi2009
-
字段概要
从类继承的字段 com.alibaba.csp.sentinel.adapter.spring.webmvc.AbstractSentinelInterceptor
SENTINEL_SPRING_WEB_CONTEXT_NAME -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected StringgetResourceName(jakarta.servlet.http.HttpServletRequest request) Return the resource name of the target web resource.从类继承的方法 com.alibaba.csp.sentinel.adapter.spring.webmvc.AbstractSentinelInterceptor
afterCompletion, getContextName, getEntryInRequest, handleBlockException, parseOrigin, postHandle, preHandle, removeEntryInRequest, traceExceptionAndExit
-
构造器详细资料
-
SentinelWebTotalInterceptor
-
SentinelWebTotalInterceptor
public SentinelWebTotalInterceptor()
-
-
方法详细资料
-
getResourceName
从类复制的说明:AbstractSentinelInterceptorReturn the resource name of the target web resource.- 指定者:
getResourceName在类中AbstractSentinelInterceptor- 参数:
request- web request- 返回:
- the resource name of the target web resource.
-