| Constructor and Description |
|---|
Builder(boolean throwOnConflict) |
| Modifier and Type | Method and Description |
|---|---|
PathTrie.Builder<T> |
add(com.google.api.server.spi.dispatcher.HttpMethod method,
java.lang.String path,
T value)
Adds a path to the trie.
|
PathTrie<T> |
build() |
public PathTrie.Builder<T> add(com.google.api.server.spi.dispatcher.HttpMethod method, java.lang.String path, T value)
java.lang.IllegalArgumentException - if the path cannot be added to the triejava.lang.NullPointerException - if either path or value are null