Package de.latlon.ets.wfs20.core.client
Class WfsKvpRequest
java.lang.Object
de.latlon.ets.wfs20.core.client.WfsKvpRequest
Encapsulates the parameters of a KVP request (GET).
- Author:
- Lyn Goltz
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WfsKvpRequest
public WfsKvpRequest()
-
-
Method Details
-
addKvp
Add a new key value pair. If the key already exists the old value will be overwritten. If the key isnullthe KVP will be ignored.- Parameters:
key- nevernullvalue- may benull
-
asQueryString
- Returns:
- the KVPs as query string (e.g. key1=value1&key2=value2)
-
removeKvp
Removes the KVP with the passed key, if existing.- Parameters:
key- of the KVP to remove, may benull(nothing happens)
-