| java.lang.Object | |
| ↳ | com.google.gdata.util.httputil.ParamMap |
This class is deprecated.
Use the general com.google.common.collect.Multimap
interface to represent name-value pairs. If order of insertion or support
of duplicate name-value pairs is required, use com.google.common.collect.LinkedListMultimap. For the particular task of
parsing and storing URI parameters, consider UriParameterMap, which is also the type returned
by com.google.gdata.util.common.net.UriBuilder instances for URI query
parameters. If you got here because you use FormUrlDecoder or
CgiParams, then see the deprecation comments in those classes.
Utility data structure for maintaining URL/CGI params.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| map | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
use
Multimap.put(name, value)
| |||||||||||
Currently used only by unit tests.
| |||||||||||
This method is deprecated.
Use
Multimap.get(name) and convert to an array only if
you absolutely have to.
| |||||||||||
This method is deprecated.
Use
Multimap.putAll(name, collection), first converting
an array to a list with Arrays.asList(values) if the collection
is not already available.
| |||||||||||
This method is deprecated.
Use
Multimap.asMap() to get a (String name) ->
(Collection values) mapping and convert to an array only if you
absolutely have to. Or, use the multimap directly.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
This method is deprecated.
use Multimap.put(name, value)
Add a new value for name
| name | |
|---|---|
| value |
Currently used only by unit tests.
| name |
|---|
This method is deprecated.
Use Multimap.get(name) and convert to an array only if
you absolutely have to.
Get list of values associated with name
| name |
|---|
This method is deprecated.
Use Multimap.putAll(name, collection), first converting
an array to a list with Arrays.asList(values) if the collection
is not already available.
Set values for name
| name | |
|---|---|
| values |
This method is deprecated.
Use Multimap.asMap() to get a (String name) ->
(Collection values) mapping and convert to an array only if you
absolutely have to. Or, use the multimap directly.
Returns a Map containing (String name) -> (String[] values) mappings. Runs in O(number of mappings).