java.lang.Object
io.sf.carte.doc.agent.DefaultCookie
- All Implemented Interfaces:
Cookie,Serializable,Cloneable
Default Cookie implementation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPort(int port) clone()longgetName()getPath()int[]getPorts()getValue()booleanbooleanbooleanisSecure()voidsetComment(String comment) voidvoidsetExpiryTime(long expiryTime) voidvoidvoidvoidvoid
-
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:
getExpiryTimein interfaceCookie
-
setExpiryTime
public void setExpiryTime(long expiryTime) - Specified by:
setExpiryTimein interfaceCookie
-
getComment
- Specified by:
getCommentin interfaceCookie
-
setComment
- Specified by:
setCommentin interfaceCookie
-
isSecure
public boolean isSecure() -
setSecure
public void setSecure() -
isPersistent
public boolean isPersistent()- Specified by:
isPersistentin interfaceCookie
-
setHttpOnly
public void setHttpOnly()- Specified by:
setHttpOnlyin interfaceCookie
-
isHttpOnly
public boolean isHttpOnly()- Specified by:
isHttpOnlyin interfaceCookie
-
clone
-