| java.lang.Object org.apache.jmeter.testelement.AbstractTestElement org.apache.jmeter.protocol.http.control.Cookie
Constructor Summary | |
public | Cookie() | public | Cookie(String name, String value, String domain, String path, boolean secure, long expires) | public | Cookie(String name, String value, String domain, String path, boolean secure, long expires, boolean hasPath, boolean hasDomain) |
Cookie | public Cookie()(Code) | | create the coookie
|
Cookie | public Cookie(String name, String value, String domain, String path, boolean secure, long expires)(Code) | | create the coookie
Parameters: expires - - this is in seconds |
Cookie | public Cookie(String name, String value, String domain, String path, boolean secure, long expires, boolean hasPath, boolean hasDomain)(Code) | | create the coookie
Parameters: expires - - this is in seconds Parameters: hasPath - - was the path explicitly specified? Parameters: hasDomain - - was the domain explicitly specified? |
getDomain | public synchronized String getDomain()(Code) | | get the domain for this object.
|
getExpires | public synchronized long getExpires()(Code) | | get the expiry time for the cookie
Expiry time in seconds since the Java epoch |
getExpiresMillis | public synchronized long getExpiresMillis()(Code) | | get the expiry time for the cookie
Expiry time in milli-seconds since the Java epoch, i.e. same as System.currentTimeMillis() |
getPath | public synchronized String getPath()(Code) | | get the path for this object.
|
getSecure | public synchronized boolean getSecure()(Code) | | get the secure for this object.
|
getValue | public synchronized String getValue()(Code) | | get the value for this object.
|
isDomainSpecified | public boolean isDomainSpecified()(Code) | | |
isPathSpecified | public boolean isPathSpecified()(Code) | | |
setDomain | public synchronized void setDomain(String domain)(Code) | | set the domain for this object.
|
setDomainSpecified | public void setDomainSpecified(boolean b)(Code) | | |
setExpires | public synchronized void setExpires(long expires)(Code) | | set the expiry time for the cookie
Parameters: expires - - expiry time in seconds since the Java epoch |
setPath | public synchronized void setPath(String path)(Code) | | set the path for this object.
|
setPathSpecified | public void setPathSpecified(boolean b)(Code) | | |
setSecure | public synchronized void setSecure(boolean secure)(Code) | | set the secure for this object.
|
setValue | public synchronized void setValue(String value)(Code) | | set the value for this object.
|
toString | public String toString()(Code) | | creates a string representation of this cookie
|
|
|