Class NameValuePairList
java.lang.Object
org.apache.sling.commons.testing.integration.NameValuePairList
- All Implemented Interfaces:
Iterable<NameValuePair>
A list of name-value pairs.
-
Constructor Summary
ConstructorsConstructorDescriptionNameValuePairList(List<NameValuePair> init) NameValuePairList(Map<String, String> clientNodeProperties) NameValuePairList(NameValuePairList clientNodeProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddOrReplace(String name, String value) voidaddOrReplaceAll(NameValuePairList other) voidclear()iterator()voidprependIfNew(String name, String value) intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NameValuePairList
public NameValuePairList() -
NameValuePairList
-
NameValuePairList
-
NameValuePairList
-
-
Method Details
-
add
-
addIfNew
-
addOrReplace
-
addOrReplaceAll
-
clear
public void clear() -
iterator
- Specified by:
iteratorin interfaceIterable<NameValuePair>
-
prependIfNew
-
size
public int size()
-