|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.protocol.http.mock.Cookies
public final class Cookies
A helper class for dealing with cookies
| Nested Class Summary | |
|---|---|
static class |
Cookies.Key
|
| Method Summary | |
|---|---|
static javax.servlet.http.Cookie |
copyOf(javax.servlet.http.Cookie cookie)
Make a copy of the passed cookie. |
static boolean |
isEqual(javax.servlet.http.Cookie c1,
javax.servlet.http.Cookie c2)
Checks whether two cookies are equal. |
static boolean |
isExpired(javax.servlet.http.Cookie cookie)
detect if this cookie is expired |
static Cookies.Key |
keyOf(javax.servlet.http.Cookie cookie)
creates a key based on the property for cookie equality |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.servlet.http.Cookie copyOf(javax.servlet.http.Cookie cookie)
cookie - The cookie to copy
null if the argument is null.public static Cookies.Key keyOf(javax.servlet.http.Cookie cookie)
cookie - cookie
public static boolean isEqual(javax.servlet.http.Cookie c1,
javax.servlet.http.Cookie c2)
c1 - the first cookiec2 - the second cookie
true only if the cookies have the same name, path and domainpublic static boolean isExpired(javax.servlet.http.Cookie cookie)
cookie -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||