org.glassfish.grizzly.http
Class Cookies

java.lang.Object
  extended by org.glassfish.grizzly.http.Cookies

public final class Cookies
extends java.lang.Object

A collection of cookies - reusable and tuned for server side performance. Based on RFC2965 ( and 2109 ) This class is not synchronized.

Author:
Costin Manolache, kevin seguin

Constructor Summary
Cookies()
           
 
Method Summary
 Cookie findByName(java.lang.String cookieName)
           
 java.util.Collection<Cookie> get()
           
 boolean initialized()
           
 void recycle()
          Recycle.
 void setHeaders(MimeHeaders headers)
           
 java.lang.String toString()
          EXPENSIVE!!! only for debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cookies

public Cookies()
Method Detail

initialized

public boolean initialized()

get

public java.util.Collection<Cookie> get()

setHeaders

public void setHeaders(MimeHeaders headers)

recycle

public void recycle()
Recycle.


toString

public java.lang.String toString()
EXPENSIVE!!! only for debugging.

Overrides:
toString in class java.lang.Object

findByName

public Cookie findByName(java.lang.String cookieName)


Copyright © 2011 Oracle Corpration. All Rights Reserved.