Package com.ning.http.client.simple
Class HeaderMap
java.lang.Object
com.ning.http.client.simple.HeaderMap
A map containing headers with the sole purpose of being given to
SimpleAHCTransferListener#onHeaders(String, HeaderMap).- Author:
- Benjamin Hanzelmann
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Only read access is supported.booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()getFirstValue(String key) getJoinedValue(String key, String delimiter) booleanisEmpty()keySet()Only read access is supported.voidOnly read access is supported.Only read access is supported.intsize()values()Only read access is supported.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
HeaderMap
-
-
Method Details
-
keySet
-
entrySet
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,List<String>>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,List<String>>
-
getFirstValue
-
getJoinedValue
-
get
-
put
Only read access is supported. -
remove
Only read access is supported. -
putAll
Only read access is supported. -
clear
public void clear()Only read access is supported. -
values
Only read access is supported.
-