Top Description Fields Constructors Methods
org.glassfish.grizzly.http

public Class LazyCookieState

extends Object
Class Inheritance
Imports
org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http.util.DataChunk

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.

Field Summary

Modifier and TypeField and Description
private final DataChunk
private final DataChunk
private final DataChunk
private final DataChunk
private boolean
private final DataChunk

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DataChunk
public DataChunk
public DataChunk
public DataChunk
public boolean
public DataChunk
public void
public void
setSecure(boolean flag)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

commentback to summary
private final DataChunk comment
domainback to summary
private final DataChunk domain
nameback to summary
private final DataChunk name
pathback to summary
private final DataChunk path
secureback to summary
private boolean secure
valueback to summary
private final DataChunk value

Constructor Detail

LazyCookieStateback to summary
public LazyCookieState()

Method Detail

getCommentback to summary
public DataChunk getComment()
getDomainback to summary
public DataChunk getDomain()
getNameback to summary
public DataChunk getName()
getPathback to summary
public DataChunk getPath()
getSecureback to summary
public boolean getSecure()
getValueback to summary
public DataChunk getValue()
recycleback to summary
public void recycle()
setSecureback to summary
public void setSecure(boolean flag)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override