org.glassfish.grizzly.http
Class LazyCookieState

java.lang.Object
  extended by 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.


Constructor Summary
LazyCookieState()
           
 
Method Summary
 DataChunk getComment()
           
 DataChunk getDomain()
           
 DataChunk getName()
           
 DataChunk getPath()
           
 boolean getSecure()
           
 DataChunk getValue()
           
 void recycle()
           
 void setSecure(boolean flag)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyCookieState

public 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()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Oracle Corpration. All Rights Reserved.