|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ning.http.client.simple.HeaderMap
public class HeaderMap
A map containing headers with the sole purpose of being given to
SimpleAHCTransferListener.onHeaders(String, HeaderMap)
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
HeaderMap(FluentCaseInsensitiveStringsMap headers)
|
Method Summary | |
---|---|
void |
clear()
Only read access is supported. |
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<String,List<String>>> |
entrySet()
|
List<String> |
get(Object key)
|
String |
getFirstValue(String key)
|
String |
getJoinedValue(String key,
String delimiter)
|
boolean |
isEmpty()
|
Set<String> |
keySet()
|
List<String> |
put(String key,
List<String> value)
Only read access is supported. |
void |
putAll(Map<? extends String,? extends List<String>> t)
Only read access is supported. |
List<String> |
remove(Object key)
Only read access is supported. |
int |
size()
|
Collection<List<String>> |
values()
Only read access is supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public HeaderMap(FluentCaseInsensitiveStringsMap headers)
Method Detail |
---|
public Set<String> keySet()
keySet
in interface Map<String,List<String>>
public Set<Map.Entry<String,List<String>>> entrySet()
entrySet
in interface Map<String,List<String>>
public int size()
size
in interface Map<String,List<String>>
public boolean isEmpty()
isEmpty
in interface Map<String,List<String>>
public boolean containsKey(Object key)
containsKey
in interface Map<String,List<String>>
public boolean containsValue(Object value)
containsValue
in interface Map<String,List<String>>
public String getFirstValue(String key)
FluentCaseInsensitiveStringsMap.getFirstValue(String)
public String getJoinedValue(String key, String delimiter)
FluentCaseInsensitiveStringsMap.getJoinedValue(String, String)
public List<String> get(Object key)
get
in interface Map<String,List<String>>
public List<String> put(String key, List<String> value)
put
in interface Map<String,List<String>>
public List<String> remove(Object key)
remove
in interface Map<String,List<String>>
public void putAll(Map<? extends String,? extends List<String>> t)
putAll
in interface Map<String,List<String>>
public void clear()
clear
in interface Map<String,List<String>>
public Collection<List<String>> values()
values
in interface Map<String,List<String>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |