response.sendError() from HandlerInterceptor vs throw new exception

前端 未结 0 1358
长发绾君心
长发绾君心 2021-01-27 01:06

I\'m trying to stop the request using a HandlerInterceptor in spring boot, and this is the class:

public class MyHandlerInterceptor implements Handle         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题