Package com.ning.http.client.cookie
Class Cookie
java.lang.Object
com.ning.http.client.cookie.Cookie
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.longgetName()getPath()getValue()booleanbooleanbooleanisSecure()booleanisWrap()static CookienewValidCookie(String name, String value, boolean wrap, String domain, String path, int expires, long maxAge, boolean secure, boolean httpOnly) Deprecated.static CookienewValidCookie(String name, String value, boolean wrap, String domain, String path, long maxAge, boolean secure, boolean httpOnly) toString()
-
Constructor Details
-
Cookie
-
-
Method Details
-
newValidCookie
@Deprecated public static Cookie newValidCookie(String name, String value, boolean wrap, String domain, String path, int expires, long maxAge, boolean secure, boolean httpOnly) Deprecated.- Parameters:
expires- parameter will be ignored. Use the other factory that don't take an expires.
-
newValidCookie
-
getDomain
-
getName
-
getValue
-
isWrap
public boolean isWrap() -
getPath
-
getExpires
Deprecated. -
hasExpired
public boolean hasExpired() -
getMaxAge
public long getMaxAge() -
isSecure
public boolean isSecure() -
isHttpOnly
public boolean isHttpOnly() -
toString
-