类 SentinelWebPrefixInterceptor

所有已实现的接口:
org.springframework.web.servlet.HandlerInterceptor

public class SentinelWebPrefixInterceptor extends SentinelWebInterceptor
Spring Web MVC interceptor that integrates with Sentinel.

This will record resource as `${httpMethod}:${uri}`.

从以下版本开始:
1.8.8
  • 构造器详细资料

    • SentinelWebPrefixInterceptor

      public SentinelWebPrefixInterceptor()
  • 方法详细资料

    • getResourceName

      protected String getResourceName(jakarta.servlet.http.HttpServletRequest request)
      从类复制的说明: AbstractSentinelInterceptor
      Return the resource name of the target web resource.
      覆盖:
      getResourceName 在类中 SentinelWebInterceptor
      参数:
      request - web request
      返回:
      the resource name of the target web resource.