public class PathMapper extends java.util.HashMap<java.lang.String,RequestHandler[]>
| Constructor and Description |
|---|
PathMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String path,
int[] methods,
RequestHandler handler) |
RequestHandler |
find(java.lang.String path,
int method) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic void add(java.lang.String path,
int[] methods,
RequestHandler handler)
public RequestHandler find(java.lang.String path, int method)