public class

HeaderMap

extends Object
implements Map<K, V>
java.lang.Object
   ↳ com.ning.http.client.simple.HeaderMap

Class Overview

A map containing headers with the sole purpose of being given to onHeaders(String, HeaderMap).

Summary

Public Constructors
HeaderMap(FluentCaseInsensitiveStringsMap headers)
Public Methods
void clear()
Only read access is supported.
boolean containsKey(Object key)
boolean containsValue(Object value)
Set<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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Map

Public Constructors

public HeaderMap (FluentCaseInsensitiveStringsMap headers)

Public Methods

public void clear ()

Only read access is supported.

public boolean containsKey (Object key)

public boolean containsValue (Object value)

public Set<Entry<String, List<String>>> entrySet ()

public List<String> get (Object key)

public String getFirstValue (String key)

public String getJoinedValue (String key, String delimiter)

public boolean isEmpty ()

public Set<String> keySet ()

public List<String> put (String key, List<String> value)

Only read access is supported.

public void putAll (Map<? extends String, ? extends List<String>> t)

Only read access is supported.

public List<String> remove (Object key)

Only read access is supported.

public int size ()

public Collection<List<String>> values ()

Only read access is supported.