| |
|
| java.lang.Object org.safehaus.asyncweb.common.DefaultCookie
DefaultCookie | public class DefaultCookie implements MutableCookie(Code) | | Default cookie implementation.
Content built using Bytes is cached as a LazyDecodedString
until the content item is needed.
DefaultCookie tracks changes to content items - allowing changed cookies
to be written automatically when a response is written back to the client
author: irvingd |
Constructor Summary | |
public | DefaultCookie(String name) Constructor used to allow users to create new cookies to be sent
back to the client.
Parameters: name - the name of the new cookie. |
DefaultCookie | public DefaultCookie(String name)(Code) | | Constructor used to allow users to create new cookies to be sent
back to the client.
Parameters: name - the name of the new cookie. |
getMaxAge | public int getMaxAge()(Code) | | |
getVersion | public int getVersion()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isSecure | public boolean isSecure()(Code) | | |
setMaxAge | public void setMaxAge(int maxAge)(Code) | | |
setSecure | public void setSecure(boolean secure)(Code) | | |
setVersion | public void setVersion(int version)(Code) | | |
|
|
|