@Configuration public class CustomSentinelExceptionHandler extends Object implements com.alibaba.csp.sentinel.adapter.spring.webmvc.callback.BlockExceptionHandler
| 构造器和说明 |
|---|
CustomSentinelExceptionHandler() |
public void handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.alibaba.csp.sentinel.slots.block.BlockException ex)
throws Exception
handle 在接口中 com.alibaba.csp.sentinel.adapter.spring.webmvc.callback.BlockExceptionHandlerExceptionCopyright © 2023. All rights reserved.