@Override
    public String toString() {
        return name + "=" + value
                + (expiry == null ? ""
                : "; expires=" + new SimpleDateFormat("EEE, dd MMM yyyy hh:mm:ss z")
                .format(expiry))
                + ("".equals(path) ? "" : "; path=" + path)
                + (domain == null ? "" : "; domain=" + domain)
                + (isSecure ? ";secure;" : "");
    }
Create a cookie.

@param name The cookie's name
@param value The cookie's value
@param path The path the cookie is for
selendroid-server/src/main/java/io/selendroid/server/model/Cookie.java