public class Headers extends KeysToMultiValues<Header,Headers>
Constructor and Description |
---|
Headers(Header... headers) |
Headers(List<Header> headers) |
Headers(com.google.common.collect.Multimap<NottableString,NottableString> headers) |
Modifier and Type | Method and Description |
---|---|
Header |
build(NottableString name,
Collection<NottableString> values) |
Headers |
clone() |
static Headers |
headers(Header... headers) |
Headers |
withKeyMatchStyle(KeyMatchStyle keyMatchStyle) |
containsEntry, containsEntry, equals, getEntries, getKeyMatchStyle, getMultimap, getValues, getValues, hashCode, isEmpty, keySet, remove, remove, replaceEntry, replaceEntry, replaceEntryIfExists, withEntries, withEntries, withEntries, withEntry, withEntry, withEntry, withEntry, withEntry
toString
fieldsExcludedFromEqualsAndHashCode
public Headers(Header... headers)
public Headers(com.google.common.collect.Multimap<NottableString,NottableString> headers)
public Header build(NottableString name, Collection<NottableString> values)
build
in class KeysToMultiValues<Header,Headers>
public Headers withKeyMatchStyle(KeyMatchStyle keyMatchStyle)
withKeyMatchStyle
in class KeysToMultiValues<Header,Headers>
public Headers clone()
clone
in class KeysToMultiValues<Header,Headers>
Copyright © 2022. All rights reserved.