public class PathUtil extends Object
String[] splits= url.split("/")
List
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PathUtil.PathPair |
| 构造器和说明 |
|---|
PathUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
resolvePathVariable(String rawPath,
List<ArgInfo> argInfos,
List<Object> args)
generate real path from rawPath according to argInfo and method args
|
static void |
setArgInfoSplitIndex(String rawPath,
List<ArgInfo> argInfos)
parse pathVariable index from url by annotation info
|
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.