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/03/29 07:04:50 UTC

[GitHub] [servicecomb-java-chassis] 13212199211 opened a new issue #2329: 接口声明是否支持/*这种通配的匹配方式

13212199211 opened a new issue #2329:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2329


   接口声明是否支持/*这种通配的匹配方式,例如springmvc中的@RequestMapping("/**")来通配所有请求 ,从serviceComb的源码中看貌似是不支持,那如果想做uri通配需要如何操作


-- 
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



[GitHub] [servicecomb-java-chassis] 13212199211 closed issue #2329: 接口声明是否支持/*这种通配的匹配方式

Posted by GitBox <gi...@apache.org>.
13212199211 closed issue #2329:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2329


   


-- 
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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2329: 接口声明是否支持/*这种通配的匹配方式

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2329:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2329#issuecomment-809849175


   可以使用 `/{path: .+}`, 参考: https://howtodoinjava.com/resteasy/jaxrs-path-uri-matching/


-- 
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



[GitHub] [servicecomb-java-chassis] 13212199211 commented on issue #2329: 接口声明是否支持/*这种通配的匹配方式

Posted by GitBox <gi...@apache.org>.
13212199211 commented on issue #2329:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2329#issuecomment-809893570


   好的多谢,经实践,使用/{path: .+}可以实现通配


-- 
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



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2329: 接口声明是否支持/*这种通配的匹配方式

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #2329:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2329#issuecomment-809849175


   可以使用 `/{path: .+}`, 参考: https://howtodoinjava.com/resteasy/jaxrs-path-uri-matching/ , spring MVC 也支持这个正则表达式语法


-- 
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