org.glassfish.grizzly.http
Class Cookies
java.lang.Object
org.glassfish.grizzly.http.Cookies
public final class Cookies
- extends 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(MimeHeaders headers)
Construct a new cookie collection, that will extract
the information from headers. |
SEPARATORS
public static final char[] SEPARATORS
separators
protected static final boolean[] separators
Cookies
public Cookies(MimeHeaders headers)
- Construct a new cookie collection, that will extract
the information from headers.
- Parameters:
headers - Cookies are lazy-evaluated and will extract the
information from the provided headers.
get
public Collection<Cookie> get()
recycle
public void recycle()
- Recycle.
toString
public String toString()
- EXPENSIVE!!! only for debugging.
- Overrides:
toString in class Object
findByName
public Cookie findByName(String cookieName)
Copyright © 2010 Oracle Corpration. All Rights Reserved.