Package com.yahoo.jdisc.http.filter
Class JDiscCookieWrapper
- java.lang.Object
-
- com.yahoo.jdisc.http.filter.JDiscCookieWrapper
-
public class JDiscCookieWrapper extends Object
Wrapper of Cookie.- Author:
- Tejal Knot
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JDiscCookieWrapper(Cookie cookie)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cookie
getCookie()
Return com.yahoo.jdisc.http.CookieString
getDomain()
int
getMaxAge()
String
getName()
String
getPath()
boolean
getSecure()
String
getValue()
void
setDomain(String pattern)
void
setMaxAge(int expiry)
void
setPath(String uri)
void
setSecure(boolean flag)
void
setValue(String newValue)
static JDiscCookieWrapper
wrap(Cookie cookie)
-
-
-
Constructor Detail
-
JDiscCookieWrapper
protected JDiscCookieWrapper(Cookie cookie)
-
-
Method Detail
-
wrap
public static JDiscCookieWrapper wrap(Cookie cookie)
-
getDomain
public String getDomain()
-
getMaxAge
public int getMaxAge()
-
getName
public String getName()
-
getPath
public String getPath()
-
getSecure
public boolean getSecure()
-
getValue
public String getValue()
-
setDomain
public void setDomain(String pattern)
-
setMaxAge
public void setMaxAge(int expiry)
-
setPath
public void setPath(String uri)
-
setSecure
public void setSecure(boolean flag)
-
setValue
public void setValue(String newValue)
-
getCookie
public Cookie getCookie()
Return com.yahoo.jdisc.http.Cookie- Returns:
- - cookie
-
-