You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/05/29 10:59:54 UTC

[GitHub] [servicecomb-java-chassis] G-Jay-R commented on issue #2396: CSE升级后,自定义的错误处理机制方法失效,类继承AbstractEdgeDispatcher

G-Jay-R commented on issue #2396:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2396#issuecomment-850814073


   在此类NonSwagerDispatcher中完成了调用的:
   ```java
   @Override
       public void init(Router router) {
           String regex = "(?!.*edgeservice).*";
   
           urlDispatcherService = BeanUtils.getBean("urlDispatcherService");
   
           // CSE框架依赖
           router.routeWithRegex(regex).handler(CookieHandler.create());
   
           router.routeWithRegex(regex).failureHandler(this::onFailure).handler(this::onRequest);
       }
   ```
   不明白为什么没有执行?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org