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.Utility
NSKeyValueCoding._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, KeyPathSeparator
NullValue
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 NSKeyValueCoding
public void takeValueForKey(Object value, String key)
takeValueForKey
in interface NSKeyValueCoding
public Object handleQueryWithUnboundKey(String key)
handleQueryWithUnboundKey
in interface NSKeyValueCoding.ErrorHandling
public void handleTakeValueForUnboundKey(Object value, String key)
handleTakeValueForUnboundKey
in interface NSKeyValueCoding.ErrorHandling
public void unableToSetNullForKey(String key)
unableToSetNullForKey
in interface NSKeyValueCoding.ErrorHandling
public Object valueForKeyPath(String key)
valueForKeyPath
in interface NSKeyValueCodingAdditions
public void takeValueForKeyPath(Object value, String key)
takeValueForKeyPath
in interface NSKeyValueCodingAdditions
Copyright © 2002 – 2024 Project Wonder.