Package io.sf.carte.doc.agent
Class DefaultCookie
java.lang.Object
io.sf.carte.doc.agent.DefaultCookie
- All Implemented Interfaces:
Cookie
,Serializable
,Cloneable
Default Cookie implementation.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPort
(int port) clone()
long
getName()
getPath()
int[]
getPorts()
getValue()
boolean
boolean
boolean
isSecure()
void
setComment
(String comment) void
void
setExpiryTime
(long expiryTime) void
void
void
void
void
-
Constructor Details
-
DefaultCookie
public DefaultCookie() -
DefaultCookie
-
-
Method Details
-
getDomain
-
setDomain
-
getPorts
public int[] getPorts() -
addPort
public void addPort(int port) -
getPath
-
setPath
-
getName
-
setName
-
getValue
-
setValue
-
getExpiryTime
public long getExpiryTime()- Specified by:
getExpiryTime
in interfaceCookie
-
setExpiryTime
public void setExpiryTime(long expiryTime) - Specified by:
setExpiryTime
in interfaceCookie
-
getComment
- Specified by:
getComment
in interfaceCookie
-
setComment
- Specified by:
setComment
in interfaceCookie
-
isSecure
public boolean isSecure() -
setSecure
public void setSecure() -
isPersistent
public boolean isPersistent()- Specified by:
isPersistent
in interfaceCookie
-
setHttpOnly
public void setHttpOnly()- Specified by:
setHttpOnly
in interfaceCookie
-
isHttpOnly
public boolean isHttpOnly()- Specified by:
isHttpOnly
in interfaceCookie
-
clone
-