T
- The type of the sub-class, required for the builder methods such
as HttpFields.withAddTo(String, String)
.Serializable
, Cloneable
, Map<String,List<String>>
, HttpFields<T>
AbstractHeaderFields
, FormFieldsImpl
public abstract class AbstractHttpFields<T extends HttpFields<T>> extends HashMap<String,List<String>> implements HttpFields<T>
HeaderFields
type.AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
Constructor | Description |
---|---|
AbstractHttpFields() |
Instantiates an empty instance.
|
AbstractHttpFields(Map<String,List<String>> aHttpFields) |
Initializes the instance with the fields provided by the given
Map . |
Modifier and Type | Method | Description |
---|---|---|
protected static void |
copyHttpFields(Map<String,List<String>> aFromFields,
HttpFields<?> aToFields) |
Copies the provided "from" fields into the provided "to" fields.
|
equals, hashCode, toString
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
addTo, addTo, addTo, addTo, addTo, addTo, getFirst, getFirst, put, put, put, put, toField, toField, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withPut, withPut, withPut, withPut, withPut, withPut
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
protected static void copyHttpFields(Map<String,List<String>> aFromFields, HttpFields<?> aToFields)
aFromFields
- The fields from which to copy.aToFields
- The fields to which to copy.Copyright © 2018. All rights reserved.