Class Header
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,org.apache.jmeter.gui.Searchable,org.apache.jmeter.testelement.TestElement
public class Header extends AbstractTestElement implements Serializable
This class is an HTTP Header encapsulator.
-
-
Field Summary
Fields Modifier and Type Field Description public transient JMeterContextthreadContextpublic transient StringthreadNamepublic final static TestElement.CompanionCompanionpublic final static StringNAMEpublic final static StringGUI_CLASSpublic final static StringENABLEDpublic final static StringTEST_CLASSpublic final static StringCOMMENTS
-
Method Summary
Modifier and Type Method Description HeaderSchemagetSchema()PropertiesAccessor<out Header, out HeaderSchema>getProps()voidaddConfigElement(ConfigElement config)booleanexpectsModification()StringgetName()Get the name for this object. voidsetName(String name)Set the name for this object. StringgetValue()Get the value for this object. voidsetValue(String value)Set the value for this object. StringtoString()Creates a string representation of this header. -
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse -
Methods inherited from class org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getString, removed, set -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSchema
HeaderSchema getSchema()
-
getProps
PropertiesAccessor<out Header, out HeaderSchema> getProps()
-
addConfigElement
void addConfigElement(ConfigElement config)
-
expectsModification
boolean expectsModification()
-
setName
void setName(String name)
Set the name for this object.
- Parameters:
name- the name of this header
-
setValue
void setValue(String value)
Set the value for this object.
- Parameters:
value- the value of this header
-
-
-
-