Package org.simpleframework.http.parse
Class AddressParser.ParameterMap
java.lang.Object
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<String>
,Map<String,
,String> SequencedMap<String,
String>
- Enclosing class:
AddressParser
The
ParameterMap
is uses to store the parameters
that are to be encoded in to the address. This will append all
of the parameters to the end of the path. These can later be
extracted by parsing the address.-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, removeEldestEntry, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, values
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, size
Methods inherited from class java.util.AbstractMap
equals, hashCode
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
Methods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry
-
Constructor Details
-
ParameterMap
private ParameterMap()
-
-
Method Details
-
encode
This will return the parameters encoded in such a way that it can be appended to the end of the path. These parameters can be added to the address such that they do not form a query parameter. Values such as session identifiers are often added as the path parameters to the address.- Returns:
- this returns the representation of the parameters
-
toString
This will return the parameters encoded in such a way that it can be appended to the end of the path. These parameters can be added to the address such that they do not form a query parameter. Values such as session identifiers are often added as the path parameters to the address.- Overrides:
toString
in classAbstractMap<String,
String> - Returns:
- this returns the representation of the parameters
-