类 BaseWebMvcConfig
java.lang.Object
com.alibaba.csp.sentinel.adapter.spring.webmvc.config.BaseWebMvcConfig
Common base configuration for Spring Web MVC adapter.
- 从以下版本开始:
- 1.7.1
- 作者:
- kaizi2009
-
字段概要
字段修饰符和类型字段说明protected BlockExceptionHandlerprotected RequestOriginParserprotected Stringprotected String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Paired with attr name used to track reference count.voidsetBlockExceptionHandler(BlockExceptionHandler blockExceptionHandler) voidsetOriginParser(RequestOriginParser originParser) voidsetRequestAttributeName(String requestAttributeName)
-
字段详细资料
-
requestAttributeName
-
requestRefName
-
blockExceptionHandler
-
originParser
-
-
构造器详细资料
-
BaseWebMvcConfig
public BaseWebMvcConfig()
-
-
方法详细资料
-
getRequestAttributeName
-
setRequestAttributeName
-
getRequestRefName
Paired with attr name used to track reference count.- 返回:
-
getBlockExceptionHandler
-
setBlockExceptionHandler
-
getOriginParser
-
setOriginParser
-