public interface Routing<T>
| Modifier and Type | Method and Description |
|---|---|
int |
degrees(MethodType method2,
String path2,
String version2)
匹配程度(0,不匹配;1,匹配路径;2,完全匹配)
|
int |
index()
顺序位
|
boolean |
matches(MethodType method2,
String path2,
String version2)
是否匹配
|
MethodType |
method()
方法
|
String |
path()
路径
|
T |
target()
路由目标
|
boolean |
test(String path2,
String version2)
测试路径
|
String |
version()
版本号
|
int index()
String path()
String version()
MethodType method()
T target()
boolean matches(MethodType method2, String path2, String version2)
int degrees(MethodType method2, String path2, String version2)
Copyright © 2025. All rights reserved.