带点的Spring Cloud Gateway路径

时间:2018-12-04 12:07:37

标签: java spring spring-cloud spring-cloud-gateway

如何将请求与带点的路径或标头匹配?我试图用两个和四个反斜杠将其转义,但没有用。示例:

builder.routes()
.route(r.host("form.internal").uri("http://form:8080"))
.route(r -> r.path("/form.internal/**").filters(f ->f.stripPrefix(1)).uri("http://form:8080"))
.build()

0 个答案:

没有答案
相关问题