Java HttpCookie setCommentURL() MethodThe setCommentURL(String purpose) method of HttpCookie class is used to specify a comment URL which describes the purpose of the cookie. Comment URL is RFC 2965 only. SyntaxParameterThe above method requires only one method :
ReturnNA Example 1Test it NowOutput: The comment URL is given as : 123.45.33.21 Example 2Test it NowOutput: The first comment URL is given as : 345.187.90. The second comment URL is given as : 452.121.29.7
Next TopicJava HttpCookie
|