|
||||||||||
| 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
| 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. |
| 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 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 domain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||