|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.sling.commons.json.http.CookieList
public class CookieList
Convert a web browser cookie list string to a JSONObject and back.
Constructor Summary | |
---|---|
CookieList()
|
Method Summary | |
---|---|
static JSONObject |
toJSONObject(java.lang.String string)
Convert a cookie list into a JSONObject. |
static java.lang.String |
toString(JSONObject o)
Convert a JSONObject into a cookie list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CookieList()
Method Detail |
---|
public static JSONObject toJSONObject(java.lang.String string) throws JSONException
string
- A cookie list string
JSONException
public static java.lang.String toString(JSONObject o) throws JSONException
o
- A JSONObject
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |