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 BufferChunk getComment()
getDomain
public BufferChunk getDomain()
getPath
public BufferChunk getPath()
setSecure
public void setSecure(boolean flag)
getSecure
public boolean getSecure()
getName
public BufferChunk getName()
getValue
public BufferChunk getValue()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010 Oracle Corpration. All Rights Reserved.