|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.protocol.http.mock.CookieCollection
public class CookieCollection
cookie collection utility
| Constructor Summary | |
|---|---|
CookieCollection()
|
|
| Method Summary | |
|---|---|
void |
add(javax.servlet.http.Cookie cookie)
add cookie to collection if cookie is expired, it will be moved to expired cookie set overwrite existing cookie with new value |
void |
addAll(javax.servlet.http.Cookie[] cookies)
calls add on each cookie |
void |
addAll(List<javax.servlet.http.Cookie> cookies)
calls add on each cookie |
List<javax.servlet.http.Cookie> |
allAsList()
list of all cookies, expired or not |
List<javax.servlet.http.Cookie> |
asList()
list of non expired cookies |
List<javax.servlet.http.Cookie> |
expiredAsList()
list of expired cookies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieCollection()
| Method Detail |
|---|
public void add(javax.servlet.http.Cookie cookie)
cookie - a cookiepublic void addAll(javax.servlet.http.Cookie[] cookies)
cookies - array of cookiespublic void addAll(List<javax.servlet.http.Cookie> cookies)
cookies - list of cookiespublic List<javax.servlet.http.Cookie> asList()
public List<javax.servlet.http.Cookie> expiredAsList()
public List<javax.servlet.http.Cookie> allAsList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||