我对 URI 模板变量有疑问。
我需要使用以下形式管理 URI:
http://netlocation:port/application_path/{variable}
变量本身可以是一个路径,比如
this/variable/is/a/path
这样完整的 URI 看起来是
http://netlocation:port/application_path/this/variable/is/a/path
我该如何管理?
最佳答案
关于java - 包含路径的 URI 模板变量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8486725/