public class OperationMap extends TreeMap<String,Operation>
Forces entries to be sorted in the following order:
GET
PUT
POST
DELETE
OPTIONS
HEAD
PATCH
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OperationMap()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OperationMap |
append(String httpMethodName,
Operation operation)
Fluent-style put method.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
public OperationMap()
public OperationMap append(String httpMethodName, Operation operation)
httpMethodName
- The HTTP method name.operation
- The operation.Copyright © 2018 Apache. All rights reserved.