public final class CookieList extends Object
Modifier and Type | Method and Description |
---|---|
static JSONObject |
toJSONObject(String string)
Convert a cookie list into a JSONObject.
|
static String |
toString(JSONObject o)
Convert a JSONObject into a cookie list.
|
public static JSONObject toJSONObject(String string) throws JSONException
string
- A cookie list stringJSONException
public static String toString(JSONObject o) throws JSONException
o
- A JSONObjectJSONException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.