Package one.nio.http
Class PathMapper
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,RequestHandler[]>
Finds a RequestHandler by the given @Path and HTTP method.
Uses an embedded HashMap for performance reasons.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
PathMapper
public PathMapper()
-
-
Method Details
-
add
-
find
-