Creates an insecure non-httpOnly cookie with no domain specified. @param name The name of the cookie; may not be null or an empty string. @param value The cookie value; may not be null. @param path The path the cookie is visible to. If left blank or set to null, will be set to "/". @param expir
(String name, String value, @Nullable String path, @Nullable Date expiry)
| 50 | * @see #Cookie(String, String, String, String, Date) |
| 51 | */ |
| 52 | public Cookie(String name, String value, @Nullable String path, @Nullable Date expiry) { |
| 53 | this(name, value, null, path, expiry); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Creates an insecure non-httpOnly cookie. |