public static class

HttpConnection.KeyVal

extends Object
implements Connection.KeyVal
java.lang.Object
   ↳ org.jsoup.helper.HttpConnection.KeyVal

Summary

Public Methods
static HttpConnection.KeyVal create(String key, String value)
HttpConnection.KeyVal key(String key)
Update the key of a keyval
String key()
Get 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
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.jsoup.Connection.KeyVal

Public Methods

public static HttpConnection.KeyVal create (String key, String value)

public HttpConnection.KeyVal key (String key)

Update the key of a keyval

Parameters
key new key
Returns
  • this KeyVal, for chaining

public String key ()

Get the key of a keyval

Returns
  • the key

public String toString ()

public String value ()

Get the value of a keyval

Returns
  • the value

public HttpConnection.KeyVal value (String value)

Update the value of a keyval

Parameters
value the new value
Returns
  • this KeyVal, for chaining