Package org.apache.tomcat.util.http
Class ServerCookies
java.lang.Object
org.apache.tomcat.util.http.ServerCookies
This class is not thread-safe.
- 
Constructor Details- 
ServerCookiespublic ServerCookies(int initialSize) 
 
- 
- 
Method Details- 
addCookieRegister a new, initialized cookie. Cookies are recycled, and most of the time an existing ServerCookie object is returned. The caller can set the name/value and attributes for the cookie.- Returns:
- the new cookie
 
- 
getCookie
- 
getCookieCountpublic int getCookieCount()
- 
setLimitpublic void setLimit(int limit) 
- 
recyclepublic void recycle()
 
-