@Deprecated
public class Cookie
extends java.lang.Object
Constructor and Description |
---|
Cookie()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escape(java.lang.String string)
Deprecated.
Produce a copy of a string in which the characters '+', '%', '=', ';'
and control characters are replaced with "%hh".
|
static JSONObject |
toJSONObject(java.lang.String string)
Deprecated.
Convert a cookie specification string into a JSONObject.
|
static java.lang.String |
toString(JSONObject o)
Deprecated.
Convert a JSONObject into a cookie specification string.
|
static java.lang.String |
unescape(java.lang.String s)
Deprecated.
Convert
% hh sequences to single characters, and
convert plus to space. |
public static java.lang.String escape(java.lang.String string)
string
- The source string.public static JSONObject toJSONObject(java.lang.String string) throws JSONException
string
- The cookie specification string.JSONException
public static java.lang.String toString(JSONObject o) throws JSONException
o
- A JSONObjectJSONException
public static java.lang.String unescape(java.lang.String s)
%
hh sequences to single characters, and
convert plus to space.s
- A string that may contain
+
(plus) and
%
hh sequences."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"