Package com.yahoo.jdisc.http.filter
Class JDiscCookieWrapper
- java.lang.Object
-
- com.yahoo.jdisc.http.filter.JDiscCookieWrapper
-
public class JDiscCookieWrapper extends java.lang.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.Cookiejava.lang.String
getDomain()
int
getMaxAge()
java.lang.String
getName()
java.lang.String
getPath()
boolean
getSecure()
java.lang.String
getValue()
void
setDomain(java.lang.String pattern)
void
setMaxAge(int expiry)
void
setPath(java.lang.String uri)
void
setSecure(boolean flag)
void
setValue(java.lang.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 java.lang.String getDomain()
-
getMaxAge
public int getMaxAge()
-
getName
public java.lang.String getName()
-
getPath
public java.lang.String getPath()
-
getSecure
public boolean getSecure()
-
getValue
public java.lang.String getValue()
-
setDomain
public void setDomain(java.lang.String pattern)
-
setMaxAge
public void setMaxAge(int expiry)
-
setPath
public void setPath(java.lang.String uri)
-
setSecure
public void setSecure(boolean flag)
-
setValue
public void setValue(java.lang.String newValue)
-
getCookie
public Cookie getCookie()
Return com.yahoo.jdisc.http.Cookie- Returns:
- - cookie
-
-