public class WOCookie extends Object implements com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
WOCookie.SameSite
Possible values for same-site cookie setting.
|
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
Constructor and Description |
---|
WOCookie(String name,
String value) |
WOCookie(String name,
String value,
String path,
String domain,
int timeout,
boolean isSecure) |
WOCookie(String name,
String value,
String path,
String domain,
int timeout,
boolean isSecure,
boolean httpOnly) |
WOCookie(String name,
String value,
String path,
String domain,
com.webobjects.foundation.NSTimestamp expires,
boolean isSecure) |
WOCookie(String name,
String value,
String path,
String domain,
com.webobjects.foundation.NSTimestamp expires,
boolean isSecure,
boolean httpOnly) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canAccessFieldsDirectly() |
static WOCookie |
cookieWithName(String name,
String value)
Deprecated.
|
static WOCookie |
cookieWithName(String name,
String value,
String path,
String domain,
int timeout,
boolean isSecure)
Deprecated.
|
static WOCookie |
cookieWithName(String name,
String value,
String path,
String domain,
com.webobjects.foundation.NSTimestamp expires,
boolean isSecure)
Deprecated.
|
String |
domain() |
com.webobjects.foundation.NSTimestamp |
expires() |
Object |
handleQueryWithUnboundKey(String key) |
void |
handleTakeValueForUnboundKey(Object value,
String key) |
String |
headerString() |
boolean |
isHttpOnly() |
boolean |
isSecure() |
String |
name() |
String |
path() |
WOCookie.SameSite |
sameSite() |
void |
setDomain(String domain) |
void |
setExpires(com.webobjects.foundation.NSTimestamp expires) |
void |
setIsHttpOnly(boolean isHttpOnly) |
void |
setIsSecure(boolean isSecure) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setSameSite(WOCookie.SameSite sameSite) |
void |
setTimeOut(int timeout) |
void |
setValue(String value) |
void |
takeValueForKey(Object value,
String key) |
void |
takeValueForKeyPath(Object value,
String key) |
int |
timeOut() |
String |
toString() |
void |
unableToSetNullForKey(String key) |
String |
value() |
Object |
valueForKey(String key) |
Object |
valueForKeyPath(String key) |
public WOCookie(String name, String value, String path, String domain, com.webobjects.foundation.NSTimestamp expires, boolean isSecure)
public WOCookie(String name, String value, String path, String domain, com.webobjects.foundation.NSTimestamp expires, boolean isSecure, boolean httpOnly)
public WOCookie(String name, String value, String path, String domain, int timeout, boolean isSecure)
public WOCookie(String name, String value, String path, String domain, int timeout, boolean isSecure, boolean httpOnly)
@Deprecated public static WOCookie cookieWithName(String name, String value, String path, String domain, com.webobjects.foundation.NSTimestamp expires, boolean isSecure)
@Deprecated public static WOCookie cookieWithName(String name, String value, String path, String domain, int timeout, boolean isSecure)
@Deprecated public static WOCookie cookieWithName(String name, String value)
public String headerString()
public String name()
public void setName(String name)
public String value()
public void setValue(String value)
public String domain()
public void setDomain(String domain)
public String path()
public void setPath(String path)
public com.webobjects.foundation.NSTimestamp expires()
public void setExpires(com.webobjects.foundation.NSTimestamp expires)
public void setTimeOut(int timeout)
public int timeOut()
public boolean isSecure()
public void setIsSecure(boolean isSecure)
public boolean isHttpOnly()
public void setIsHttpOnly(boolean isHttpOnly)
public WOCookie.SameSite sameSite()
public void setSameSite(WOCookie.SameSite sameSite)
public static boolean canAccessFieldsDirectly()
public Object valueForKey(String key)
valueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
public void takeValueForKey(Object value, String key)
takeValueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
public Object handleQueryWithUnboundKey(String key)
handleQueryWithUnboundKey
in interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
public void handleTakeValueForUnboundKey(Object value, String key)
handleTakeValueForUnboundKey
in interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
public void unableToSetNullForKey(String key)
unableToSetNullForKey
in interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
public Object valueForKeyPath(String key)
valueForKeyPath
in interface com.webobjects.foundation.NSKeyValueCodingAdditions
Copyright © 2002 – 2020 Project Wonder.