public class WOCookie extends Object implements NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
WOCookie.SameSite
Possible values for same-site cookie setting.
|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue| 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,
NSTimestamp expires,
boolean isSecure) |
WOCookie(String name,
String value,
String path,
String domain,
NSTimestamp expires,
boolean isSecure,
boolean httpOnly) |
public WOCookie(String name, String value, String path, String domain, NSTimestamp expires, boolean isSecure)
public WOCookie(String name, String value, String path, String domain, 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, 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 NSTimestamp expires()
public void setExpires(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 NSKeyValueCodingpublic void takeValueForKey(Object value, String key)
takeValueForKey in interface NSKeyValueCodingpublic Object handleQueryWithUnboundKey(String key)
handleQueryWithUnboundKey in interface NSKeyValueCoding.ErrorHandlingpublic void handleTakeValueForUnboundKey(Object value, String key)
handleTakeValueForUnboundKey in interface NSKeyValueCoding.ErrorHandlingpublic void unableToSetNullForKey(String key)
unableToSetNullForKey in interface NSKeyValueCoding.ErrorHandlingpublic Object valueForKeyPath(String key)
valueForKeyPath in interface NSKeyValueCodingAdditionspublic void takeValueForKeyPath(Object value, String key)
takeValueForKeyPath in interface NSKeyValueCodingAdditionsCopyright © 2002 – 2025 Project Wonder.