Apache JMeter
2.1.1

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

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

public class Header
extends AbstractTestElement
implements Serializable

This class is an HTTP Header encapsulator.

Version:
$Revision: 1.11 $ last updated $Date: 2005/07/12 20:50:46 $
Author:
Giacomo Pati
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
Header()
          Create the header.
Header(String name, String value)
          Create the coookie.
 
Method Summary
 void addConfigElement(ConfigElement config)
           
 boolean expectsModification()
           
 String getClassLabel()
           
 String getName()
          Get the name for this object.
 String getValue()
          Get the value for this object.
 void setName(String name)
          Set the name for this object.
 void setValue(String value)
          Set the value for this object.
 String toString()
          Creates a string representation of this header.
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, 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

Header

public Header()
Create the header.


Header

public Header(String name,
              String value)
Create the coookie.

Method Detail

addConfigElement

public void addConfigElement(ConfigElement config)

expectsModification

public boolean expectsModification()

getClassLabel

public String getClassLabel()

getName

public String getName()
Get the name for this object.

Overrides:
getName in class AbstractTestElement

setName

public void setName(String name)
Set the name for this object.

Overrides:
setName in class AbstractTestElement

getValue

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


setValue

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


toString

public String toString()
Creates a string representation of this header.


Apache JMeter
2.1.1

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