public class RouteTable<T> extends ArrayList<RouteTable.Route<T>>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RouteTable.Route<T>
路由记录
|
modCount| 构造器和说明 |
|---|
RouteTable() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
matchAll(String path,
MethodType method)
区配多个目标(根据上上文)
|
T |
matchOne(String path,
MethodType method)
区配一个目标(根据上上文)
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringcontainsAll, equals, hashCodeparallelStream, streampublic T matchOne(String path, MethodType method)
public List<T> matchAll(String path, MethodType method)
Copyright © 2021. All rights reserved.