junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/Cookie.java
@Deprecated
	public static Cookie cookie(String name, String value, String domain, String path, Long expires, Long maxAge, boolean secure, boolean httpOnly) {
		return Cookies.cookie(name, value, domain, path, expires, maxAge, secure, httpOnly);
	}
@Deprecated
	public static Cookie cookie(String name, String value, String domain, String path, Long expires, Long maxAge, boolean secure, boolean httpOnly) {
		return Cookies.cookie(name, value, domain, path, expires, maxAge, secure, httpOnly);
	}
Create cookie.

@param name Cookie name.
@param value Cookie value.
@param domain Cookie domain.
@param path Cookie path.
@param expires Cookie expires value.
@param maxAge Cookie max age value.
@param secure Secure flag.
@param httpOnly Http flag.
@return Cookie.
@throws NullPointerException if name or value is null.
@throws IllegalArgumentException if name is empty or blank.
@deprecated Use {@link Cookies#cookie(String, String, String, String, Long, Long, boolean, boolean)} instead.