Package 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 GrizzlyBuffers. TheStringrepresentation 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.
-
-
Constructor Summary
Constructors Constructor Description LazyCookieState()
-
-
-
Method Detail
-
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()
-
-