public class ResponseHeaderMeta
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
getAll
If true, will get all the entries in the response headers.
|
private java.util.List<java.lang.String> |
keys
The key set for retrieving the http response headers.
|
| Constructor and Description |
|---|
ResponseHeaderMeta(java.util.List<java.lang.String> keys,
boolean getAll)
Instantiates a new response header meta.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getKeys()
Gets the keys.
|
boolean |
isGetAll()
Checks if is gets the all.
|
void |
setGetAll(boolean getAll)
Sets the gets the all.
|
void |
setKeys(java.util.List<java.lang.String> keys)
Sets the keys.
|
java.lang.String |
toString() |
private boolean getAll
private java.util.List<java.lang.String> keys
public ResponseHeaderMeta(java.util.List<java.lang.String> keys,
boolean getAll)
keys - the keys would like to savegetAll - when true: will get all the key value pair, regardless of the keys list provided.public boolean isGetAll()
public void setGetAll(boolean getAll)
getAll - the new gets the allpublic java.util.List<java.lang.String> getKeys()
public void setKeys(java.util.List<java.lang.String> keys)
keys - the new keyspublic java.lang.String toString()
toString in class java.lang.Object