com.webobjects.appserver
Class WOCookie
java.lang.Object
com.webobjects.appserver.WOCookie
- All Implemented Interfaces:
- NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, Serializable
public class WOCookie
- extends Object
- implements NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, Serializable
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
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 |
|
Constructor Summary |
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)
|
|
Method Summary |
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,
NSTimestamp expires,
boolean isSecure)
Deprecated. |
String |
domain()
|
NSTimestamp |
expires()
|
Object |
handleQueryWithUnboundKey(String key)
|
void |
handleTakeValueForUnboundKey(Object value,
String key)
|
String |
headerString()
|
boolean |
isHttpOnly()
|
boolean |
isSecure()
|
String |
name()
|
String |
path()
|
void |
readObject(ObjectInputStream out)
|
void |
setDomain(String domain)
|
void |
setExpires(NSTimestamp expires)
|
void |
setIsHttpOnly(boolean isHttpOnly)
|
void |
setIsSecure(boolean isSecure)
|
void |
setName(String name)
|
void |
setPath(String path)
|
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)
|
void |
writeObject(ObjectOutputStream out)
|
WOCookie
public WOCookie(String name,
String value,
String path,
String domain,
NSTimestamp expires,
boolean isSecure)
WOCookie
public WOCookie(String name,
String value,
String path,
String domain,
NSTimestamp expires,
boolean isSecure,
boolean httpOnly)
WOCookie
public WOCookie(String name,
String value,
String path,
String domain,
int timeout,
boolean isSecure)
WOCookie
public WOCookie(String name,
String value,
String path,
String domain,
int timeout,
boolean isSecure,
boolean httpOnly)
WOCookie
public WOCookie(String name,
String value)
cookieWithName
@Deprecated
public static WOCookie cookieWithName(String name,
String value,
String path,
String domain,
NSTimestamp expires,
boolean isSecure)
- Deprecated.
cookieWithName
@Deprecated
public static WOCookie cookieWithName(String name,
String value,
String path,
String domain,
int timeout,
boolean isSecure)
- Deprecated.
cookieWithName
@Deprecated
public static WOCookie cookieWithName(String name,
String value)
- Deprecated.
toString
public String toString()
- Overrides:
toString in class Object
headerString
public String headerString()
name
public String name()
setName
public void setName(String name)
value
public String value()
setValue
public void setValue(String value)
domain
public String domain()
setDomain
public void setDomain(String domain)
path
public String path()
setPath
public void setPath(String path)
expires
public NSTimestamp expires()
setExpires
public void setExpires(NSTimestamp expires)
setTimeOut
public void setTimeOut(int timeout)
timeOut
public int timeOut()
isSecure
public boolean isSecure()
setIsSecure
public void setIsSecure(boolean isSecure)
isHttpOnly
public boolean isHttpOnly()
setIsHttpOnly
public void setIsHttpOnly(boolean isHttpOnly)
canAccessFieldsDirectly
public static boolean canAccessFieldsDirectly()
valueForKey
public Object valueForKey(String key)
- Specified by:
valueForKey in interface NSKeyValueCoding
takeValueForKey
public void takeValueForKey(Object value,
String key)
- Specified by:
takeValueForKey in interface NSKeyValueCoding
handleQueryWithUnboundKey
public Object handleQueryWithUnboundKey(String key)
- Specified by:
handleQueryWithUnboundKey in interface NSKeyValueCoding.ErrorHandling
handleTakeValueForUnboundKey
public void handleTakeValueForUnboundKey(Object value,
String key)
- Specified by:
handleTakeValueForUnboundKey in interface NSKeyValueCoding.ErrorHandling
unableToSetNullForKey
public void unableToSetNullForKey(String key)
- Specified by:
unableToSetNullForKey in interface NSKeyValueCoding.ErrorHandling
valueForKeyPath
public Object valueForKeyPath(String key)
- Specified by:
valueForKeyPath in interface NSKeyValueCodingAdditions
takeValueForKeyPath
public void takeValueForKeyPath(Object value,
String key)
- Specified by:
takeValueForKeyPath in interface NSKeyValueCodingAdditions
writeObject
public void writeObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
readObject
public void readObject(ObjectInputStream out)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 – 2011 Project Wonder.