public class SentinelWebInterceptor extends AbstractSentinelInterceptor
SENTINEL_SPRING_WEB_CONTEXT_NAME| Constructor and Description |
|---|
SentinelWebInterceptor() |
SentinelWebInterceptor(SentinelWebMvcConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getContextName(javax.servlet.http.HttpServletRequest request)
Return the context name of the target web resource.
|
protected String |
getResourceName(javax.servlet.http.HttpServletRequest request)
Return the resource name of the target web resource.
|
afterCompletion, getEntryInRequest, handleBlockException, parseOrigin, postHandle, preHandle, removeEntryInRequest, traceExceptionAndExitpublic SentinelWebInterceptor()
public SentinelWebInterceptor(SentinelWebMvcConfig config)
protected String getResourceName(javax.servlet.http.HttpServletRequest request)
AbstractSentinelInterceptorgetResourceName in class AbstractSentinelInterceptorrequest - web requestprotected String getContextName(javax.servlet.http.HttpServletRequest request)
AbstractSentinelInterceptorgetContextName in class AbstractSentinelInterceptorrequest - web requestCopyright © 2020 Alibaba Group. All rights reserved.