public abstract class KeysToMultiValues<T extends KeyToMultiValue,K extends KeysToMultiValues> extends ObjectWithJsonToString
| Constructor and Description |
|---|
KeysToMultiValues() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
build(NottableString name,
Collection<NottableString> values) |
boolean |
containsEntry(String name) |
boolean |
containsEntry(String name,
String value) |
boolean |
equals(Object o) |
List<T> |
getEntries() |
com.google.common.collect.Multimap<NottableString,NottableString> |
getMultimap() |
List<String> |
getValues(String name) |
int |
hashCode() |
boolean |
isEmpty() |
K |
remove(NottableString name) |
K |
remove(String name) |
CaseInsensitiveRegexMultiMap |
toCaseInsensitiveRegexMultiMap(MockServerLogger mockServerLogger,
boolean controlPlaneMatcher) |
K |
withEntries(List<T> entries) |
K |
withEntries(Map<String,List<String>> entries) |
K |
withEntries(T... entries) |
K |
withEntry(NottableString name,
List<NottableString> values) |
K |
withEntry(NottableString name,
NottableString... values) |
K |
withEntry(String name,
List<String> values) |
K |
withEntry(String name,
String... values) |
K |
withEntry(T entry) |
toStringfieldsExcludedFromEqualsAndHashCode, keypublic abstract T build(NottableString name, Collection<NottableString> values)
@SafeVarargs public final K withEntries(T... entries)
public K withEntry(NottableString name, List<NottableString> values)
public K withEntry(NottableString name, NottableString... values)
public K remove(NottableString name)
public com.google.common.collect.Multimap<NottableString,NottableString> getMultimap()
public boolean containsEntry(String name)
public CaseInsensitiveRegexMultiMap toCaseInsensitiveRegexMultiMap(MockServerLogger mockServerLogger, boolean controlPlaneMatcher)
public boolean isEmpty()
public boolean equals(Object o)
equals in class ObjectWithReflectiveEqualsHashCodeToStringpublic int hashCode()
hashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2019. All rights reserved.