public static class HttpConnection.KeyVal extends Object implements Connection.KeyVal
Modifier and Type | Method and Description |
---|---|
static HttpConnection.KeyVal |
create(String key,
String value) |
String |
key()
Get the key of a keyval
|
HttpConnection.KeyVal |
key(String key)
Update the key of a keyval
|
String |
toString() |
String |
value()
Get the value of a keyval
|
HttpConnection.KeyVal |
value(String value)
Update the value of a keyval
|
public static HttpConnection.KeyVal create(String key, String value)
public HttpConnection.KeyVal key(String key)
Connection.KeyVal
key
in interface Connection.KeyVal
key
- new keypublic String key()
Connection.KeyVal
key
in interface Connection.KeyVal
public HttpConnection.KeyVal value(String value)
Connection.KeyVal
value
in interface Connection.KeyVal
value
- the new valuepublic String value()
Connection.KeyVal
value
in interface Connection.KeyVal
Copyright © 2009–2013 Jonathan Hedley. All rights reserved.