java.lang.Object
org.htmlunit.http.Cookie
org.htmlunit.httpclient.HttpClientCookie
- All Implemented Interfaces:
Serializable
Wrapper for
ClientCookie.- Author:
- Ronald Brill
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpClientCookie(org.apache.http.cookie.ClientCookie clientCookie) Creates a new HtmlUnit cookie from the HttpClient cookie provided. -
Method Summary
Methods inherited from class org.htmlunit.http.Cookie
equals, getDomain, getExpires, getName, getPath, getSameSite, getValue, hashCode, isHttpOnly, isSecure, toString
-
Constructor Details
-
HttpClientCookie
public HttpClientCookie(org.apache.http.cookie.ClientCookie clientCookie) Creates a new HtmlUnit cookie from the HttpClient cookie provided.- Parameters:
clientCookie- the HttpClient cookie
-
-
Method Details
-
getHttpClientCookie
public org.apache.http.cookie.ClientCookie getHttpClientCookie()- Returns:
- an HttpClient ClientCookie version of this cookie
-