public class HttpCookie extends Object implements Serializable
| Constructor and Description |
|---|
HttpCookie(Date expirationDate,
String nameAndValue,
String path,
String domain,
boolean isSecure) |
HttpCookie(String cookieString) |
HttpCookie(URL url,
String cookieString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDomain()
Returns the domain of the cookie as it was presented
|
Date |
getExpirationDate() |
String |
getName()
Returns just the name part of the cookie
|
String |
getNameValue() |
String |
getPath() |
boolean |
isSecure() |
String |
toString() |
public HttpCookie(String cookieString)
public HttpCookie(Date expirationDate, String nameAndValue, String path, String domain, boolean isSecure)
public String getNameValue()
public String getName()
public String getDomain()
public String getPath()
public Date getExpirationDate()
public boolean isSecure()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.