Package org.apache.juneau.dto.swagger
Class OperationMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
,Operation> NavigableMap<String,
,Operation> SortedMap<String,
Operation>
Map meant for method-name/operation mappings.
Forces entries to be sorted in the following order:
GET PUT POST DELETE OPTIONS HEAD PATCH - Everything else.
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
-
Method Summary
Modifier and TypeMethodDescriptionFluent-style put method.Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Constructor Details
-
OperationMap
public OperationMap()Constructor.
-
-
Method Details
-
append
Fluent-style put method.- Parameters:
httpMethodName
- The HTTP method name.operation
- The operation.- Returns:
- This object.
-