/** * If a user agent (web browser) presents this cookie to a user, the * cookie's purpose will be described using this comment. * * @param comment * * @see #getComment() */ @Obsolete void setComment(String comment);
/** * Returns the version of the cookie specification to which this * cookie conforms. * * @return the version of the cookie. */ @Obsolete int getVersion();
/** * If a user agent (web browser) presents this cookie to a user, the * cookie's purpose will be described by the information at this URL. */ @Obsolete void setCommentURL(String commentURL);
/** * Returns version of the state management this cookie specification * conforms to. * * @return version of the state management specification */ @Obsolete int getVersion();
/** * Returns a request header identifying what version of the state management * specification is understood. May be {@code null} if the cookie * specification does not support {@code Cookie2} header. */ @Obsolete Header getVersionHeader();
/** * Set the Discard attribute. * * Note: {@code Discard} attribute overrides {@code Max-age}. * * @see #isPersistent() */ @Obsolete void setDiscard(boolean discard);
/** * If a user agent (web browser) presents this cookie to a user, the * cookie's purpose will be described using this comment. * * @param comment * * @see #getComment() */ @Obsolete void setComment(String comment);
/** * Returns version of the state management this cookie specification * conforms to. * * @return version of the state management specification */ @Obsolete int getVersion();
/** * Returns the comment describing the purpose of this cookie, or * {@code null} if no such comment has been defined. * * @return comment */ @Obsolete String getComment();
/** * Returns the version of the cookie specification to which this * cookie conforms. * * @return the version of the cookie. */ @Obsolete int getVersion();
/** * If a user agent (web browser) presents this cookie to a user, the * cookie's purpose will be described using this comment. * * @param comment * * @see #getComment() */ @Obsolete void setComment(String comment);
/** * Set the Discard attribute. * * Note: {@code Discard} attribute overrides {@code Max-age}. * * @see #isPersistent() */ @Obsolete void setDiscard(boolean discard);
/** * Returns a request header identifying what version of the state management * specification is understood. May be {@code null} if the cookie * specification does not support {@code Cookie2} header. */ @Obsolete Header getVersionHeader();
/** * Set the Discard attribute. * * Note: {@code Discard} attribute overrides {@code Max-age}. * * @see #isPersistent() */ @Obsolete void setDiscard(boolean discard);
/** * Returns the comment describing the purpose of this cookie, or * {@code null} if no such comment has been defined. * * @return comment */ @Obsolete String getComment();
/** * If a user agent (web browser) presents this cookie to a user, the * cookie's purpose will be described using this comment. * * @param comment * * @see #getComment() */ @Obsolete void setComment(String comment);
/** * If a user agent (web browser) presents this cookie to a user, the * cookie's purpose will be described by the information at this URL. */ @Obsolete String getCommentURL();
/** * Returns version of the state management this cookie specification * conforms to. * * @return version of the state management specification */ @Obsolete int getVersion();
/** * If a user agent (web browser) presents this cookie to a user, the * cookie's purpose will be described by the information at this URL. */ @Obsolete void setCommentURL(String commentURL);
/** * Get the Port attribute. It restricts the ports to which a cookie * may be returned in a Cookie request header. */ @Obsolete int[] getPorts();