public class Cookie extends BaseObject
Modifier and Type | Field and Description |
---|---|
private org.apache.http.impl.cookie.BasicClientCookie |
_cookie |
private static org.apache.http.cookie.CookieOrigin |
cookieOrigin |
private static org.apache.http.cookie.CookieSpec |
cookieSpec |
private character |
domain
'domain' attribute value.
|
private datetimetz |
expiresAt
'expires' attribute value.
|
private static java.lang.String |
HTTP_ONLY_ATTR |
private logical |
httpOnly
'HttpOnly' attribute value.
|
private integer |
maxAge
'Max-Age' attribute value.
|
private character |
name
'name' attribute value.
|
private character |
path
'path' attribute value.
|
private logical |
secure
'secure' attribute value.
|
private character |
value
'value' attribute value.
|
private decimal |
version
'version' attribute value.
|
Constructor and Description |
---|
Cookie() |
Modifier and Type | Method and Description |
---|---|
void |
__net_http_Cookie_constructor__(character _p1,
character _p2,
character _p3,
character _p4)
Constructor.
|
void |
__net_http_Cookie_constructor__(character _p1,
character _p2,
character _p3,
character _p4,
integer _p5,
datetimetz _p6,
logical _p7,
logical _p8,
decimal _p9)
Constructor.
|
static void |
__net_http_Cookie_constructor__static__() |
void |
__net_http_Cookie_execute__()
Execute method.
|
org.apache.http.cookie.ClientCookie |
getCookie() |
character |
getDomain()
Get 'domain' attribute value.
|
datetimetz |
getExpiresAt()
Get 'expires' attribute value.
|
logical |
getHttpOnly()
Get 'HttpOnly' attribute value.
|
integer |
getMaxAge()
Get 'Max-Age' attribute value.
|
character |
getName()
Get 'name' attribute value.
|
character |
getPath()
Get 'path' attribute value.
|
logical |
getSecure()
Get 'secure' attribute value.
|
character |
getValue()
Get 'value' attribute value.
|
decimal |
getVersion()
Get 'version' attribute value.
|
private static boolean |
isRestrictedName(java.lang.String name) |
logical |
legacyEquals(object<? extends _BaseObject_> _p1)
Compare with other object, seems to be always false even when comparing with itself.
|
static object<? extends Cookie> |
parse(character p1)
Creates a Cookie object from the string representation of a cookie.
|
character |
toLegacyString()
Return a stringified representation of the Cookie.
|
__lang_BaseObject_constructor__, __lang_BaseObject_execute__, assertNotNull, assertNotNull, clone, getLegacyClass, getNextSibling, getPrevSibling
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTracked
private static org.apache.http.cookie.CookieSpec cookieSpec
private static org.apache.http.cookie.CookieOrigin cookieOrigin
private static final java.lang.String HTTP_ONLY_ATTR
private org.apache.http.impl.cookie.BasicClientCookie _cookie
private character domain
private datetimetz expiresAt
private logical httpOnly
private integer maxAge
private character name
private character path
private logical secure
private character value
private decimal version
public void __net_http_Cookie_execute__()
public static void __net_http_Cookie_constructor__static__()
public character getDomain()
public datetimetz getExpiresAt()
public logical getHttpOnly()
public integer getMaxAge()
public character getName()
public character getPath()
public logical getSecure()
public character getValue()
public decimal getVersion()
public void __net_http_Cookie_constructor__(character _p1, character _p2, character _p3, character _p4)
_p1
- 'name' attribute value._p2
- 'domain' attribute value._p3
- 'path' attribute value._p4
- 'value' attribute value.public void __net_http_Cookie_constructor__(character _p1, character _p2, character _p3, character _p4, integer _p5, datetimetz _p6, logical _p7, logical _p8, decimal _p9)
_p1
- 'name' attribute value._p2
- 'domain' attribute value._p3
- 'path' attribute value._p4
- 'value' attribute value._p5
- 'Max-Age' attribute value._p6
- 'expires' attribute value._p7
- 'secure' attribute value._p8
- 'Http-Only' attribute value._p9
- 'Version' attribute value.public logical legacyEquals(object<? extends _BaseObject_> _p1)
legacyEquals
in interface _BaseObject_
legacyEquals
in class BaseObject
_p1
- other object.true
if the other reference is not unknown value and if the reference
is the same as this object's reference.public static object<? extends Cookie> parse(character p1)
p1
- a string representation of a cookie.public character toLegacyString()
toLegacyString
in interface _BaseObject_
toLegacyString
in class BaseObject
public org.apache.http.cookie.ClientCookie getCookie()
private static boolean isRestrictedName(java.lang.String name)