Class HttpValues<K,V>

java.lang.Object
colesico.framework.http.HttpValues<K,V>

public final class HttpValues<K,V> extends Object
Represents http values map
  • Constructor Details

  • Method Details

    • hasKey

      public boolean hasKey(K key)
    • get

      public V get(K key)
      Returns first value associated with given key or null. To retrieve all values associated with given key use getAll(K)
    • getKeys

      public Set<K> getKeys()
    • getAll

      public MultiValue<V> getAll(K key)
      Returns all values associated with given key or null.
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • export

      public Map<K,MultiValue<V>> export()