public abstract class KeysAndValues<T extends KeyAndValue,K extends KeysAndValues> extends ObjectWithJsonToString
Constructor and Description |
---|
KeysAndValues() |
Modifier and Type | Method and Description |
---|---|
abstract T |
build(NottableString name,
NottableString value) |
List<T> |
getEntries() |
Map<NottableString,NottableString> |
getMap() |
boolean |
isEmpty() |
CaseInsensitiveRegexHashMap |
toCaseInsensitiveRegexMultiMap(MockServerLogger mockServerLogger,
boolean controlPlaneMatcher) |
CaseInsensitiveRegexHashMap |
toCaseInsensitiveRegexMultiMap(MockServerLogger mockServerLogger,
List<T> entries,
boolean controlPlaneMatcher) |
K |
withEntries(List<T> cookies) |
K |
withEntries(T... cookies) |
K |
withEntry(NottableString name,
NottableString value) |
K |
withEntry(String name,
String value) |
K |
withEntry(T cookie) |
toString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode
public CaseInsensitiveRegexHashMap toCaseInsensitiveRegexMultiMap(MockServerLogger mockServerLogger, List<T> entries, boolean controlPlaneMatcher)
public abstract T build(NottableString name, NottableString value)
public K withEntry(NottableString name, NottableString value)
public Map<NottableString,NottableString> getMap()
public CaseInsensitiveRegexHashMap toCaseInsensitiveRegexMultiMap(MockServerLogger mockServerLogger, boolean controlPlaneMatcher)
public boolean isEmpty()
Copyright © 2020. All rights reserved.