class HeaderValueHolder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.Object> |
values |
Constructor and Description |
---|
HeaderValueHolder() |
Modifier and Type | Method and Description |
---|---|
void |
addValue(java.lang.Object value) |
void |
addValueArray(java.lang.Object values) |
void |
addValues(java.util.Collection<?> values) |
static HeaderValueHolder |
getByName(java.util.Map<java.lang.String,HeaderValueHolder> headers,
java.lang.String name)
Find a HeaderValueHolder by name, ignoring casing.
|
java.lang.String |
getStringValue() |
java.util.List<java.lang.String> |
getStringValues() |
java.lang.Object |
getValue() |
java.util.List<java.lang.Object> |
getValues() |
void |
setValue(java.lang.Object value) |
public void setValue(java.lang.Object value)
public void addValue(java.lang.Object value)
public void addValues(java.util.Collection<?> values)
public void addValueArray(java.lang.Object values)
public java.util.List<java.lang.Object> getValues()
public java.util.List<java.lang.String> getStringValues()
public java.lang.Object getValue()
public java.lang.String getStringValue()
public static HeaderValueHolder getByName(java.util.Map<java.lang.String,HeaderValueHolder> headers, java.lang.String name)
headers
- the Map of header names to HeaderValueHoldersname
- the name of the desired headernull
if none found