|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Connection.KeyVal
A Key Value tuple.
| Method Summary | |
|---|---|
boolean |
hasInputStream()
Does this keyval have an input stream? |
InputStream |
inputStream()
Get the input stream associated with this keyval, if any |
Connection.KeyVal |
inputStream(InputStream inputStream)
Add or update an input stream to this keyVal |
String |
key()
Get the key of a keyval |
Connection.KeyVal |
key(String key)
Update the key of a keyval |
String |
value()
Get the value of a keyval |
Connection.KeyVal |
value(String value)
Update the value of a keyval |
| Method Detail |
|---|
Connection.KeyVal key(String key)
key - new key
String key()
Connection.KeyVal value(String value)
value - the new value
String value()
Connection.KeyVal inputStream(InputStream inputStream)
inputStream - new input stream
InputStream inputStream()
boolean hasInputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||