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() |
boolean |
isEmpty() |
CaseInsensitiveRegexHashMap |
toCaseInsensitiveRegexMultiMap() |
CaseInsensitiveRegexHashMap |
toCaseInsensitiveRegexMultiMap(List<T> entries) |
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, key
public CaseInsensitiveRegexHashMap toCaseInsensitiveRegexMultiMap(List<T> entries)
public abstract T build(NottableString name, NottableString value)
public K withEntry(NottableString name, NottableString value)
public CaseInsensitiveRegexHashMap toCaseInsensitiveRegexMultiMap()
public boolean isEmpty()
Copyright © 2018. All rights reserved.