public class PathMapper extends HashMap<String,RequestHandler[]>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PathMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String path,
int[] methods,
RequestHandler handler) |
RequestHandler |
find(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, valuesequals, hashCode, toStringpublic void add(String path, int[] methods, RequestHandler handler)
public RequestHandler find(String path, int method)
Copyright © 2019. All rights reserved.