public class CookieBeanWrapper extends Object
Cookie object.
The primary purpose for this class is due to Cookie's
use of "getSecure" instead of "isSecure".| Constructor and Description |
|---|
CookieBeanWrapper(javax.servlet.http.Cookie cookie) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getDomain() |
int |
getMaxAge() |
String |
getName() |
String |
getPath() |
String |
getValue() |
int |
getVersion() |
boolean |
isSecure() |
void |
setComment(String purpose) |
void |
setDomain(String pattern) |
void |
setMaxAge(int expiry) |
void |
setPath(String uri) |
void |
setSecure(boolean flag) |
void |
setValue(String newValue) |
void |
setVersion(int v) |
public CookieBeanWrapper(javax.servlet.http.Cookie cookie)
cookie - public String getComment()
Cookie.getComment()public String getDomain()
Cookie.getDomain()public int getMaxAge()
Cookie.getMaxAge()public String getName()
Cookie.getName()public String getPath()
Cookie.getPath()public boolean isSecure()
Cookie.getSecure()public String getValue()
Cookie.getValue()public int getVersion()
Cookie.getVersion()public void setComment(String purpose)
purpose - Cookie.setComment(java.lang.String)public void setDomain(String pattern)
pattern - Cookie.setDomain(java.lang.String)public void setMaxAge(int expiry)
expiry - Cookie.setMaxAge(int)public void setPath(String uri)
uri - Cookie.setPath(java.lang.String)public void setSecure(boolean flag)
flag - Cookie.setSecure(boolean)public void setValue(String newValue)
newValue - Cookie.setValue(java.lang.String)public void setVersion(int v)
v - Cookie.setVersion(int)Copyright © 2016 Jasig. All Rights Reserved.