org.glassfish.grizzly.http
Class LazyCookieState
java.lang.Object
org.glassfish.grizzly.http.LazyCookieState
public class LazyCookieState
- extends Object
Lazy cookie implementation, which is based on preparsed Grizzly Buffers.
The String representation will be created on demand.
Allows recycling and uses Buffer as low-level
representation ( and thus the byte-> char conversion can be delayed
until we know the charset ).
Tomcat.core uses this recyclable object to represent cookies,
and the facade will convert it to the external representation.
LazyCookieState
public LazyCookieState()
recycle
public void recycle()
getComment
public DataChunk getComment()
getDomain
public DataChunk getDomain()
getPath
public DataChunk getPath()
setSecure
public void setSecure(boolean flag)
getSecure
public boolean getSecure()
getName
public DataChunk getName()
getValue
public DataChunk getValue()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011 Oracle Corpration. All Rights Reserved.