|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.server.rest.spi.HttpServletResponseHeaders
public class HttpServletResponseHeaders
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
HttpServletResponseHeaders(javax.servlet.http.HttpServletResponse response)
|
|
| Method Summary | |
|---|---|
void |
add(String key,
Object value)
Add a value to the current list of values for the supplied key. |
void |
addAll(String key,
List<Object> valueList)
Add all the values from the supplied value list to the current list of values for the supplied key. |
void |
addAll(String key,
Object... newValues)
Add multiple values to the current list of values for the supplied key. |
void |
addDateHeader(String name,
long date)
|
void |
addFirst(String key,
Object value)
Add a value to the first position in the current list of values for the supplied key. |
protected void |
addResponseHeader(String key,
Object value)
|
void |
clear()
|
boolean |
containsKey(Object o)
|
boolean |
containsValue(Object o)
|
Set<Map.Entry<String,List<Object>>> |
entrySet()
|
boolean |
equals(Object o)
|
boolean |
equalsIgnoreValueOrder(MultivaluedMap<String,Object> otherMap)
Compare the specified map with this map for equality modulo the order of values for each key. |
List<Object> |
get(Object o)
|
Object |
getFirst(String key)
A shortcut to get the first value of the supplied key. |
int |
hashCode()
|
boolean |
isEmpty()
|
Set<String> |
keySet()
|
List<Object> |
put(String s,
List<Object> objs)
|
void |
putAll(Map<? extends String,? extends List<Object>> map)
|
void |
putSingle(String key,
Object value)
Set the key's value to be a one item list consisting of the supplied value. |
List<Object> |
remove(Object o)
|
int |
size()
|
Collection<List<Object>> |
values()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpServletResponseHeaders(javax.servlet.http.HttpServletResponse response)
| Method Detail |
|---|
public void addAll(String key,
Object... newValues)
MultivaluedMapNullPointerException if the supplied array of values
is null.
addAll in interface MultivaluedMap<String,Object>key - the key.newValues - the values to be added.
public void addAll(String key,
List<Object> valueList)
MultivaluedMapNullPointerException if the
supplied array of values is null.
addAll in interface MultivaluedMap<String,Object>key - the key.valueList - the list of values to be added.
public void addFirst(String key,
Object value)
MultivaluedMap
addFirst in interface MultivaluedMap<String,Object>key - the keyvalue - the value to be added.
public void putSingle(String key,
Object value)
MultivaluedMap
putSingle in interface MultivaluedMap<String,Object>key - the keyvalue - the single value of the key
public void add(String key,
Object value)
MultivaluedMap
add in interface MultivaluedMap<String,Object>key - the keyvalue - the value to be added.
protected void addResponseHeader(String key,
Object value)
public Object getFirst(String key)
MultivaluedMap
getFirst in interface MultivaluedMap<String,Object>key - the key
public int size()
size in interface Map<String,List<Object>>public boolean isEmpty()
isEmpty in interface Map<String,List<Object>>public boolean containsKey(Object o)
containsKey in interface Map<String,List<Object>>public boolean containsValue(Object o)
containsValue in interface Map<String,List<Object>>public List<Object> get(Object o)
get in interface Map<String,List<Object>>
public List<Object> put(String s,
List<Object> objs)
put in interface Map<String,List<Object>>public List<Object> remove(Object o)
remove in interface Map<String,List<Object>>public void putAll(Map<? extends String,? extends List<Object>> map)
putAll in interface Map<String,List<Object>>public void clear()
clear in interface Map<String,List<Object>>public Set<String> keySet()
keySet in interface Map<String,List<Object>>public Collection<List<Object>> values()
values in interface Map<String,List<Object>>public Set<Map.Entry<String,List<Object>>> entrySet()
entrySet in interface Map<String,List<Object>>public boolean equals(Object o)
equals in interface Map<String,List<Object>>equals in class Objectpublic int hashCode()
hashCode in interface Map<String,List<Object>>hashCode in class Objectpublic boolean equalsIgnoreValueOrder(MultivaluedMap<String,Object> otherMap)
MultivaluedMap
equalsIgnoreValueOrder in interface MultivaluedMap<String,Object>otherMap - map to be compared to this one.
public void addDateHeader(String name,
long date)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||