类 WebmvcExceptionHandlerAutoConfigure.CustomerBlockExceptionHandler
java.lang.Object
net.guerlab.cloud.sentinel.webmvc.autoconfigure.WebmvcExceptionHandlerAutoConfigure.CustomerBlockExceptionHandler
- 所有已实现的接口:
com.alibaba.csp.sentinel.adapter.spring.webmvc.callback.BlockExceptionHandler
public static class WebmvcExceptionHandlerAutoConfigure.CustomerBlockExceptionHandler
extends Object
implements com.alibaba.csp.sentinel.adapter.spring.webmvc.callback.BlockExceptionHandler
自定义限流处理.
- 作者:
- guer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidhandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.alibaba.csp.sentinel.slots.block.BlockException ex)
-
构造器详细资料
-
CustomerBlockExceptionHandler
public CustomerBlockExceptionHandler()
-
-
方法详细资料
-
handle
public void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.alibaba.csp.sentinel.slots.block.BlockException ex) - 指定者:
handle在接口中com.alibaba.csp.sentinel.adapter.spring.webmvc.callback.BlockExceptionHandler
-