Apache JMeter
2.0.1.20050615

org.apache.jmeter.protocol.http.control
Class Cookie

java.lang.Object
  extended byorg.apache.jmeter.testelement.AbstractTestElement
      extended byorg.apache.jmeter.protocol.http.control.Cookie
All Implemented Interfaces:
Cloneable, Serializable, TestElement

public class Cookie
extends AbstractTestElement
implements Serializable

This class is a Cookie encapsulator.

Author:
Sean Dowd
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
Cookie()
          create the coookie
Cookie(String name, String value, String domain, String path, boolean secure, long expires)
          create the coookie
 
Method Summary
 void addConfigElement(ConfigElement config)
           
 boolean expectsModification()
           
 String getClassLabel()
           
 String getDomain()
          get the domain for this object.
 long getExpires()
          get the expires for this object.
 String getPath()
          get the path for this object.
 boolean getSecure()
          get the secure for this object.
 String getValue()
          get the value for this object.
 void setDomain(String domain)
          set the domain for this object.
 void setExpires(long expires)
          set the expires for this object.
 void setPath(String path)
          set the path for this object.
 void setSecure(boolean secure)
          set the secure for this object.
 void setValue(String value)
          set the value for this object.
 String toString()
          creates a string representation of this cookie
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cookie

public Cookie()
create the coookie


Cookie

public Cookie(String name,
              String value,
              String domain,
              String path,
              boolean secure,
              long expires)
create the coookie

Method Detail

addConfigElement

public void addConfigElement(ConfigElement config)

expectsModification

public boolean expectsModification()

getClassLabel

public String getClassLabel()

getValue

public String getValue()
get the value for this object.


setValue

public void setValue(String value)
set the value for this object.


getDomain

public String getDomain()
get the domain for this object.


setDomain

public void setDomain(String domain)
set the domain for this object.


getExpires

public long getExpires()
get the expires for this object.


setExpires

public void setExpires(long expires)
set the expires for this object.


getSecure

public boolean getSecure()
get the secure for this object.


setSecure

public void setSecure(boolean secure)
set the secure for this object.


getPath

public String getPath()
get the path for this object.


setPath

public void setPath(String path)
set the path for this object.


toString

public String toString()
creates a string representation of this cookie


Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.